CMake cannot find OpenMP

I am trying to compile with OpenMP. My CMakeLists.txt contains the line

find_package(OpenMP REQUIRED)

and CMake errors out with

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package openmp.

  Set openmp_DIR to the directory containing a CMake configuration file for
  openmp.  The file will have one of the following names:

    openmpConfig.cmake
    openmp-config.cmake

Checking my filesystem, I see that I have /usr/share/cmake-2.8/Modules/FindOpenMP.cmake but no openmpConfig.cmake or openmp-config.cmake. What do I need to do to fix this?


Download cmake.cannot.find.openmp.zip
Direct Link


Download


Download cmake.cannot.find.openmp.zip
Mediafire


Download


Download cmake.cannot.find.openmp.zip
Unlimitzone


Download


Download cmake.cannot.find.openmp.zip
Vidup


Download


Download cmake.cannot.find.openmp.zip
Freakshare


Download

Both comments and pings are currently closed.

Comments are closed.