home Forums # Technical Support Error when build fuzzylite v5 in ubuntu 12.04 64 bit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1425
    Unknown
    Member

    I downloaded the fuzzylite from github and try to build it follow the userguide in INSTALL file, but I got the error
    CMakeFiles/fl-shared.dir/src/Console.cpp.o: In functionfl::Console::benchmarkExamples(int)’:
    /home/merg/fuzzylite/fuzzylite/src/Console.cpp:730: undefined reference to `clock_gettime’
    /home/merg/fuzzylite/fuzzylite/src/Console.cpp:732: undefined reference to `clock_gettime’
    collect2: ld returned 1 exit status
    make[2]: *** [bin/libfuzzylited.so] Error 1
    make[1]: *** [CMakeFiles/fl-shared.dir/all] Error 2
    make: *** [all] Error 2`

    How I can solve this problem?
    Please help me!

    #1429

    Hi,

    Are you building in Cygwin?

    Ubuntu is the primary OS upon which I build FuzzyLite as often as I do, and it builds just fine.

    Can you check you have included the necessary development files on your system? Perhaps, sudo apt-get install g++?

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