cmake mingw生成找不到openmp(FindOpenMP)
我正试图在UbuntuLinux20.04上用mingw构建一个cmake项目,但在cmake和openmp上遇到了问题,奇怪的是它在Ubuntu16.04上工作,但现在不行。我应该在哪里调试它(也尝试过不同的cmake版本)有什么想法吗cmake mingw生成找不到openmp(FindOpenMP),cmake,build,openmp,libraries,Cmake,Build,Openmp,Libraries,我正试图在UbuntuLinux20.04上用mingw构建一个cmake项目,但在cmake和openmp上遇到了问题,奇怪的是它在Ubuntu16.04上工作,但现在不行。我应该在哪里调试它(也尝试过不同的cmake版本)有什么想法吗 CMake Error at /usr/share/cmake-3.20/Modules/FindOpenMP.cmake:394 (try_compile): Cannot copy output executable '' to des
CMake Error at /usr/share/cmake-3.20/Modules/FindOpenMP.cmake:394 (try_compile):
Cannot copy output executable
''
to destination specified by COPY_FILE:
'/tmp/build/CMakeFiles/FindOpenMP/ompver_C.bin'
Unable to find the executable at any of:
/tmp/build/CMakeFiles/CMakeTmp/cmTC_3bee9
/tmp/build/CMakeFiles/CMakeTmp/Debug/cmTC_3bee9
/tmp/build/CMakeFiles/CMakeTmp/Development/cmTC_3bee9
Call Stack (most recent call first):
/usr/share/cmake-3.20/Modules/FindOpenMP.cmake:522 (_OPENMP_GET_SPEC_DATE)
cmake/geogram.cmake:63 (find_package)
CMakeLists.txt:91 (include)
-- Found OpenMP_C: -fopenmp
CMake Error at /usr/share/cmake-3.20/Modules/FindOpenMP.cmake:394 (try_compile):