Seleucids Posted 16 hours ago Report Share Posted 16 hours ago I am trying to build the latest version of the game, but I encounter nvtt build error when compilling libraries: $ ./build-source-libs.sh -j28 Building third-party dependencies... Building CxxTest... Skipping - already built (use --force-rebuild to override) Building FCollada... Skipping - already built (use --force-rebuild to override) Building NVTT... Building NVTT... CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -- Configuring incomplete, errors occurred! ERROR: NVTT build failed I do have cmake installed at version 4.0.0-1: extra/cmake 4.0.0-1 (12.0 MiB 78.8 MiB) (Installed) A cross-platform open-source make system Quote Link to comment Share on other sites More sharing options...
Seleucids Posted 16 hours ago Author Report Share Posted 16 hours ago (edited) I tried to build libraries with NVTT included but this error will occur when i am making: $ make -j28 ... ../../../source/graphics/TextureConverter.cpp:37:10: fatal error: nvtt/nvtt.h: No such file or directory 37 | #include "nvtt/nvtt.h" | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [graphics.make:546: obj/graphics_Release/TextureConverter.o] Error 1 make[1]: *** Waiting for unfinished jobs.... JSInterface_Console.cpp ScenarioEditor.cpp ../../../source/ps/GameSetup/HWDetect.cpp:62:10: fatal error: nvtt/nvtt.h: No such file or directory 62 | #include "nvtt/nvtt.h" ... @real_tabasco_sauce this problem is preventing me from testing out your patch. This is for the latest A28 source code. Edited 16 hours ago by Seleucids Quote Link to comment Share on other sites More sharing options...
Stan` Posted 13 hours ago Report Share Posted 13 hours ago Your Cmake is too recent. You might get away by editing the cmake file for nvtt and change the version there. 1 Quote Link to comment Share on other sites More sharing options...
Seleucids Posted 3 hours ago Author Report Share Posted 3 hours ago 10 hours ago, Stan` said: Your Cmake is too recent. You might get away by editing the cmake file for nvtt and change the version there. Sadly this didn't work and resulted in a cascading follow up errors. I suspect conda environments are the cause and I am going to try to do it with a new system user. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.