-
Notifications
You must be signed in to change notification settings - Fork 143
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
Sofa linking unsuccesful #175
Comments
Hi Oscar, Could you attach in a file:
I think I know what is causing the problem (sofa is not added as a link library in your CMake file) but I want to check to make sure, Dominic |
Yes I attach them here, sorry I didn't see your message until now. |
Hi Oscar, Yes, I think my suspicion is correct. First, add Sofa as a library to your project by adding (for instance on line 159 after including spice): option(USE_SOFA "build Tudat with Sofa enabled" ON) # OFF is the default Find SOFA library on local system.find_package(Sofa) Include Sofa directories.if(NOT APPLE OR APPLE_INCLUDE_FORCE) Then add: if(USE_SOFA) Let me know if this works out, Best regards, Dominic |
Hi Dominic, thanks for your help, |
Your applications folder should have a 'CMakeModules' directory somewhere. I'm guessing that it doesn't contain a FindSofa.cmake file. You can copy this file from tudatBundle/external/CMake to the CMakeModules directory of your application. Let me know if this resolves it, Dominic |
Thanks!!! now it is working |
Great! |
Hi,
I have updated Tudat and checkout the FullOrbitDetermination branch to use the SOFA package. During the installation the following error appeared: boost libraries not found: "Library not loaded" "Image not found" . I found the solution to the issue in GitHub and I modified the CMake files and now it seems to be properly installed. However, when I call any function in sofaTimeConversions.h I get another issue: symbol(s) not found for architecture x86_64. With the following compile output message:
There is an already closed issue with the same error message but it didn't work for me after changing the Cmake configuration-> Cmake_c_compiler:string
Thanks in advance,
Oscar
The text was updated successfully, but these errors were encountered: