home Forums # Technical Support Compiling with different compiler(BCC) Reply To: Compiling with different compiler(BCC)

#1391

Hi,

The error you are having is that the compiler cannot find the file fl/Headers.h, as shown in first line:

AllTerms.cpp:1:24: fl/Headers.h: No such file or directory

To fix this, you need to make sure you properly set the INCLUDE_PATH to the fuzzylite folder containing the subfolderfl. Usually, you can achieve this from command line like this:

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

It might be easier to find out if CMake can compile fuzzylite using BCC, hence you could use the scripts to build the debug and release binaries.