![]() ![]() When gcc / mingw is in the path then everything works fine. Configuring incomplete, errors occurred! You probably need to select a different build tool.ĬMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.ĬMake Error: Could not find cmake module file:D:/Development/build/CMakeFiles/CMakeCCompiler.cmakeĬMake Error: Could not find cmake module file:D:/Development/build/CMakeFiles/CMakeCXXCompiler.cmakeĬMake Error: CMAKE_C_COMPILER not set, after EnableLanguageĬMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage \sourceĬMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". If the PATH is not set up correctly it will fail with something like:ĭ:\Development\build>cmake -G "Unix Makefiles". This is not what I get, when I run the same command, cmake will look for a gcc compiler / make utility. This is surely not the most elegant solution, though -) Maybe use a batch file that will actually execute the cmake -G generator for the user. source afterwards, it will use the generator as specified in the CMAKE_GENERATOR variable in the cache. The variable CMAKE_GENERATOR is stored in the cache, though. source (without -G) the default generator is used. In CMakeLists.txt, then in the very first run of cmake. If you use something like set(CMAKE_GENERATOR "Ninja" CACHE INTERNAL "" FORCE) ![]() So the variable is only set at the very end of the generation procedure. Build files have been written to: /tmp/build The C compiler identification is GNU 4.9.2 You can see in the output something like % cmake. I did a rerun of CMake and even started completely from scratch by deleting and re-creating my build directory. If you use (even at the beginning of CMakeLists.txt) set(CMAKE_GENERATOR "Ninja") See also "/mnt/c/PS5SDK/CMakeFiles/CMakeError.log".ĪBI info - failed, do I need anything else?Įdit: With the build.sh script comes the same error.It seems to me that the variable CMAKE_GENERATOR is set too late if set in the CMakeLists.txt. See also "/mnt/c/PS5SDK/CMakeFiles/CMakeOutput.log". :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |