Hello. I need help compile a SDL library - Raspberry Pi Forums


hello everyone! i'm programmer , started working raspberry pi. i'm having problem when compiling sdl2 library.i made simple c program using gcc compiler, of reference error. appears informções below.

. main.c :( text + 0xc): undefined reference 'sdl_init'
. main.c :( text + 0xc): undefined reference 'sdl_quit'

below command i'm using compile

#gcc main.c -o test

can give me solution compiling corretamentre?

thanks,



raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code