Rainer,

Thank you for the suggestion. Somehow I was able to build the project 
without changing anything. However, I did run into further problems. I am 
extremely excited to use Chrono, but I'm having a lot of trouble just 
running it.


[image: Screen Shot 2023-01-10 at 4.16.19 PM.png]

I built chrono inside a 'chrono_build' folder in my project. I ran 'make'. 
I used CMake GUI to configure and generate the binaries into chrono_build.

When I build the project, however, it doesn't recognize chrono at all, so I 
can't run the file. 

Rhein
On Tuesday, January 10, 2023 at 1:42:14 AM UTC-5 [email protected] wrote:

> 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/af3b73a7-7881-492e-8dcc-ed8857f68bc8n%40googlegroups.com.

Reply via email to