I'm new here. I want to ask some help in the compiling issue.
I have:
1) PC is Intel(R) Core(TM) i5-2410M CPU @ 2.0 GHz 2.30 GHz.
2) NVIDIA GeForce GT 525M.
My enviroment:
1. Windows 7 SP1.
2. Visual Studio 2017 (15.5.5 version).
3. Cmake 3.10.2 (lastest stable version).
In short, what did I do:
- Cloned a development branch. Unfortunately I didn't find the version number.
- Followed this instruction. It didn't help me. CMake didn't configured.
- Then I tried this video instruction with the copy-past "Full" folder trick.
- Run CMake.
- Made a configuration and generation succesfully(but with lot of "not found" and "failed").
- Compiled in VS 2017 succesfully. But it didn't run because of exceptions.
- Realized that I didn't install DirectX Software Development Kit - DXSDK_Jun10.exe.
- Installed it.
- Deleted folder with a project.
- Made copy-past "Full" folder trick again.
- Run CMake.
- Made a configuration and generation succesfully(with a much less "not found" and "failed" at this time!).
Code: Select all
Selecting Windows SDK version 10.0.16299.0 to target Windows 6.1.7601. The C compiler identification is MSVC 19.12.25835.0 The CXX compiler identification is MSVC 19.12.25835.0 Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done Looking for sys/types.h Looking for sys/types.h - found Looking for stdint.h Looking for stdint.h - found Looking for stddef.h Looking for stddef.h - found Check size of long Check size of long - done Check size of long long Check size of long long - done Performing Test HAVE_STD_C11 Performing Test HAVE_STD_C11 - Failed Performing Test HAVE_STD_C99 Performing Test HAVE_STD_C99 - Failed Checking _FILE_OFFSET_BITS for large files Checking _FILE_OFFSET_BITS for large files - not needed Performing Test HAVE_RESTRICT Performing Test HAVE_RESTRICT - Failed Performing Test HAVE_INLINE Performing Test HAVE_INLINE - Success Performing Test HAVE_STRUCT_TIMESPEC Performing Test HAVE_STRUCT_TIMESPEC - Success Performing Test HAVE_LIBATOMIC Performing Test HAVE_LIBATOMIC - Failed Performing Test HAVE_C99_VLA Performing Test HAVE_C99_VLA - Failed Performing Test HAVE_C99_BOOL Performing Test HAVE_C99_BOOL - Success Performing Test HAVE_C11_STATIC_ASSERT Performing Test HAVE_C11_STATIC_ASSERT - Failed Performing Test HAVE_C11_ALIGNAS Performing Test HAVE_C11_ALIGNAS - Failed Performing Test HAVE_C11_ATOMIC Performing Test HAVE_C11_ATOMIC - Failed Using DirectX SDK directory: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/ Performing Test HAVE_GCC_FORMAT Performing Test HAVE_GCC_FORMAT - Failed Looking for stdbool.h Looking for stdbool.h - found Looking for stdalign.h Looking for stdalign.h - not found Looking for malloc.h Looking for malloc.h - found Looking for dirent.h Looking for dirent.h - not found Looking for strings.h Looking for strings.h - not found Looking for cpuid.h Looking for cpuid.h - not found Looking for intrin.h Looking for intrin.h - found Looking for sys/sysconf.h Looking for sys/sysconf.h - not found Looking for fenv.h Looking for fenv.h - found Looking for float.h Looking for float.h - found Looking for ieeefp.h Looking for ieeefp.h - not found Looking for guiddef.h Looking for guiddef.h - found Looking for pow in m Looking for pow in m - not found Looking for dlopen in dl Looking for dlopen in dl - not found Looking for dlfcn.h Looking for dlfcn.h - not found Performing Test HAVE_CPUID_INTRINSIC Performing Test HAVE_CPUID_INTRINSIC - Success Looking for aligned_alloc Looking for aligned_alloc - not found Looking for posix_memalign Looking for posix_memalign - not found Looking for _aligned_malloc Looking for _aligned_malloc - found Looking for lrintf Looking for lrintf - found Looking for modff Looking for modff - found Looking for alloca Looking for alloca - found Looking for _controlfp Looking for _controlfp - found Looking for __control87_2 Looking for __control87_2 - not found Looking for stat Looking for stat - found Looking for strtof Looking for strtof - found Looking for strcasecmp Looking for strcasecmp - not found Looking for _stricmp Looking for _stricmp - found Looking for strncasecmp Looking for strncasecmp - not found Looking for _strnicmp Looking for _strnicmp - found Looking for strnlen Looking for strnlen - found Looking for snprintf Looking for snprintf - found Looking for isfinite Looking for isfinite - found Looking for isnan Looking for isnan - found Looking for windows.h Looking for windows.h - found Looking for xmmintrin.h Looking for xmmintrin.h - found Looking for emmintrin.h Looking for emmintrin.h - found Looking for pmmintrin.h Looking for pmmintrin.h - found Looking for smmintrin.h Looking for smmintrin.h - found Looking for arm_neon.h Looking for arm_neon.h - not found Could 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) Looking for include files windows.h, mmsystem.h Looking for include files windows.h, mmsystem.h - found Looking for waveOutOpen in winmm Looking for waveOutOpen in winmm - found Found DSound: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/lib/x86/dsound.lib Looking for mmdeviceapi.h Looking for mmdeviceapi.h - found Could NOT find PortAudio (missing: PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR) Could NOT find PulseAudio (missing: PULSEAUDIO_LIBRARY PULSEAUDIO_INCLUDE_DIR) Could NOT find JACK (missing: JACK_LIBRARY JACK_INCLUDE_DIR) Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h - not found Building OpenAL with support for the following backends: WinMM, DirectSound, MMDevApi, WaveFile, Null Building with support for CPU extensions: Default, SSE, SSE2, SSE3, SSE4.1 Looking for include file inttypes.h Looking for include file inttypes.h - found Looking for include file stdint.h Looking for include file stdint.h - found Looking for include file sys/types.h Looking for include file sys/types.h - found Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 0.4.1 :: 4 :: 1 :: 4 :: 2.0 Performing Test HAVE_WIN32_CC Performing Test HAVE_WIN32_CC - Success Performing Test HAVE_XINPUT_H Performing Test HAVE_XINPUT_H - Success Looking for d3d9.h Looking for d3d9.h - found Looking for d3d11_1.h Looking for d3d11_1.h - found Looking for ddraw.h Looking for ddraw.h - found Looking for dsound.h Looking for dsound.h - found Looking for dinput.h Looking for dinput.h - found Looking for xaudio2.h Looking for xaudio2.h - not found Looking for dxgi.h Looking for dxgi.h - found SDL2 was configured with the following options: Platform: Windows-6.1.7601 64-bit: TRUE Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe Subsystems: Atomic: ON Audio: ON Video: ON Render: ON Events: ON Joystick: ON Haptic: ON Power: ON Threads: ON Timers: ON File: ON Loadso: ON CPUinfo: ON Filesystem: ON Dlopen: ON Options: 3DNOW (Wanted: ON): OFF ALSA (Wanted: OFF): OFF ALSA_SHARED (Wanted: OFF): OFF ALTIVEC (Wanted: ON): OFF ARTS (Wanted: OFF): OFF ARTS_SHARED (Wanted: OFF): OFF ASSEMBLY (Wanted: ON): OFF ASSERTIONS (Wanted: auto): auto CLOCK_GETTIME (Wanted: OFF): OFF DIRECTFB_SHARED (Wanted: OFF): OFF DIRECTX (Wanted: ON): ON DISKAUDIO (Wanted: ON): ON DUMMYAUDIO (Wanted: ON): ON ESD (Wanted: OFF): OFF ESD_SHARED (Wanted: OFF): OFF FUSIONSOUND (Wanted: OFF): OFF FUSIONSOUND_SHARED (Wanted: OFF): OFF GCC_ATOMICS (Wanted: OFF): OFF INPUT_TSLIB (Wanted: OFF): OFF LIBC (Wanted: OFF): OFF MIR_SHARED (Wanted: OFF): OFF MMX (Wanted: ON): OFF NAS (Wanted: OFF): OFF NAS_SHARED (Wanted: OFF): OFF OSS (Wanted: OFF): OFF PTHREADS (Wanted: OFF): OFF PTHREADS_SEM (Wanted: OFF): OFF PULSEAUDIO (Wanted: OFF): OFF PULSEAUDIO_SHARED (Wanted: OFF): OFF RENDER_D3D (Wanted: ON): ON RPATH (Wanted: OFF): OFF SDL_DLOPEN (Wanted: ON): OFF SDL_STATIC_PIC (Wanted: OFF): OFF SNDIO (Wanted: OFF): OFF SSE (Wanted: ON): ON SSE2 (Wanted: ON): ON SSEMATH (Wanted: ON): OFF VIDEO_COCOA (Wanted: OFF): OFF VIDEO_DIRECTFB (Wanted: OFF): OFF VIDEO_DUMMY (Wanted: ON): ON VIDEO_MIR (Wanted: OFF): OFF VIDEO_OPENGL (Wanted: ON): ON VIDEO_OPENGLES (Wanted: ON): ON VIDEO_RPI (Wanted: OFF): OFF VIDEO_VIVANTE (Wanted: OFF): OFF VIDEO_WAYLAND (Wanted: OFF): OFF VIDEO_WAYLAND_QT_TOUCH (Wanted: OFF): OFF VIDEO_X11 (Wanted: OFF): OFF VIDEO_X11_XCURSOR (Wanted: OFF): OFF VIDEO_X11_XINERAMA (Wanted: OFF): OFF VIDEO_X11_XINPUT (Wanted: OFF): OFF VIDEO_X11_XRANDR (Wanted: OFF): OFF VIDEO_X11_XSCRNSAVER (Wanted: OFF): OFF VIDEO_X11_XSHAPE (Wanted: OFF): OFF VIDEO_X11_XVM (Wanted: OFF): OFF WAYLAND_SHARED (Wanted: OFF): OFF X11_SHARED (Wanted: OFF): OFF CFLAGS: /DWIN32 /D_WINDOWS /W3 /DWIN32 /D_WINDOWS /W3 /GR /EHsc -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS /MP /O2 /Ob2 /Oi /Ot /Oy /GT /Zi /W4 /nologo /GF /EHsc /GS- /Gy- /Qpar- /fp:precise /fp:except- /GR /Zc:wchar_t- EXTRA_CFLAGS: EXTRA_LDFLAGS: EXTRA_LIBS: user32;gdi32;winmm;imm32;ole32;oleaut32;version;uuid;dinput8 Build Shared Library: ON Build Static Library: OFF writing E:/Torque3D/Torque3D/My Projects/newFull/source/torqueConfig.h Prepare Template(Full) install... Configuring done
- Compiled in VS 2017.
- Run. Falid because of exceptions again.
Thank you for help!