-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error linking ipopt libraries to tropter during build #3952
Comments
@saehuber, thanks for reporting. Before we start looking for CMake bugs, could you confirm that the |
Thanks! Yes, |
Okay good, thanks for checking that. A couple more questions/commnets:
It is likely that the choice of distro and compiler are breaking the rpaths. If switching to Ubuntu or a different compiler is not an option for you, then @aymanhab or I could try to help sort out the rpath issue. |
I'd also add that we use patchelf to modify rpath on linux/ ubuntu. |
Thanks, both. I've switched to |
I think the next things to try are:
|
Due to the long list of dependencies, are you sure you want to build tropter or moco altogether for your workflow? |
Thanks for the recommendations, I've now tested and did manage to get past the error with adding the following to my CMake call: |
I'm trying to build Opensim 4.5.1 from source on Linux and running into issues. It looks like the copy of libtropter in my build folder is not able to find the ipopt and colpack libraries during the test_derivatives linking step below, though in the configure step, CMake does appear to find these libraries successfully. Maybe something is missing from the cmake setup for this step?
I have the following options set for my configuration
I'm using intel compilers and CMake 3.27.7
The text was updated successfully, but these errors were encountered: