CodeLite forum,
I have been using CodeLite with SFML for some time on my windows 7 64 bit
system and now I'm trying to get it up on a Windows 7 32 bit system.
I'm using CoedLite 11.0.0. SFML-2.4.0 and TDM-GCC-32.
The basic "hello world" program compiles and runs fine until I add
#include <SFML/Graphics.hpp> Then I get an error saying
"SFML\Graphics.hpp: no such file or directory"
In the Compiler section of the setup file I have:
C:\SFML-2.4.0\include in Include Paths
SFML_STATIC in Preprocessers
In the Linker section of the setup file I have:
C:\SFML-2.4.0\lib in Library search Path
sfml-graphics;sfml-window;sfml-network;sfml-audio;sfml-system in Libraries
I have all the .dll files in the Debug folder.
I added SFML environment and system variables to windows just in case. Didn't help.
if I change <SFML/Graphics.hpp> to
<C:\SFML-2.4.0\include\SFML SFML/Graphics.hpp> it can find it
Then I add:
sf::RenderWindow window(sf::VideoMode(800,600) "window");
and get the error message:
undefined reference to `sf::String::String(char const*, std::locale const&)`
I have search the net for solutions but none have worked.
What am I missing?
Jerryd
[SOLVED] Compiling problem
-
- CodeLite Enthusiast
- Posts: 15
- Joined: Wed Oct 26, 2016 5:31 am
- Genuine User: Yes
- IDE Question: C++
- Contact: