home Forums # Technical Support fuzzylite in Eclipse

This topic contains 3 replies, has 4 voices, and was last updated by ttdat235 ttdat235 13 hours, 12 minutes ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #922
    jashanjotsingh
    jashanjotsingh
    Participant

    Hello Everybody!!

    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.

    Steps:

    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.

    Click Here To See Snapshots

    #923
    Juan Rada-Vilela
    Juan Rada-Vilela
    Keymaster

    Hi,

    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.

    Thanks again for the details of your post 🙂

    #2616

    behnam
    Participant

    hello Scientists,
    please upload a video from run fuzzylite and test example in latest version of omnet++ or eclipse
    With special thanks

    #2624
    ttdat235
    ttdat235
    Participant

    Hi,
    I’ve tried those settings and faced some errors.
    I present the steps and what happened in these following pictures.
    Please help me finding some solutions.
    Thanks.

    p/s: I’ve already built using CMakeLists.txt provided in examples/application

    Step 1
    Step 2
    Step 3
    Step 4
    Errors

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.