In case it helps here is the CMake output:
d:\GitClones\Github\Cura\libArcus\build>cmake -DCMAKE_INSTALL_PREFIX=../install_dir -DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC% -DPROTOBUF_LIBRARY=%PROTOBUF_INSTALL%/lib/libprotobuf.lib -DPROTOBUF_INCLUDE_DIR=%PROTOBUF_INSTALL%/include -DPROTOBUF_PROTOC_EXECUTABLE=%PROTOBUF_INSTALL%/bin/protoc.exe -DBUILD_EXAMPLES=OFF -DBUILD_STATIC=ON -DMSVC_STATIC_RUNTIME=ON -DCMAKE_C_COMPILER_WORKS=1 -DCMAKE_CXX_COMPILER_WORKS=1 -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" .. -- The C compiler identification is MSVC 19.0.24215.1 -- The CXX compiler identification is MSVC 19.0.24215.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Detecting CXX compile features -- Detecting CXX compile features - failed CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.17/Modules/GNUInstallDirs.cmake:225 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): CMakeLists.txt:4 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMakeLists.txt:19 (set): implicitly converting '' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. -- Found Protobuf: E:\Software\Dev\Cura\protobuf-3.0.0\install_dir\/lib/libprotobuf.lib (found suitable version "3.0.0", minimum required is "3.0.0") -- Found Python3: C:/Program Files (x86)/Python3/python.exe (found suitable version "3.6.4", minimum required is "3.4") found components: Interpreter Development -- Found SIP: C:/Program Files (x86)/Python3/sip.exe (found version "4.19.22") -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Failed -- Configuring done -- Generating done -- Build files have been written to: D:/GitClones/Github/Cura/libArcus/build
Edited by Protopia
Recommended Posts
Protopia 0
Actually, CMake for libCharon works fine. But NMake still fails.
Link to post
Share on other sites