Skip to content

Issue while building #91

@lucas0

Description

@lucas0

Hello,

I've git cloned, but cannot run cmake -G 'Unix Makefiles' i get this on CMakeFiles/CMakeError.log:

Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
Change Dir: /Users/Lucas/Developer/JAMR/tools/cdec/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_25822/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_25822.dir/build.make CMakeFiles/cmTC_25822.dir/build
Building C object CMakeFiles/cmTC_25822.dir/src.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc    -DOpenMP_FLAG_DETECTED -fopenmp   -o CMakeFiles/cmTC_25$
/Users/Lucas/Developer/JAMR/tools/cdec/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^
1 error generated.
make[1]: *** [CMakeFiles/cmTC_25822.dir/src.c.o] Error 1
make: *** [cmTC_25822/fast] Error 2

Source file was:

#include <omp.h>
int main() {
#ifdef _OPENMP
  return 0;
#else
  breaks_on_purpose
#endif
}

Does anyone knows how to solve this?
Regards,
Lucas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions