home Forums # Technical Support Installation Error Ubuntu

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

    I would like to use fuzzylite with ns3. I will have to install fuzzylite first then link it with ns3.

    but I am facing errors installing it

    ./build.sh all
    Building schedule: all
    Starting in 3 seconds…

    ******************************
    STARTING: all
    — The CXX compiler identification is GNU
    — Check for working CXX compiler: /usr/bin/c++
    — Check for working CXX compiler: /usr/bin/c++ — works
    — Detecting CXX compiler ABI info
    — Detecting CXX compiler ABI info – done
    Unix
    CMake Error at CMakeLists.txt:89 (cmake_policy):
    Policy “CMP0015” is not known to this version of CMake.

    =====================================
    fuzzylite v.5.0b1408

    FL_USE_FLOAT=OFF
    FL_BACKTRACE=ON
    FL_CPP11=OFF
    Build=Debug
    =====================================

    — Configuring incomplete, errors occurred!
    make: *** No targets specified and no makefile found. Stop.
    — The CXX compiler identification is GNU
    — Check for working CXX compiler: /usr/bin/c++
    — Check for working CXX compiler: /usr/bin/c++ — works
    — Detecting CXX compiler ABI info
    — Detecting CXX compiler ABI info – done
    Unix
    CMake Error at CMakeLists.txt:89 (cmake_policy):
    Policy “CMP0015” is not known to this version of CMake.

    =====================================
    fuzzylite v.5.0b1408

    FL_USE_FLOAT=OFF
    FL_BACKTRACE=ON
    FL_CPP11=OFF
    Build=Release
    =====================================

    — Configuring incomplete, errors occurred!
    make: *** No targets specified and no makefile found. Stop.

    FINISHED: all
    ******************************

    rania@rania-laptop:~/Downloads/Fuzzylite/fuzzylite-5.0/fuzzylite-5.0/fuzzylite$ cmake .
    — The CXX compiler identification is GNU
    — Check for working CXX compiler: /usr/bin/c++
    — Check for working CXX compiler: /usr/bin/c++ — works
    — Detecting CXX compiler ABI info
    — Detecting CXX compiler ABI info – done
    Unix
    CMake Error at CMakeLists.txt:89 (cmake_policy):
    Policy “CMP0015” is not known to this version of CMake.

    =====================================
    fuzzylite v.5.0b1408

    FL_USE_FLOAT=OFF
    FL_BACKTRACE=OFF
    FL_CPP11=OFF
    Build=
    =====================================

    — Configuring incomplete, errors occurred!
    rania@rania-laptop:~/Downloads/Fuzzylite/fuzzylite-5.0/fuzzylite-5.0/fuzzylite$ ^C
    rania@rania-laptop:~/Downloads/Fuzzylite/fuzzylite-5.0/fuzzylite-5.0/fuzzylite$ cmake .
    Unix
    CMake Error at CMakeLists.txt:89 (cmake_policy):
    Policy “CMP0015” is not known to this version of CMake.

    =====================================
    fuzzylite v.5.0b1408

    FL_USE_FLOAT=OFF
    FL_BACKTRACE=OFF
    FL_CPP11=OFF
    Build=
    =====================================

    — Configuring incomplete, errors occurred!

    #2193

    Hi,

    I checked the CMakeLists.txt and I could not find the CMP0015 policy. Have you modified the CMakeLists.txt file?

    Anyway, if this is the problem, just remove the if check in CMakeLists.txt that mentions CMP0015.

    Make sure you are running a not-too-old version of CMake.

    Cheers.

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