Ok so I am trying to link SFML in a CodeLite project but with no success. So what have I done :
- Added the include folder of SFML to the IncludePaths of CodeLite.
- Added the lib folder of SFML to the LibrariesSearchPath of CodeLite.
Added SFML_STATIC to Preprocessors in CodeLite.
Added the libraries to the LinkerOptions like this :
sfml-graphics;sfml-window;sfml-audio;sfml-network;sfml-system
Added the 5 dll's(sfml-graphics-2.dll.. etc) to the debug folder and to the project folder
This is the build log :
C:\WINDOWS\system32\cmd.exe /C ""E:/Program Files (x86)/CodeBlocks/MinGW /bin/mingw32-make.exe" -j4 SHELL=cmd.exe -e -f Makefile""
"----------Building project:[ Test - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'F:/Dropbox/Programming/OpenGL/Test'
"E:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe" -o ./Debug/Test @"Test.txt" -L. -LF:/Dropbox/Programming/SFML/SFML-2.3.2x86/lib sfml-graphics sfml-window sfml-audio sfml-network sfml-system
g++.exe: error: sfml-graphics: No such file or directory
g++.exe: error: sfml-window: No such file or directory
g++.exe: error: sfml-audio: No such file or directory
g++.exe: error: sfml-network: No such file or directory
g++.exe: error: sfml-system: No such file or directory
mingw32-make.exe[1]: *** [Debug/Test] Error 1
Test.mk:78: recipe for target 'Debug/Test' failed
mingw32-make.exe[1]: Leaving directory 'F:/Dropbox/Programming/OpenGL/Test'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====
I am using CodeLite 9.0.9 and SFML-2.3.2x86.