Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The C compiler identification is GNU 6.3.0
- Check for working CXX compiler: C:/MinGW/mingw32/bin/mingw32-g++.exe
- Check for working CXX compiler: C:/MinGW/mingw32/bin/mingw32-g++.exe -- broken
- CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/CMakeTestCXXCompiler.cmake:53 (message):
- The C++ compiler
- "C:/MinGW/mingw32/bin/mingw32-g++.exe"
- is not able to compile a simple test program.
- It fails with the following output:
- Change Dir: C:/OpenCV/opencv-mingw/CMakeFiles/CMakeTmp
- Run Build Command(s):C:/MinGW/bin/mingw32-make.exe cmTC_9eec4/fast && C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_9eec4.dir\build.make CMakeFiles/cmTC_9eec4.dir/build
- mingw32-make.exe[1]: Entering directory 'C:/OpenCV/opencv-mingw/CMakeFiles/CMakeTmp'
- Building CXX object CMakeFiles/cmTC_9eec4.dir/testCXXCompiler.cxx.obj
- C:\MinGW\mingw32\bin\mingw32-g++.exe -o CMakeFiles\cmTC_9eec4.dir\testCXXCompiler.cxx.obj -c C:\OpenCV\opencv-mingw\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
- Linking CXX executable cmTC_9eec4.exe
- "C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_9eec4.dir\link.txt --verbose=1
- "C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_9eec4.dir/objects.a
- C:\MinGW\mingw32\bin\ar.exe cr CMakeFiles\cmTC_9eec4.dir/objects.a @CMakeFiles\cmTC_9eec4.dir\objects1.rsp
- C:\MinGW\mingw32\bin\mingw32-g++.exe -Wl,--whole-archive CMakeFiles\cmTC_9eec4.dir/objects.a -Wl,--no-whole-archive -o cmTC_9eec4.exe -Wl,--out-implib,libcmTC_9eec4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_9eec4.dir\linklibs.rsp
- C:\MinGW\bin/ld.exe: cannot find crt2.o: No such file or directory
- collect2.exe: error: ld returned 1 exit status
- CMakeFiles\cmTC_9eec4.dir\build.make:87: recipe for target 'cmTC_9eec4.exe' failed
- mingw32-make.exe[1]: *** [cmTC_9eec4.exe] Error 1
- mingw32-make.exe[1]: Leaving directory 'C:/OpenCV/opencv-mingw/CMakeFiles/CMakeTmp'
- Makefile:120: recipe for target 'cmTC_9eec4/fast' failed
- mingw32-make.exe: *** [cmTC_9eec4/fast] Error 2
- CMake will not be able to correctly generate this project.
- Call Stack (most recent call first):
- CMakeLists.txt:99 (enable_language)
- Configuring incomplete, errors occurred!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement