<div dir="ltr"><div>I am trying to build osrm as indicated in <a href="https://github.com/DennisOSRM/Project-OSRM/wiki/Building-OSRM"><font color="#0066cc">https://github.com/DennisOSRM/Project-O … lding-OSRM</font></a>. When I run "scon" command all checkings for the header files are going fine but at last when it really starts to build it produces the following errors</div>
<div> </div><div>Checking for C++ header file boost/thread/thread.hpp... (cached) yes<br>Checking for C++ header file boost/thread.hpp... (cached) yes<br>Checking for C++ header file boost/tuple/tuple.hpp... (cached) yes<br>
Checking for C++ header file boost/unordered_map.hpp... (cached) yes<br>scons: done reading SConscript files.<br>scons: Building targets ...<br>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<br>
In file included from /usr/include/luabind/wrapper_base.hpp:31:0,<br> from /usr/include/luabind/back_reference.hpp:27,<br> from /usr/include/luabind/class.hpp:93,<br> from /usr/include/luabind/luabind.hpp:28,<br>
from Contractor/EdgeBasedGraphFactory.h:59,<br> from Contractor/EdgeBasedGraphFactory.cpp:21:<br>/usr/include/luabind/detail/call_member.hpp:319:1: error: missing binary operator before token "("<br>
In file included from /usr/include/luabind/back_reference.hpp:27:0,<br> from /usr/include/luabind/class.hpp:93,<br> from /usr/include/luabind/luabind.hpp:28,<br> from Contractor/EdgeBasedGraphFactory.h:59,<br>
from Contractor/EdgeBasedGraphFactory.cpp:21:<br>/usr/include/luabind/wrapper_base.hpp:92:1: error: missing binary operator before token "("<br>In file included from /usr/include/luabind/function.hpp:10:0,<br>
from /usr/include/luabind/class.hpp:94,<br> from /usr/include/luabind/luabind.hpp:28,<br> from Contractor/EdgeBasedGraphFactory.h:59,<br> from Contractor/EdgeBasedGraphFactory.cpp:21:<br>
/usr/include/luabind/detail/call_function.hpp:326:1: error: missing binary operator before token "("<br>In file included from /usr/include/luabind/detail/constructor.hpp:12:0,<br> from /usr/include/luabind/class.hpp:96,<br>
from /usr/include/luabind/luabind.hpp:28,<br> from Contractor/EdgeBasedGraphFactory.h:59,<br> from Contractor/EdgeBasedGraphFactory.cpp:21:<br>/usr/include/luabind/wrapper_base.hpp:92:1: error: missing binary operator before token "("<br>
In file included from /usr/include/luabind/class.hpp:107:0,<br> from /usr/include/luabind/luabind.hpp:28,<br> from Contractor/EdgeBasedGraphFactory.h:59,<br> from Contractor/EdgeBasedGraphFactory.cpp:21:<br>
/usr/include/luabind/detail/call_member.hpp:319:1: error: missing binary operator before token "("<br>scons: *** [Contractor/EdgeBasedGraphFactory.o] Error 1<br>scons: building terminated because of errors.</div>
<div> </div><div>How can I get out from this?<br clear="all"><br>-- <br><a href="http://hishanmelanga.blogspot.com/" target="_blank">හිෂාන් මෙලංග | Hishan Melanga</a><br>
</div></div>