Yeah, I cloned the mingwlibs and put them into the spring source folder. So the folder looks like
Spring/mingwlibs
Spring/rts
Etc
I don't think there were any Cmake errors related to mingwlibs, but I'll double check on Wednesday when I'm back home.
Compiled on Windows, "Spring has crashed: Invalid handle"
Moderator: Moderators
Re: Compiled on Windows, "Spring has crashed: Invalid handle"
Yeah cmake finds the mingwlibs fine. This is the cmake log output from the configure step:
So the only errors/warnings are
compiler doesn't support: -fcheck-pointer-bounds
compiler doesn't support: -mmpx
compiler doesn't support: -Wchkp
CMake Warning at CMakeLists.txt:335 (Message):
You are using ld.bfd, it's much slower than ld.gold.
INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression.
CMake Warning at tools/pr-downloader/CMakeLists.txt:151 (message):
clang-format not found
Code: Select all
The C compiler identification is GNU 4.9.2
The CXX compiler identification is GNU 4.9.2
Check for working C compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/gcc.exe
Check for working C compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/g++.exe
Check for working CXX compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
gcc 4.9.2 detected
Checking to see if CXX compiler accepts flag -msse -mfpmath=sse
Checking to see if CXX compiler accepts flag -msse -mfpmath=sse - yes
Checking to see if CXX compiler accepts flag -mno-sse2
Checking to see if CXX compiler accepts flag -mno-sse2 - yes
Checking to see if CXX compiler accepts flag -mno-sse3
Checking to see if CXX compiler accepts flag -mno-sse3 - yes
Checking to see if CXX compiler accepts flag -mno-ssse3
Checking to see if CXX compiler accepts flag -mno-ssse3 - yes
Checking to see if CXX compiler accepts flag -mno-sse4.1
Checking to see if CXX compiler accepts flag -mno-sse4.1 - yes
Checking to see if CXX compiler accepts flag -mno-sse4.2
Checking to see if CXX compiler accepts flag -mno-sse4.2 - yes
Checking to see if CXX compiler accepts flag -mno-sse4
Checking to see if CXX compiler accepts flag -mno-sse4 - yes
Checking to see if CXX compiler accepts flag -mno-sse4a
Checking to see if CXX compiler accepts flag -mno-sse4a - yes
Checking to see if CXX compiler accepts flag -mno-avx
Checking to see if CXX compiler accepts flag -mno-avx - yes
Checking to see if CXX compiler accepts flag -mno-fma
Checking to see if CXX compiler accepts flag -mno-fma - yes
Checking to see if CXX compiler accepts flag -mno-fma4
Checking to see if CXX compiler accepts flag -mno-fma4 - yes
Checking to see if CXX compiler accepts flag -mno-xop
Checking to see if CXX compiler accepts flag -mno-xop - yes
Checking to see if CXX compiler accepts flag -mno-lwp
Checking to see if CXX compiler accepts flag -mno-lwp - yes
Checking to see if CXX compiler accepts flag -mno-avx2
Checking to see if CXX compiler accepts flag -mno-avx2 - yes
Checking to see if CXX compiler accepts flag -mieee-fp
Checking to see if CXX compiler accepts flag -mieee-fp - yes
Checking to see if CXX compiler accepts flag -std=gnu++11
Checking to see if CXX compiler accepts flag -std=gnu++11 - yes
Checking to see if CXX compiler accepts flag -flto
Checking to see if CXX compiler accepts flag -flto - yes
Checking to see if CXX compiler accepts flag -march=i686
Checking to see if CXX compiler accepts flag -march=i686 - yes
Checking to see if CXX compiler accepts flag -mno-tls-direct-seg-refs
Checking to see if CXX compiler accepts flag -mno-tls-direct-seg-refs - yes
Checking to see if CXX compiler accepts flag -fcheck-pointer-bounds
Checking to see if CXX compiler accepts flag -fcheck-pointer-bounds - no
compiler doesn't support: -fcheck-pointer-bounds
Checking to see if CXX compiler accepts flag -mmpx
Checking to see if CXX compiler accepts flag -mmpx - no
compiler doesn't support: -mmpx
Checking to see if CXX compiler accepts flag -Wchkp
Checking to see if CXX compiler accepts flag -Wchkp - no
compiler doesn't support: -Wchkp
Building Spring on 32bit environment
Targetting 32bit
Boost version: 1.55.0
Found the following Boost libraries:
regex
system
Looking for pthread.h
Looking for pthread.h - found
Looking for pthread_create
Looking for pthread_create - found
Found Threads: TRUE
Found SDL2: mingw32;C:/springsources/spring/mingwlibs/dll/SDL2.dll (found version "2.0.4")
Found DevIL: C:/springsources/spring/mingwlibs/include/IL/il.h
Found Windres: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/windres.exe
Found win32 libraries: -limagehlp;-lws2_32;-lwinmm;mingw32
Looking for strnlen
Looking for strnlen - found
CMake Warning at CMakeLists.txt:335 (Message):
You are using ld.bfd, it's much slower than ld.gold.
Compiling with C++11
using march=i686
Enable IMAGE_FILE_LARGE_ADDRESS_AWARE (>2GB memory limit)
Found GIT: C:/Program Files/Git/cmd/git.exe
Found GLEW: C:/springsources/spring/mingwlibs/include (Required is at least version "1.5.1")
Found ZLIB: C:/springsources/spring/mingwlibs/dll/zlib1.dll (found version "1.2.7")
Looking for C++ include unistd.h
Looking for C++ include unistd.h - found
Looking for C++ include stdint.h
Looking for C++ include stdint.h - found
Looking for C++ include inttypes.h
Looking for C++ include inttypes.h - found
Looking for C++ include sys/types.h
Looking for C++ include sys/types.h - found
Looking for C++ include sys/stat.h
Looking for C++ include sys/stat.h - found
Looking for C++ include fnmatch.h
Looking for C++ include fnmatch.h - not found
Looking for C++ include shlwapi.h
Looking for C++ include shlwapi.h - found
Looking for C++ include stddef.h
Looking for C++ include stddef.h - found
Check size of uint32_t
Check size of uint32_t - done
Looking for strtoll
Looking for strtoll - found
Forcing assimp option ASSIMP_BUILD_STATIC_LIB to on
Forcing assimp option ASSIMP_NO_EXPORT to on
Build an import-only version of Assimp.
INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression.
Enabled formats: 3DS COLLADA LWO BLEND
Disabled formats: AMF AC ASE ASSBIN ASSXML B3D BVH DXF CSM HMP IRRMESH IRR LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF
Found AWK: C:/springsources/spring/mingwlibs/bin/awk.exe
AWK version: GNU Awk 3.1.6
Found AI Wrapper: CUtils (sources only wrapper)
Found AI Interface: C-AIInterface 0.1
Found Java: C:/Program Files/Java/jdk1.8.0_131/bin/java.exe (found version "1.8.0.131") found components: Development
Found AI Interface: Java-AIInterface 0.1
Found AI Wrapper: Cpp-AIWrapper
Found AI Wrapper: JavaOO
Found vecmath.jar: C:/springsources/spring/AI/Wrappers/JavaOO/jlib/vecmath.jar
Found AI Wrapper: LegacyCpp-AIWrapper
Found AI Wrapper: LegacyCpp-Creg-AIWrapper
Found Skirmish AI: AAI 0.9
Found Skirmish AI: CppTestAI 0.1
Found Skirmish AI: E323AI 3.25.0
Found Skirmish AI: HughAI 0.1
Found Skirmish AI: KAIK 0.13
Found Skirmish AI: NullAI 0.1
Found Skirmish AI: NullJavaAI 0.1 (config: default)
Found Skirmish AI: NullOOJavaAI 0.1 (config: default)
Found Skirmish AI: RAI 0.601
Found Skirmish AI: Shard dev
Found CURL: C:/springsources/spring/mingwlibs/lib/libcurl.a (found version "7.24.0")
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Performing Test COMPILER_SUPPORTS_CXX11
Performing Test COMPILER_SUPPORTS_CXX11 - Success
Performing Test COMPILER_SUPPORTS_CXX0X
Performing Test COMPILER_SUPPORTS_CXX0X - Success
PR-Downloader version: 0.7-375-g0212ada
Could NOT find MINIZIP (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR)
libminizip was not found, using integrated
CMake Warning at tools/pr-downloader/CMakeLists.txt:151 (message):
clang-format not found
Boost version: 1.55.0
Found the following Boost libraries:
unit_test_framework
Found SevenZip: C:/Program Files/7-Zip/7z.exe
Found OpenAL: C:/springsources/spring/mingwlibs/dll/OpenAL32.dll
Looking for vorbis_bitrate_addblock in vorbis
Looking for vorbis_bitrate_addblock in vorbis - not found
Found OggVorbis: C:/springsources/spring/mingwlibs/dll/ogg.dll;C:/springsources/spring/mingwlibs/dll/vorbis.dll;C:/springsources/spring/mingwlibs/dll/vorbisfile.dll
Found OpenGL: opengl32
Found FONTCONFIG: C:/springsources/spring/mingwlibs/dll/libfontconfig-1.dll
Found Freetype: C:/springsources/spring/mingwlibs/dll/libfreetype-6.dll (found version "2.1.10")
Using legacy as default engine
Boost version: 1.55.0
Found the following Boost libraries:
unit_test_framework
chrono
thread
system
Configuring done
compiler doesn't support: -fcheck-pointer-bounds
compiler doesn't support: -mmpx
compiler doesn't support: -Wchkp
CMake Warning at CMakeLists.txt:335 (Message):
You are using ld.bfd, it's much slower than ld.gold.
INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression.
CMake Warning at tools/pr-downloader/CMakeLists.txt:151 (message):
clang-format not found
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Compiled on Windows, "Spring has crashed: Invalid handle"
Submit the bug on mantis then, I can't find any fault from here.Sprang wrote:Yeah cmake finds the mingwlibs fine. This is the cmake log output from the configure step:So the only errors/warnings areCode: Select all
The C compiler identification is GNU 4.9.2 The CXX compiler identification is GNU 4.9.2 Check for working C compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/gcc.exe Check for working C compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/gcc.exe -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Detecting C compile features Detecting C compile features - done Check for working CXX compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/g++.exe Check for working CXX compiler: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/g++.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done gcc 4.9.2 detected Checking to see if CXX compiler accepts flag -msse -mfpmath=sse Checking to see if CXX compiler accepts flag -msse -mfpmath=sse - yes Checking to see if CXX compiler accepts flag -mno-sse2 Checking to see if CXX compiler accepts flag -mno-sse2 - yes Checking to see if CXX compiler accepts flag -mno-sse3 Checking to see if CXX compiler accepts flag -mno-sse3 - yes Checking to see if CXX compiler accepts flag -mno-ssse3 Checking to see if CXX compiler accepts flag -mno-ssse3 - yes Checking to see if CXX compiler accepts flag -mno-sse4.1 Checking to see if CXX compiler accepts flag -mno-sse4.1 - yes Checking to see if CXX compiler accepts flag -mno-sse4.2 Checking to see if CXX compiler accepts flag -mno-sse4.2 - yes Checking to see if CXX compiler accepts flag -mno-sse4 Checking to see if CXX compiler accepts flag -mno-sse4 - yes Checking to see if CXX compiler accepts flag -mno-sse4a Checking to see if CXX compiler accepts flag -mno-sse4a - yes Checking to see if CXX compiler accepts flag -mno-avx Checking to see if CXX compiler accepts flag -mno-avx - yes Checking to see if CXX compiler accepts flag -mno-fma Checking to see if CXX compiler accepts flag -mno-fma - yes Checking to see if CXX compiler accepts flag -mno-fma4 Checking to see if CXX compiler accepts flag -mno-fma4 - yes Checking to see if CXX compiler accepts flag -mno-xop Checking to see if CXX compiler accepts flag -mno-xop - yes Checking to see if CXX compiler accepts flag -mno-lwp Checking to see if CXX compiler accepts flag -mno-lwp - yes Checking to see if CXX compiler accepts flag -mno-avx2 Checking to see if CXX compiler accepts flag -mno-avx2 - yes Checking to see if CXX compiler accepts flag -mieee-fp Checking to see if CXX compiler accepts flag -mieee-fp - yes Checking to see if CXX compiler accepts flag -std=gnu++11 Checking to see if CXX compiler accepts flag -std=gnu++11 - yes Checking to see if CXX compiler accepts flag -flto Checking to see if CXX compiler accepts flag -flto - yes Checking to see if CXX compiler accepts flag -march=i686 Checking to see if CXX compiler accepts flag -march=i686 - yes Checking to see if CXX compiler accepts flag -mno-tls-direct-seg-refs Checking to see if CXX compiler accepts flag -mno-tls-direct-seg-refs - yes Checking to see if CXX compiler accepts flag -fcheck-pointer-bounds Checking to see if CXX compiler accepts flag -fcheck-pointer-bounds - no compiler doesn't support: -fcheck-pointer-bounds Checking to see if CXX compiler accepts flag -mmpx Checking to see if CXX compiler accepts flag -mmpx - no compiler doesn't support: -mmpx Checking to see if CXX compiler accepts flag -Wchkp Checking to see if CXX compiler accepts flag -Wchkp - no compiler doesn't support: -Wchkp Building Spring on 32bit environment Targetting 32bit Boost version: 1.55.0 Found the following Boost libraries: regex system Looking for pthread.h Looking for pthread.h - found Looking for pthread_create Looking for pthread_create - found Found Threads: TRUE Found SDL2: mingw32;C:/springsources/spring/mingwlibs/dll/SDL2.dll (found version "2.0.4") Found DevIL: C:/springsources/spring/mingwlibs/include/IL/il.h Found Windres: C:/Program Files (x86)/mingw-w64/i686-4.9.2-posix-sjlj-rt_v3-rev1/mingw32/bin/windres.exe Found win32 libraries: -limagehlp;-lws2_32;-lwinmm;mingw32 Looking for strnlen Looking for strnlen - found CMake Warning at CMakeLists.txt:335 (Message): You are using ld.bfd, it's much slower than ld.gold. Compiling with C++11 using march=i686 Enable IMAGE_FILE_LARGE_ADDRESS_AWARE (>2GB memory limit) Found GIT: C:/Program Files/Git/cmd/git.exe Found GLEW: C:/springsources/spring/mingwlibs/include (Required is at least version "1.5.1") Found ZLIB: C:/springsources/spring/mingwlibs/dll/zlib1.dll (found version "1.2.7") Looking for C++ include unistd.h Looking for C++ include unistd.h - found Looking for C++ include stdint.h Looking for C++ include stdint.h - found Looking for C++ include inttypes.h Looking for C++ include inttypes.h - found Looking for C++ include sys/types.h Looking for C++ include sys/types.h - found Looking for C++ include sys/stat.h Looking for C++ include sys/stat.h - found Looking for C++ include fnmatch.h Looking for C++ include fnmatch.h - not found Looking for C++ include shlwapi.h Looking for C++ include shlwapi.h - found Looking for C++ include stddef.h Looking for C++ include stddef.h - found Check size of uint32_t Check size of uint32_t - done Looking for strtoll Looking for strtoll - found Forcing assimp option ASSIMP_BUILD_STATIC_LIB to on Forcing assimp option ASSIMP_NO_EXPORT to on Build an import-only version of Assimp. INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression. Enabled formats: 3DS COLLADA LWO BLEND Disabled formats: AMF AC ASE ASSBIN ASSXML B3D BVH DXF CSM HMP IRRMESH IRR LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF Found AWK: C:/springsources/spring/mingwlibs/bin/awk.exe AWK version: GNU Awk 3.1.6 Found AI Wrapper: CUtils (sources only wrapper) Found AI Interface: C-AIInterface 0.1 Found Java: C:/Program Files/Java/jdk1.8.0_131/bin/java.exe (found version "1.8.0.131") found components: Development Found AI Interface: Java-AIInterface 0.1 Found AI Wrapper: Cpp-AIWrapper Found AI Wrapper: JavaOO Found vecmath.jar: C:/springsources/spring/AI/Wrappers/JavaOO/jlib/vecmath.jar Found AI Wrapper: LegacyCpp-AIWrapper Found AI Wrapper: LegacyCpp-Creg-AIWrapper Found Skirmish AI: AAI 0.9 Found Skirmish AI: CppTestAI 0.1 Found Skirmish AI: E323AI 3.25.0 Found Skirmish AI: HughAI 0.1 Found Skirmish AI: KAIK 0.13 Found Skirmish AI: NullAI 0.1 Found Skirmish AI: NullJavaAI 0.1 (config: default) Found Skirmish AI: NullOOJavaAI 0.1 (config: default) Found Skirmish AI: RAI 0.601 Found Skirmish AI: Shard dev Found CURL: C:/springsources/spring/mingwlibs/lib/libcurl.a (found version "7.24.0") Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Performing Test COMPILER_SUPPORTS_CXX11 Performing Test COMPILER_SUPPORTS_CXX11 - Success Performing Test COMPILER_SUPPORTS_CXX0X Performing Test COMPILER_SUPPORTS_CXX0X - Success PR-Downloader version: 0.7-375-g0212ada Could NOT find MINIZIP (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR) libminizip was not found, using integrated CMake Warning at tools/pr-downloader/CMakeLists.txt:151 (message): clang-format not found Boost version: 1.55.0 Found the following Boost libraries: unit_test_framework Found SevenZip: C:/Program Files/7-Zip/7z.exe Found OpenAL: C:/springsources/spring/mingwlibs/dll/OpenAL32.dll Looking for vorbis_bitrate_addblock in vorbis Looking for vorbis_bitrate_addblock in vorbis - not found Found OggVorbis: C:/springsources/spring/mingwlibs/dll/ogg.dll;C:/springsources/spring/mingwlibs/dll/vorbis.dll;C:/springsources/spring/mingwlibs/dll/vorbisfile.dll Found OpenGL: opengl32 Found FONTCONFIG: C:/springsources/spring/mingwlibs/dll/libfontconfig-1.dll Found Freetype: C:/springsources/spring/mingwlibs/dll/libfreetype-6.dll (found version "2.1.10") Using legacy as default engine Boost version: 1.55.0 Found the following Boost libraries: unit_test_framework chrono thread system Configuring done
compiler doesn't support: -fcheck-pointer-bounds
compiler doesn't support: -mmpx
compiler doesn't support: -Wchkp
CMake Warning at CMakeLists.txt:335 (Message):
You are using ld.bfd, it's much slower than ld.gold.
INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression.
CMake Warning at tools/pr-downloader/CMakeLists.txt:151 (message):
clang-format not found
(Also devs please upgrade your minimum cmake requirements in order to check to see if the compiler have certain features, you will solve potential headaches along the way. Most notably https://cmake.org/cmake/help/v3.1/comma ... tures.html)