yglukhov / nimx

GUI library
MIT License
1.09k stars 75 forks source link

does not compile on netbsd #359

Closed devosalain closed 5 years ago

devosalain commented 5 years ago

ld: cannot find -lSDL2 Even if SDL2 lib is installed.

eirenik0 commented 5 years ago

Same issue on Windows

yglukhov commented 5 years ago

Pretty sure there's something wrong with your sdl2 setup. Feel free to reopen if the following works for you but nimx doesn't:

echo "void main(){}" > test.c
gcc -lSDL2 test.c