Advertisement
Guest User

Untitled

a guest
Nov 25th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. The C compiler identification is GNU 6.3.0
  2. Check for working CXX compiler: C:/MinGW/mingw32/bin/mingw32-g++.exe
  3. Check for working CXX compiler: C:/MinGW/mingw32/bin/mingw32-g++.exe -- broken
  4. CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  5. The C++ compiler
  6.  
  7. "C:/MinGW/mingw32/bin/mingw32-g++.exe"
  8.  
  9. is not able to compile a simple test program.
  10.  
  11. It fails with the following output:
  12.  
  13. Change Dir: C:/OpenCV/opencv-mingw/CMakeFiles/CMakeTmp
  14.  
  15. 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
  16.  
  17. mingw32-make.exe[1]: Entering directory 'C:/OpenCV/opencv-mingw/CMakeFiles/CMakeTmp'
  18.  
  19. Building CXX object CMakeFiles/cmTC_9eec4.dir/testCXXCompiler.cxx.obj
  20.  
  21. C:\MinGW\mingw32\bin\mingw32-g++.exe -o CMakeFiles\cmTC_9eec4.dir\testCXXCompiler.cxx.obj -c C:\OpenCV\opencv-mingw\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
  22.  
  23. Linking CXX executable cmTC_9eec4.exe
  24.  
  25. "C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_9eec4.dir\link.txt --verbose=1
  26.  
  27. "C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_9eec4.dir/objects.a
  28. C:\MinGW\mingw32\bin\ar.exe cr CMakeFiles\cmTC_9eec4.dir/objects.a @CMakeFiles\cmTC_9eec4.dir\objects1.rsp
  29. 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
  30. C:\MinGW\bin/ld.exe: cannot find crt2.o: No such file or directory
  31.  
  32. collect2.exe: error: ld returned 1 exit status
  33.  
  34. CMakeFiles\cmTC_9eec4.dir\build.make:87: recipe for target 'cmTC_9eec4.exe' failed
  35.  
  36. mingw32-make.exe[1]: *** [cmTC_9eec4.exe] Error 1
  37.  
  38. mingw32-make.exe[1]: Leaving directory 'C:/OpenCV/opencv-mingw/CMakeFiles/CMakeTmp'
  39.  
  40. Makefile:120: recipe for target 'cmTC_9eec4/fast' failed
  41.  
  42. mingw32-make.exe: *** [cmTC_9eec4/fast] Error 2
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. CMake will not be able to correctly generate this project.
  50. Call Stack (most recent call first):
  51. CMakeLists.txt:99 (enable_language)
  52.  
  53.  
  54. Configuring incomplete, errors occurred!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement