Eclipse c/c++ keppler and SFML INSTALLATION

After more than 8 hours trying to run my first SFML apps from eclipse . finally i found the solution to the trobubles with my compilation.

1.Eclipse acknowledge the INCLUDE<SFML/Network> but when i compiled the file no one of the SFML instructions were acknowledge for the compiler.


After follow a lot of the old  advices. NONE work then I  started  to follow the instructions at to compile the program from the command line. the program compiled without errors . then this lead me to think that the only thing i need to do is add the libraries in the same way .

this is the procedure to include libraries at compilation time in eclipse.

1.go to project properties (right click over the name of the project and at the bottom  click in properties the screen will show)

Screenshot from 2014-06-07 01:32:35




go to the bottom and click in  properties and screen will look like

Screenshot from 2014-06-10 01:34:34






click in  setting under C/C++ building . after the click screen will looks like

Screenshot from 2014-06-10 01:38:48




click in the libraries options under minGW and under libraries add the library that you need and sfml-system (this file should be in /usr/lib/x86_64-linux-gnu folder ). make sure you fille up the path for the library where the lib files are.

In this way you can simulate the command line from eclipse. After all of this you compile your program without errors.






This entry was posted in ubuntu linux. Bookmark the permalink.

Leave a Reply