-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Build errors with Ubuntu 16.04, Cmake 3.9 and boost 1.67 #212
Comments
I had this error the other day compiling some ros time libraries on mac. I think it should be |
Thanks for the hint, looking at the code some more this was also my guess. Do you have any idea why this builds for some people and not for others? I guess it's a different compiler version? Or another version of something in the toolchain. I would like to know the cause so I can just switch whatever version it is that is wrong on my pc, because I don't feel like going around fixing all these small little things, because after fixing this I got the following error and I suppose there are more to come:
|
No, unfortunately not. I didn't really look into it yet. I just noticed suddenly this issue on Mac (clang) for a project that includes some ROS libraries that must have been compiling on various platforms for a long time. Specifically that code was in an ifdef about boost having nanosecond resolution, so maybe something changed there... |
btw the first error seems to be caused by a change in boost: mikepurvis/ros-install-osx#116 (comment) |
Thank you for the lead, I will try to build it with 1.63 later and see if that fixes the issues. |
Yup, some other people fixed the same issue by changing types from double to long: Would be nice if you could open a PR with these fixes, if you succeed :). |
Could fix the issue, PR is here: #213 |
I'm trying to build kalibr using catkin build, but I get following error:
I'm kinda confused by the error message because the function exists, but I guess it is typed with different input types? I think the easiest way to resolve is to change my boost, cmake, gcc version to match the version that was tested with kalibr and that is known to build.
The text was updated successfully, but these errors were encountered: