-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
I have used cmake from MSYS2 command prompt to build the project by this way:
cmake -G "MinGW Makefiles" -S ./ -B build_folder
However aparentelly it runs without errors:
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/msys64/usr/bin/cc.exe
-- Check for working C compiler: C:/msys64/usr/bin/cc.exe - works
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/msys64/usr/bin/c++.exe
-- Check for working CXX compiler: C:/msys64/usr/bin/c++.exe - works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:20 (message):
Build type is not set, using Debug by default
-- Version: 6.2.1
-- Build type: Debug
-- CXX_STANDARD: 17
-- Performing Test has_std_17_flag
-- Performing Test has_std_17_flag - Success
-- Performing Test has_std_1z_flag
-- Performing Test has_std_1z_flag - Success
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Performing Test FMT_HAS_VARIANT
-- Performing Test FMT_HAS_VARIANT - Success
-- Required features: cxx_variadic_templates
-- Looking for _strtod_l
-- Looking for _strtod_l - not found
CMake Deprecation Warning at submodules/bullet3/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found OpenGL: opengl32
OPENGL FOUND
opengl32glu32
-- Shared libraries disabled
-- compiling zlib from sources
-- 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 off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Applying MinGW StepFileGen1.cpp Debug Workaround
-- Enabled importer formats: AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXF CSM HMP IRRMESH IQM IRR LWO L
WS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW
SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD
-- Disabled importer formats:
-- Enabled exporter formats: OBJ OPENGEX PLY 3DS ASSBIN ASSXML M3D COLLADA FBX STL X X3D GLTF 3MF PB
RT ASSJSON STEP
-- Disabled exporter formats:
-- Treating all warnings as errors (for assimp library only)
CMake Deprecation Warning at submodules/glew/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Performing Test EASTL_HAS_FCHAR8T_FLAG
-- Performing Test EASTL_HAS_FCHAR8T_FLAG - Success
-- Performing Test EASTL_HAS_ZCCHAR8T_FLAG
-- Performing Test EASTL_HAS_ZCCHAR8T_FLAG - Failed
CMake Warning (dev) at C:/msys64/mingw64/share/cmake/Modules/GNUInstallDirs.cmake:243 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
-- Performing Test HAVE_MFPU_NEON_SWITCH - Failed
-- 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
-- Performing Test HAVE_SSE_INTRINSICS
-- Performing Test HAVE_SSE_INTRINSICS - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for intrin.h
-- Looking for intrin.h - found
-- Looking for guiddef.h
-- Looking for guiddef.h - found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Performing Test HAVE_CPUID_INTRINSIC
-- Performing Test HAVE_CPUID_INTRINSIC - Success
-- Performing Test HAVE_STD_ALIGNED_ALLOC
-- Performing Test HAVE_STD_ALIGNED_ALLOC - Failed
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for proc_pidpath
-- Looking for proc_pidpath - not found
-- Looking for getopt
-- Looking for getopt - found
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- Found OSS: C:/msys64/usr/include
-- Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR)
-- Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)
-- No compatible version of the Windows SDK or Platform SDK found. (missing: WINDOWSSDK_DIRS)
-- Looking for include files windows.h, mmsystem.h
-- Looking for include files windows.h, mmsystem.h - found
-- No compatible version of the Windows SDK or Platform SDK found. (missing: WINDOWSSDK_DIRS)
-- Could NOT find DSound (missing: DSOUND_LIBRARY DSOUND_INCLUDE_DIR)
-- 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)
-- Could NOT find OpenSL (missing: OPENSL_LIBRARY OPENSL_INCLUDE_DIR OPENSL_ANDROID_INCLUDE_DIR)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.38.0.windows.1")
CMake Warning at submodules/openal-soft/CMakeLists.txt:1112 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
-- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
-- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
--
Building OpenAL with support for the following backends:
OSS, WASAPI, WaveFile, Null
Building with support for CPU extensions:
Default, SSE, SSE2, SSE3, SSE4.1
-- Embedding HRTF datasets
-- Installing library and headers
-- Installing sample configuration
-- Installing HRTF definitions
-- Installing AmbDec presets
--
-- Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version "1.2.13")
-- Could NOT find MySOFA (missing: MYSOFA_LIBRARY MYSOFA_INCLUDE_DIR)
-- Building utility programs
--
-- Building example programs
--
CMake Deprecation Warning at submodules/RuntimeCompiledCPlusPlus/Aurora/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Project version: 0.9.7
-- Architecture: x86
-- Enabled: use of RTTI
-- Performing Test HAS_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT
-- Performing Test HAS_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT - Success
-- Performing Test HAS_STL_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT
-- Performing Test HAS_STL_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT - Success
-- Performing Test HAS_CXX_CONSTEXPR
-- Performing Test HAS_CXX_CONSTEXPR - Success
-- Performing Test HAS_PARTIAL_SPECIALIZATION_FOR_ARRAYS
-- Performing Test HAS_PARTIAL_SPECIALIZATION_FOR_ARRAYS - Success
-- using C++: 17
--
-- Finding 3rd party libs...
-- ===========================
-- Finished finding 3rd party libs!
-- Scanning rttr module.
-- ===========================
-- rttr directory included
-- Scanning rttr module finished!
--
CMake Warning (dev) at C:/msys64/mingw64/share/cmake/Modules/GNUInstallDirs.cmake:243 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
submodules/glfw/CMakeLists.txt:28 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Looking for dinput.h
-- Looking for dinput.h - not found
-- Looking for xinput.h
-- Looking for xinput.h - found
-- Performing Test _GLFW_HAS_DEP
-- Performing Test _GLFW_HAS_DEP - Success
-- Performing Test _GLFW_HAS_ASLR
-- Performing Test _GLFW_HAS_ASLR - Success
-- Performing Test _GLFW_HAS_64ASLR
-- Performing Test _GLFW_HAS_64ASLR - Success
-- Using Win32 for window creation
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR)
CMake Warning at src/CMakeLists.txt:326 (message):
Boost library is not used in build, some engine utilities are disabled
-- copying shaders into 'SandboxApplication' project directory
-- copying textures into 'SandboxApplication' project directory
-- copying shaders into 'OfflineRendererSample' project directory
-- copying textures into 'OfflineRendererSample' project directory
-- copying shaders into 'PhysicsSample' project directory
-- copying textures into 'PhysicsSample' project directory
-- copying shaders into 'ProjectTemplate' project directory
-- copying textures into 'ProjectTemplate' project directory
-- copying shaders into 'SoundSample' project directory
-- copying textures into 'SoundSample' project directory
-- copying shaders into 'VRCameraSample' project directory
-- copying textures into 'VRCameraSample' project directory
-- copying shaders into 'GrassSample' project directory
-- copying textures into 'GrassSample' project directory
-- copying shaders into 'Sponza' project directory
-- copying textures into 'Sponza' project directory
-- copying shaders into 'PBR' project directory
-- copying textures into 'PBR' project directory
-- copying shaders into 'PathTracing' project directory
-- copying textures into 'PathTracing' project directory
-- copying shaders into 'Particles' project directory
-- copying textures into 'Particles' project directory
-- copying shaders into 'Doom' project directory
-- copying textures into 'Doom' project directory
-- Configuring done (220.4s)
-- Generating done (5.3s)
-- Build files have been written to: C:/msys64/home/user/MxEngine/build_folder
after that i go to the src folder and execute cmake --build ./ and return this:
C:\msys64\home\userx\MxEngine\build_folder>cmake --build .
mingw32-make[2]: Entering directory 'C:/msys64/home/userx/MxEngine/build_folder'
[ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/format.cc.obj
[ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/os.cc.obj
[ 0%] Linking CXX static library libfmtd.a
[ 0%] Built target fmt
[ 0%] Building CXX object src/bullet3/src/BulletCollision/CMakeFiles/BulletCollision.dir/BroadphaseCollision/btAxisSweep3.obj
C:\msys64\home\userx\MxEngine\submodules\bullet3\src\BulletCollision\BroadphaseCollision\btAxisSweep3.cpp:19:10: fatal error: btAxisSweep3.h: No such file or directory
19 | #include "btAxisSweep3.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
mingw32-make[4]: *** [src\bullet3\src\BulletCollision\CMakeFiles\BulletCollision.dir\build.make:76: src/bullet3/src/BulletCollision/CMakeFiles/BulletCollision.dir/BroadphaseCollision/btAxisSwe
ep3.obj] Error 1
mingw32-make[3]: *** [CMakeFiles\Makefile2:1092: src/bullet3/src/BulletCollision/CMakeFiles/BulletCollision.dir/all] Error 2
mingw32-make[2]: *** [Makefile:135: all] Error 2
mingw32-make[2]: Leaving directory 'C:/msys64/home/userx/MxEngine/build_folder'
after using cmake -G "MinGW" ... what is the next step i need to achieve?
Metadata
Metadata
Assignees
Labels
No labels