DennisOSRM/Project-OSRM — Issue #22: Compiling
Author: flocker
Created: 2011-10-25 09:31:45+00:00
State: open

I get compiling erros on Ubuntu 10.04. Anyone a solution. Thanks
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from Server/ServerConfiguration.h:24,
from routed.cpp:31:
Server/../Util/BaseConfiguration.h:76: error: wrong number of template arguments (1, should be 2)
/usr/include/boost/detail/container_fwd.hpp:80: error: provided for 'template struct std::vector'
Server/../Util/BaseConfiguration.h: In constructor 'BaseConfiguration::BaseConfiguration(const char*)':
Server/../Util/BaseConfiguration.h:45: error: wrong number of template arguments (1, should be 2)
/usr/include/boost/detail/container_fwd.hpp:80: error: provided for 'template struct std::vector'
Server/../Util/BaseConfiguration.h:45: error: invalid type in declaration before ';' token
Server/../Util/BaseConfiguration.h:47: error: request for member 'size' in 'tokens', which is of non-class type 'int'
Server/../Util/BaseConfiguration.h:48: error: invalid types 'int[int]' for array subscript
Server/../Util/BaseConfiguration.h:48: error: invalid types 'int[int]' for array subscript
Server/../Util/BaseConfiguration.h: In member function 'void BaseConfiguration::Tokenize(const std::string&, int&, const std::string&)':
Server/../Util/BaseConfiguration.h:84: error: request for member 'push_back' in 'tokens', which is of non-class type 'int'
scons: *** [routed.o] Error 1
scons: building terminated because of errors.