-
Notifications
You must be signed in to change notification settings - Fork 287
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
Example Compile Error in Mac OS Mojave #1200
Comments
On mojave, the build tools do not search |
Thanks a lot! |
actually, this looks related to ros/console_bridge#52 |
I think this will be fixed by ros/console_bridge#60 |
when a downstream library imports DART. This is to import targets of the dependency libraries (if available) so that the dependency library is properly linked when the library is a target but not an absolute path to the library. Without this, simply linking to a dependency target will fail as #1200.
@scpeters Thanks for the fix! However, the fix didn't work for me. I think it fails to load It seems #1209 works for with and without ros/console_bridge#60. I'm down with adding the namespace by the way. @shbang91 I reopened this issue because it's not actually resolved yet. Also, thanks for the report. |
Currently, the transitive dependencies of DART are propagated by using CMake variables. For example, all the dependency libraries are stored in `DART_LIBRARIES`, which will be defined by loading `DARTConfig.cmake` through calling `find_package(DART)` in a downstream project. However, this approach can fail to load the dependency. The items in `DART_LIBRARIES` can be either of the path to a library file or a target. Path items work fine (as long as the path is correct), but not targets because the downstream project don't know how to import the target only from the target name. This PR fixes it by letting `DARTConfig.cmake` loading the dependency targets by calling `find_packages()` for them. This approach should work as long as all the upstream dependencies loading relevant targets subsequently. In this PR, the new change is only applied for loading `urdfdom` to quickly fix #1200, but this should be applied to all other transitive dependencies in future PRs. *** **Before merging a pull request** - [x] Set version target by selecting a milestone on the right side
It's resolved on the |
Hello,
I am working on Mac OS Mojave with DART 6.5.0
I just go to the
and getting the following error
I think this issue is related to the version of Mac OS.
Do you have a plan to fix this?
The text was updated successfully, but these errors were encountered: