I was recently working on fuzzylite a great contribution to this whole world by Juan Rada-Vilela for which I thank him alot. So I had to figure out how to run it on Eclipse IDE Kepler for C/C++ developers and after successfully running it I wanted to share it with you guys.
1.) Make a new C/C++ project in Eclipse IDE.
2.) Right click and click on Properties.
3.) Under the C/C++ General tab choose Paths and Symbols.
4.) In the very first tab of Includes choose under Languages the GNU C++ tab in directories click Add where you have to give the path of fuzzylite src folder.
5.) Now in the consequent Libraries tab click on Add and write the “fuzzylite” and do choose the checkbox Add to all configurations.
6.) Now in the consequent tab Libraries Path click on Add and give the path where libfuzzylite.so lib is placed and do choose the checkbox Add to all configurations.
7) Last but not the least there is a final step, In Run Configurations you have to add new Environment variable which has the path where libfuzzylite.so lib is placed see screen shot step 4 for reference. Thanks all.
thank you very much for your kind words and details setting up fuzzylite in Eclipse.
To complement your details, I think the Environment variable (step 7) is not necessary. As long as the Library Path points to where libfuzzylite.so (fuzzylite.dll) can be found, it should not be necessary to set an environment variable.
Also, if you prefer to use static linking, you can use “fuzzylite-static” in the libraries tab and then the library will be included inside your executable, for which you would not need to include any fuzzylite library files.