UBUNTU-LINUX 14.4 SFML2.1
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 http://sfml-dev.org/tutorials/2.1/start-linux.php 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)
go to the bottom and click in properties and screen will look like
click in setting under C/C++ building . after the click screen will looks like
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.