lanelet2_core build fails
Hello,
I am trying to build the newest lanelet2 from git. I installed ROS Melodic from ros-melodic-ros-base in my Ubuntu 18.04 and then followed your installation instructions (including the extra dependencies). I also downloaded the catkin package into the workspace. When I try to build the workspace it fails with the following error:
Profile: default
Extending: [cached] /opt/ros/melodic
Workspace: /home/sheraz/catkinws
Build Space: [exists] /home/sheraz/catkinws/build
Devel Space: [exists] /home/sheraz/catkinws/devel
Install Space: [unused] /home/sheraz/catkinws/install
Log Space: [exists] /home/sheraz/catkinws/logs
Source Space: [exists] /home/sheraz/catkinws/src
DESTDIR: [unused] None
Devel Space Layout: linked
Install Space Layout: None
Additional CMake Args: -DCMAKEBUILDTYPE=RelWithDebInfo
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
Whitelisted Packages: None
Blacklisted Packages: None
Workspace configuration appears valid.
[build] Found '11' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> lanelet2_core
Errors << lanelet2core:make /home/sheraz/catkinws/logs/lanelet2core/build.make.006.log
In file included from /usr/include/boost/geometry/algorithms/detail/relate/de9im.hpp:24:0,
from /usr/include/boost/geometry/algorithms/detail/relate/interface.hpp:28,
from /usr/include/boost/geometry/algorithms/detail/disjoint/interface.hpp:30,
from /usr/include/boost/geometry/algorithms/disjoint.hpp:24,
from /home/sheraz/catkinws/src/lanelet2/lanelet2core/src/LineStringGeometry.cpp:9:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp: In constructor ‘boost::geometry::detail::relate::matrix::matrix()’:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:69:11: error: ‘::memset’ has not been declared
::memset(marray, 'F', staticsize);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:69:11: note: suggested alternative: ‘wmemset’
::memset(marray, 'F', staticsize);
^~~~~~
wmemset
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp: In constructor ‘boost::geometry::detail::relate::mask::mask(const char)’:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:234:15: error: ‘::memset’ has not been declared
::memset(it, '', last - it);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:234:15: note: suggested alternative: ‘wmemset’
::memset(it, '', last - it);
^~~~~~
wmemset
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp: In constructor ‘boost::geometry::detail::relate::mask::mask(const char, std::sizet)’:
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:247:15: error: ‘::memcpy’ has not been declared
::memcpy(marray, s, count);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:247:15: note: suggested alternative: ‘wmemcpy’
::memcpy(marray, s, count);
^~~~~~
wmemcpy
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:251:15: error: ‘::memset’ has not been declared
::memset(marray + count, '', staticsize - count);
^~~~~~
/usr/include/boost/geometry/algorithms/detail/relate/result.hpp:251:15: note: suggested alternative: ‘wmemset’
::memset(marray + count, '', staticsize - count);
^~~~~~
wmemset
make[2]: *** [CMakeFiles/lanelet2core.dir/src/LineStringGeometry.cpp.o] Error 1
make[1]: *** [CMakeFiles/lanelet2core.dir/all] Error 2
make: *** [all] Error 2
cd /home/sheraz/catkinws/build/lanelet2core; catkin build --get-env lanelet2core | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << lanelet2core:make [ Exited with code 2 ]
Failed <<< lanelet2core [ 4.7 seconds ]
Abandoned <<< lanelet2 [ Unrelated job failed ]
Abandoned <<< lanelet2io [ Unrelated job failed ]
Abandoned <<< lanelet2maps [ Unrelated job failed ]
Abandoned <<< lanelet2projection [ Unrelated job failed ]
Abandoned <<< lanelet2trafficrules [ Unrelated job failed ]
Abandoned <<< lanelet2matching [ Unrelated job failed ]
Abandoned <<< lanelet2routing [ Unrelated job failed ]
Abandoned <<< lanelet2python [ Unrelated job failed ]
Abandoned <<< lanelet2examples [ Unrelated job failed ]
Abandoned <<< lanelet2_validation [ Unrelated job failed ]
[build] Summary: 0 of 11 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 10 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 4.8 seconds total.
Comments