-
Notifications
You must be signed in to change notification settings - Fork 626
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
building on OS X 10.9 #6
Comments
Thanks for the pointer: the patch for CLang is not in master. On the linking error, I can only give these ideas:
|
OK, the problem with linking was due to the fact that in OS X 10.9 standard library has changed to libc++ (whereas it is forces to be libstdc++ in mrpt). There are still some problems after that, which can be fixed by using a newer version of octomap, and substituting GNU extensions with something else (it might be a good idea not to use those at all to make the library cross-compiler compatible). |
Could you please attach a patch with the fixes you had to make? Thanks. |
there are some problems when building for OS X 10.9 (clang-500.2.79).
It seems that it has to do primarily with linking.
Editing this line to allow not only GCC makes it possible to proceed further, but then I get undefined references to (so it seems) OpenCV (even though it is installed):
-- Has OpenCV (Image manipulation) : Yes (System) [Version: 2.4.6.1, Has non-free: 1]
Error log:
The text was updated successfully, but these errors were encountered: