[OSRM-talk] error: undefined reference to 'boost::re_detail::cpp_regex_traits_implementation<char>::transform

Mateusz Loskot mateusz at loskot.net
Fri Oct 20 09:37:21 UTC 2017


On 19 October 2017 at 23:42, Patrick Niklaus
<patrick.niklaus at student.kit.edu> wrote:
> Hey,
>
> the primary difference to our build environment on Travis CI is that
> we build on Ubuntu 14.04 using boost 1.54:
> https://travis-ci.org/Project-OSRM/osrm-backend/jobs/290183596#L1573
> It could be that this is a specific issue with boost 1.58 that was
> introduced by using a new symbol on `master`.

Possibly

> The error in question looks really weird. A wild guess might be there
> are two version of libboost on your system and OSRM picks up the wrong
> headers.

I removed all libboost* from the environment, reinstalled Boost 1.58.
I also took care to ensure there is no Boost in known locations in the
host Windows.
I added to CMakeLists.txt dumping of the Boost CMake variables:

-- BOOST_BASE_LIBRARIES=/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_system.so
-- Boost_INCLUDE_DIRS=/usr/include


No change.

Anyhow, I'm leaving this issue on backburnre until I have time to
investigate it myself.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net



More information about the OSRM-talk mailing list