Hi Rhein,
this works on my machine:
-DOpenMP_CXX_FLAGS:STRING="-Xclang -fopenmp" \
-DOpenMP_C_FLAGS:STRING="-Xclang -fopenmp" \
-DOpenMP_C_INCLUDE_DIR:PATH=-L/opt/homebrew/opt/libomp/lib \
-DOpenMP_CXX_INCLUDE_DIR:PATH=/opt/homebrew/opt/libomp/include \
-DOpenMP_C_LIB_NAMES:STRING=libomp \
-DOpenMP_CXX_LIB_NAMES:STRING=libomp \
-DOpenMP_libomp_LIBRARY:FILEPATH="/opt/homebrew/opt/libomp/lib/libomp.dylib"
\
These are options for my commandline cmake call. You can set this also with
cmake-gui
Best
Rainer
[email protected] schrieb am Montag, 9. Januar 2023 um 20:48:08 UTC+1:
> Hi everybody,
>
> I've been spending the day trying to get Chrono up and running. The last
> step I completed is the 'make install' to install the Chrono libraries.
> However, since I am on a Mac:
>
> [image: Screen Shot 2023-01-09 at 2.44.46 PM.png]
>
> I ran into this exact issue and have been attempting to resolve it, but I
> am still unsuccessful. I installed *brew* and *libomp*, however, I don't
> know how to 'configure Chrono'.
> How do a define the right compiler flags for the compiler and linker?
>
> Thanks,
> Rhein
>
--
You received this message because you are subscribed to the Google Groups
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/3796017b-8b7d-40c1-9f77-79ddacd422e7n%40googlegroups.com.