[OSRM-talk] Building the OSRM

Lauri Kajan lauri.kajan at gmail.com
Tue Jun 11 13:34:25 UTC 2013


Hi all,

I'm trying to build the OSRM cloned from git master on Ubuntu 12.04.
I'm getting the "missing binary operator before token" error that was
talked about in the bug tracker but my boost version is 1.51.

Do you have any idea what I'm doing wrong?


BR,

-Lauri



Here is the error:

scons: Building targets ...
g++ -o Algorithms/CRC32.o -c -minline-all-stringops -fopenmp -Wall -O3
-DNDEBUG -march=native -I/usr/include -I/usr/include/include
-I/usr/include/libxml2 -I/usr/include/lua5.1 Algorithms/CRC32.cpp
g++ -o Contractor/EdgeBasedGraphFactory.o -c -minline-all-stringops
-fopenmp -Wall -O3 -DNDEBUG -march=native -I/usr/include
-I/usr/include/include -I/usr/include/libxml2 -I/usr/include/lua5.1
Contractor/EdgeBasedGraphFactory.cpp
In file included from /usr/include/luabind/wrapper_base.hpp:31:0,
                 from /usr/include/luabind/back_reference.hpp:27,
                 from /usr/include/luabind/class.hpp:93,
                 from /usr/include/luabind/luabind.hpp:28,
                 from Contractor/EdgeBasedGraphFactory.h:59,
                 from Contractor/EdgeBasedGraphFactory.cpp:21:
/usr/include/luabind/detail/call_member.hpp:319:1: error: missing binary
operator before token "("
In file included from /usr/include/luabind/back_reference.hpp:27:0,
                 from /usr/include/luabind/class.hpp:93,
                 from /usr/include/luabind/luabind.hpp:28,
                 from Contractor/EdgeBasedGraphFactory.h:59,
                 from Contractor/EdgeBasedGraphFactory.cpp:21:
/usr/include/luabind/wrapper_base.hpp:92:1: error: missing binary operator
before token "("
In file included from /usr/include/luabind/function.hpp:10:0,
                 from /usr/include/luabind/class.hpp:94,
                 from /usr/include/luabind/luabind.hpp:28,
                 from Contractor/EdgeBasedGraphFactory.h:59,
                 from Contractor/EdgeBasedGraphFactory.cpp:21:
/usr/include/luabind/detail/call_function.hpp:326:1: error: missing binary
operator before token "("
In file included from /usr/include/luabind/detail/constructor.hpp:12:0,
                 from /usr/include/luabind/class.hpp:96,
                 from /usr/include/luabind/luabind.hpp:28,
                 from Contractor/EdgeBasedGraphFactory.h:59,
                 from Contractor/EdgeBasedGraphFactory.cpp:21:
/usr/include/luabind/wrapper_base.hpp:92:1: error: missing binary operator
before token "("
In file included from /usr/include/luabind/class.hpp:107:0,
                 from /usr/include/luabind/luabind.hpp:28,
                 from Contractor/EdgeBasedGraphFactory.h:59,
                 from Contractor/EdgeBasedGraphFactory.cpp:21:
/usr/include/luabind/detail/call_member.hpp:319:1: error: missing binary
operator before token "("
scons: *** [Contractor/EdgeBasedGraphFactory.o] Error 1
scons: building terminated because of errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20130611/86b1cb5a/attachment.html>


More information about the OSRM-talk mailing list