Dear all,
 
I recently switched to cmake 3.7.2 on windows 7.
I am building a project with openmp and use find_package(OpenMP).

With cmake 3.5.2 and 3.6.3 the generation of the .sln file for VS 14 2015 works fine.
However, with cmake 3.7.2 I get the error shown below.
 
All cmake versions were installed with the windows installer downloaded from the
cmake website.

As anybody an idea what is going wrong?
 
Bests,
Georg

####################################
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
CMake Error at C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenMP.cmake:175 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    'N:/georgschramm/kul_nm_software_gs/build_win/CMakeFiles/FindOpenMP/ompver_C.bin'

  Unable to find the executable at any of:

    N:/georgschramm/kul_nm_software_gs/build_win/CMakeFiles/CMakeTmp/cmTC_8cd34_win.exe
    N:/georgschramm/kul_nm_software_gs/build_win/CMakeFiles/CMakeTmp/Debug/cmTC_8cd34_win.exe
    N:/georgschramm/kul_nm_software_gs/build_win/CMakeFiles/CMakeTmp/Development/cmTC_8cd34_win.exe

Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenMP.cmake:224 (_OPENMP_GET_SPEC_DATE)
  RECONSTRUCTION/CMakeLists.txt:142 (find_package)
#####################################
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to