Menu

cmake configure error

pppizza
2015-02-03
2015-02-05
  • pppizza

    pppizza - 2015-02-03

    I download the newest version brlcad 7.24.2 and cmake 3.1.1, run "cmake ../brlcad-7.24.2 -Wno-dev" and got error:


    Configuring BRL-CAD Release 7.24.2, Build 20150203
    **********
    -- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE)
    -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
    CMake Error at CMakeLists.txt:467 (_message):
    Attempting to ignore non-existent file INTERFACE, in directory
    /home/pizza/src/brlcad/brlcad-7.24.2/src/other/xmltools/libxml
    Call Stack (most recent call first):
    misc/CMake/BRLCAD_CMakeFiles.cmake:137 (message)
    CMakeLists.txt:386 (CMAKEFILES)
    /usr/local/share/cmake-3.1/Modules/FindThreads.cmake:207 (add_library)
    src/other/xmltools/libxml/CMakeLists.txt:10 (FIND_PACKAGE)

    is java needed or other reason?

     
  • Sean Morrison

    Sean Morrison - 2015-02-05

    The Java lines actually have nothing to do with the error, which is in the middle there:

    CMake Error at CMakeLists.txt:467 (_message):
    Attempting to ignore non-existent file INTERFACE, in directory
    /home/pizza/src/brlcad/brlcad-7.24.2/src/other/xmltools/libxml

    Thanks for reporting!

     

Log in to post a comment.