stevel Posted January 23, 2019 Share Posted January 23, 2019 I am trying to do a new CMake build of the engine with 3.10.1. I haven't used CMake before, and am encountering some errors that I could really use some help with.Background:Torque3D 3.10.1 fresh source download.CMake 3.13.3 Just downloaded the latest (Maybe I need a specific version?)I just downloading and reinstalled the June 2010 DXSDK, in case that was the issue.I'm using VS2017, and targeting VS2015, 64Bit. (Cause VS2017 is not listed.)Here's the last few lines from the CMake output window: I can post part of the CMakeOutput.log file, if necessary.)Looking 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.13/Modules/CheckIncludeFiles.cmake:63 (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 "C:/Torque/Torque3D-3.10.1/My Projects/ExtendSim3D/buildFiles/CMake/CMakeFiles/CMakeOutput.log".See also "C:/Torque/Torque3D-3.10.1/My Projects/ExtendSim3D/buildFiles/CMake/CMakeFiles/CMakeError.log". Quote Link to comment Share on other sites More sharing options...
Jason Campbell Posted January 24, 2019 Share Posted January 24, 2019 Hey Steve,Hope someone else will come along with more Microsoft experience...Is openal-soft installed and available?Try going back to a pre-3.11 version of CMAKE.Read this, almost the exact log output:https://github.com/Microsoft/vcpkg/issues/2985 Quote Link to comment Share on other sites More sharing options...
Duion Posted January 24, 2019 Share Posted January 24, 2019 I use VS 2015 and Cmake 3.7.1 and it works.Consider trying an older version, if you want to have a lazy solution, I had problems using too new software before.Otherwise we may need more information on what you have fabricated. Quote Link to comment Share on other sites More sharing options...
irei1as Posted January 24, 2019 Share Posted January 24, 2019 The name of the project can cause problems, too.Don't use "test" inside the name and avoid using spaces and see if it works. Quote Link to comment Share on other sites More sharing options...
stevel Posted January 24, 2019 Author Share Posted January 24, 2019 Thanks for the replies. Gonna try using an older version of cmake. Will post if it works. Quote Link to comment Share on other sites More sharing options...
stevel Posted January 24, 2019 Author Share Posted January 24, 2019 Thanks for your help, everyone, reverting cMake to 3.7.1 was the solution to my issue. Should not have grabbed the latest in the first place. 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.