home Forums # Technical Support Problem with linking fuzzylite Reply To: Problem with linking fuzzylite

#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