home Forums # Technical Support error in running example of fuzzylogic

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1502
    Unknown
    Member

    Hey,
    I have generated all the binaries and now i am trying to make a fuzzy engine. but i am having a error when i run following command. how to fix this error.

    g++ mam22.cpp -Ifuzzylite -L/home/sherry/Desktop/fuzzylite-5.0/fuzzylite/debug/bin -lfuzzylite-static

    Error:

    mam22.cpp:1:24: fatal error: fl/Headers.h: No such file or directory
    #include <fl/Headers.h>
    ^
    compilation terminated.

    #1503

    Hi,

    Please, make sure that the file fl/Headers.h is accessible from -Ifuzzylite, that is, ./fuzzylite/fl/Headers.h should be accessible from wherever you are running g++ mam22.cpp -Ifuzzylite -L/home/sherry/Desktop/fuzzylite-5.0/fuzzylite/debug/bin -lfuzzylite-static.

    Cheers.

    #1505
    Unknown
    Member

    Hey,
    How can i make sure is it accessible or not. Header.h is available in folder named “fl” so why i am having this error?

    #1508

    Hi,

    if you are located in /home/sherry/myFolder, and you execute:
    g++ mam22.cpp -Ifuzzylite -L/home/sherry/Desktop/fuzzylite-5.0/fuzzylite/debug/bin -lfuzzylite-static

    then the -Ifuzzylite (i.e., include folder fuzzylite) requires that the following file exist:

    /home/sherry/myFolder/fuzzylite/fl/Headers.h

    Is this clearer?

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