SFML community forums
Help => General => Topic started by: panithadrum on November 19, 2009, 09:28:51 am
-
I make build.bat work (just had to add codeblocks path to the PATH), but it seems not to compile sfml-main. Build.bat looks fine... maybe it fails somewhere copying files.
Is it just me? :o
EDIT: Also, I can't link with the static librariesn\sfml2\lib\mingw\libsfml-graphics-s.a(RenderTarget.o):RenderTarget.cpp:(.text+0x289)||undefined reference to `_glClearColor@16'|
and more than 50 lines like this...
Any idea? (the console window tells me that it couldn't copy some files because they were in use)
-
sfml-main is not in build.bat, I don't think. Also, if you are on Linux, you don't need sfml-main.
For linking with static libraries, add -lGL to your Linker options for Linux, and -lopengl32 for Win32.
-
sfml-main is not in build.bat
It should, build.bat just uses the Code::Blocks project files so the targets are the same.
For linking with static libraries, add -lGL to your Linker options for Linux, and -lopengl32 for Win32.
No, build.bat is supposed to take care of that.
I really don't know why it's not working for you, I have no problem with the batch build.