streamspan Posted September 5, 2020 Share Posted September 5, 2020 I'm new for Torque3D, just git clone the source, want to compile it using CMake and MSVC.CMake - 3.17.4Configuration process generates following with error in the end.CMakeOutput.log and CMakeError.log are also attached.The C compiler identification is MSVC 19.27.29111.0The CXX compiler identification is MSVC 19.27.29111.0Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exeCheck for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - worksDetecting C compiler ABI infoDetecting C compiler ABI info - doneDetecting C compile featuresDetecting C compile features - doneCheck for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exeCheck for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - worksDetecting CXX compiler ABI infoDetecting CXX compiler ABI info - doneDetecting CXX compile featuresDetecting CXX compile features - doneCMake Warning (dev) at Tools/CMake/basics.cmake:403 (set): implicitly converting 'TYPE' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:26 (include)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:406 (set): implicitly converting 'TYPE' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:26 (include)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:413 (set): implicitly converting 'TYPE' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:26 (include)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:367 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:368 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:369 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:370 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.Looking for sys/types.hLooking for sys/types.h - foundLooking for stdint.hLooking for stdint.h - foundLooking for stddef.hLooking for stddef.h - foundCheck size of longCheck size of long - doneCheck size of long longCheck size of long long - donePerforming Test HAVE_STD_C11Performing Test HAVE_STD_C11 - FailedPerforming Test HAVE_STD_C99Performing Test HAVE_STD_C99 - FailedChecking _FILE_OFFSET_BITS for large filesChecking _FILE_OFFSET_BITS for large files - not neededPerforming Test HAVE_RESTRICTPerforming Test HAVE_RESTRICT - SuccessPerforming Test HAVE_INLINEPerforming Test HAVE_INLINE - SuccessPerforming Test HAVE_STRUCT_TIMESPECPerforming Test HAVE_STRUCT_TIMESPEC - SuccessPerforming Test HAVE_LIBATOMICPerforming Test HAVE_LIBATOMIC - FailedPerforming Test HAVE_C99_VLAPerforming Test HAVE_C99_VLA - FailedPerforming Test HAVE_C99_BOOLPerforming Test HAVE_C99_BOOL - SuccessPerforming Test HAVE_C11_STATIC_ASSERTPerforming Test HAVE_C11_STATIC_ASSERT - FailedPerforming Test HAVE_C11_ALIGNASPerforming Test HAVE_C11_ALIGNAS - FailedPerforming Test HAVE_C11_ATOMICPerforming Test HAVE_C11_ATOMIC - FailedPerforming Test HAVE_GCC_FORMATPerforming Test HAVE_GCC_FORMAT - FailedLooking for stdbool.hLooking for stdbool.h - foundLooking for stdalign.hLooking for stdalign.h - not foundLooking for malloc.hLooking for malloc.h - foundLooking for dirent.hLooking for dirent.h - not foundLooking for strings.hLooking for strings.h - not foundLooking for cpuid.hLooking for cpuid.h - not foundLooking for intrin.hLooking for intrin.h - foundLooking for sys/sysconf.hLooking for sys/sysconf.h - not foundLooking for fenv.hLooking for fenv.h - foundLooking for float.hLooking for float.h - foundLooking for ieeefp.hLooking for ieeefp.h - not foundLooking for guiddef.hLooking for guiddef.h - foundLooking for pow in mLooking for pow in m - not foundLooking for dlopen in dlLooking for dlopen in dl - not foundLooking for dlfcn.hLooking for dlfcn.h - not foundPerforming Test HAVE_CPUID_INTRINSICPerforming Test HAVE_CPUID_INTRINSIC - SuccessLooking for aligned_allocLooking for aligned_alloc - not foundLooking for posix_memalignLooking for posix_memalign - not foundLooking for _aligned_mallocLooking for _aligned_malloc - foundLooking for lrintfLooking for lrintf - foundLooking for modffLooking for modff - foundLooking for allocaLooking for alloca - foundLooking for _controlfpLooking for _controlfp - foundLooking for __control87_2Looking for __control87_2 - not foundLooking for statLooking for stat - foundLooking for strtofLooking for strtof - foundLooking for strcasecmpLooking for strcasecmp - not foundLooking for _stricmpLooking for _stricmp - foundLooking for strncasecmpLooking for strncasecmp - not foundLooking for _strnicmpLooking for _strnicmp - foundLooking for strnlenLooking for strnlen - foundLooking for snprintfLooking for snprintf - foundLooking for isfiniteLooking for isfinite - foundLooking for isnanLooking for isnan - foundLooking for windows.hLooking for windows.h - foundLooking for xmmintrin.hLooking for xmmintrin.h - foundLooking for emmintrin.hLooking for emmintrin.h - foundLooking for pmmintrin.hLooking for pmmintrin.h - foundLooking for smmintrin.hLooking for smmintrin.h - foundLooking for arm_neon.hLooking for arm_neon.h - not foundCould NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) Could NOT find OSS (missing: OSS_INCLUDE_DIR) Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR) Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) Could NOT find QSA (missing: QSA_LIBRARY QSA_INCLUDE_DIR) CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/CheckIncludeFiles.cmake:68 (message): Unknown arguments: -D_WIN32_WINNT=0x0502Call Stack (most recent call first): Engine/lib/openal-soft/CMakeLists.txt:938 (CHECK_INCLUDE_FILES)Configuring incomplete, errors occurred!See also "D:/600-Programming/100-repo/Torque3D/My Projects/CMake/CMakeFiles/CMakeOutput.log".See also "D:/600-Programming/100-repo/Torque3D/My Projects/CMake/CMakeFiles/CMakeError.log".CMakeError&Output.zipCMakeOutput.log and CMakeError.log Quote Link to comment Share on other sites More sharing options...
streamspan Posted September 5, 2020 Author Share Posted September 5, 2020 I also tried codeblock 20.03, with following message:The C compiler identification is GNU 8.1.0The CXX compiler identification is GNU 8.1.0Check for working C compiler: C:/Program Files/CodeBlocks/MinGW/bin/gcc.exeCheck for working C compiler: C:/Program Files/CodeBlocks/MinGW/bin/gcc.exe - worksDetecting C compiler ABI infoDetecting C compiler ABI info - doneDetecting C compile featuresDetecting C compile features - doneCheck for working CXX compiler: C:/Program Files/CodeBlocks/MinGW/bin/g++.exeCheck for working CXX compiler: C:/Program Files/CodeBlocks/MinGW/bin/g++.exe - worksDetecting CXX compiler ABI infoDetecting CXX compiler ABI info - doneDetecting CXX compile featuresDetecting CXX compile features - doneCMake Warning (dev) at Tools/CMake/basics.cmake:403 (set): implicitly converting 'TYPE' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:26 (include)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:406 (set): implicitly converting 'TYPE' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:26 (include)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:413 (set): implicitly converting 'TYPE' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:26 (include)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:367 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:368 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:369 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at Tools/CMake/basics.cmake:370 (set): implicitly converting 'INTEGER' to 'STRING' type.Call Stack (most recent call first): Tools/CMake/CMakeLists.txt:28 (setupVersionNumbers)This warning is for project developers. Use -Wno-dev to suppress it.Looking for sys/types.hLooking for sys/types.h - not foundLooking for stdint.hLooking for stdint.h - not foundLooking for stddef.hLooking for stddef.h - not foundCheck size of longCheck size of long - failedCheck size of long longCheck size of long long - failedPerforming Test HAVE_STD_C11Performing Test HAVE_STD_C11 - FailedPerforming Test HAVE_STD_C99Performing Test HAVE_STD_C99 - FailedChecking _FILE_OFFSET_BITS for large filesChecking _FILE_OFFSET_BITS for large files - not neededPerforming Test INLINE_IS_C99Performing Test INLINE_IS_C99 - FailedCMake Error at Engine/lib/openal-soft/CMakeLists.txt:175 (MESSAGE): Your compiler does not seem to have C99 inline semantics! Please update your compiler for better C99 compliance.Configuring incomplete, errors occurred!See also "D:/600-Programming/100-repo/Torque3D/My Projects/CMake/CMakeFiles/CMakeOutput.log".See also "D:/600-Programming/100-repo/Torque3D/My Projects/CMake/CMakeFiles/CMakeError.log".Error is :CMake Error at Engine/lib/openal-soft/CMakeLists.txt:175 (MESSAGE): Your compiler does not seem to have C99 inline semantics!Don't know how to fix this. Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted September 7, 2020 Share Posted September 7, 2020 There have been issues with some older and some newer cmake versions, why this happens I'm not entirely sure but newer versions are rare.also I belive the master branch itself is in conflict with cmake, also in case you are using the new archived repohttps://github.com/TorqueGameEngines/Torque3Dyou should probably be using the Preview4.0 branch which is default, or the development branch, master branch is dated and needs some of the development branch fixes pushing to it. 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.