home Forums # Technical Support Problem with linking fuzzylite

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1697
    Unknown
    Member

    Hi,

    The problem is when building file, I have this error (fuzzylite 4.0):

    /usr/bin/ld: cannot find -lfuzzylite

    I added libfuzzylite.so to LD_LIBRARY_PATH, but I still have the same problem.

    Thanks

    #1700

    Hi ngc,

    you need to add the path to libfuzzylite.so in LD_LIBRARY_PATH, not the library itself.

    At the end, the compiler should execute:

    g++ your.cpp -I/path/to/fuzzylite -L/path/to/fuzzylite/bin -lfuzzylite

    The structure in /path/to/fuzzylite must be:

    /path/to/fuzzylite/fl
    /path/to/fuzzylite/src
    /path/to/fuzzylite/bin

    It seems you are not setting up correctly the environment variables.

    Cheers

    #1701
    Unknown
    Member

    Problem solved,(of course not the library itself)

    It’s right, I haven’t setting up correctly my environment variables.

    Thanks for your response

    Cheers

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.