1
C / Linker problems; mingw gcc, Windows
« on: February 02, 2010, 08:06:09 pm »
Oh dear, I should have noticed. :)
Thanks!
Thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
gcc -c sfml.c
gcc -o sfml.exe sfml.o -Lc:\user\downloads\SFML-1.5\CSFML\lib\mingw\ -lsfml-graphics -lsfml-window -lsfml-system
C:\user\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\
ld.exe: cannot find -lsfml-graphics
collect2: ld returned 1 exit status
C:\user\tests>gcc sfml.c -o sfml.exe -lsfml-graphics -lsfml-window -lsfml-system