Closed tabacha closed 12 years ago
Quick fix is to uninstall the debian packages of stxxl
Shall the option be --stxxl=/home/sven/stxxl-1.3.1 or --stxxlroot=/home/sven/stxxl-1.3.1 ?
The wiki page: https://github.com/DennisOSRM/Project-OSRM/wiki/Running-OSRM tell --stxxl=.. but in the file I can see stxxlroot=..
Both options do the same thing. Your Debian packages are picked up before your self-compiled ones.
scons --stxxlroot=/home/sven/stxxl-1.3.1/
and
scons --stxxl=/home/sven/stxxl-1.3.1/
gives output: ...
scons: Building targets ... g++ -o Algorithms/CRC32.o -c -O3 -DNDEBUG -march=native -fopenmp -I/usr/include -I/usr/include/include -I/usr/include/libxml2 Algorithms/CRC32.cpp g++ -o Contractor/EdgeBasedGraphFactory.o -c -O3 -DNDEBUG -march=native -fopenmp -I/usr/include -I/usr/include/include -I/usr/include/libxml2 Contractor/EdgeBasedGraphFactory.cpp In file included from /usr/include/c++/4.4/ext/hash_map:60, from /usr/include/include/stxxl/bits/compat_hash_map.h:24, from /usr/include/include/stxxl/bits/common/debug.h:23, from /usr/include/include/stxxl/bits/io/syscall_file.h:17, from /usr/include/include/stxxl/bits/io/io.h:17, from /usr/include/include/stxxl/io:13, from /usr/include/include/stxxl.h:18, from Contractor/../DataStructures/NNGrid.h:32, from Contractor/../DataStructures/NodeInformationHelpDesk.h:29, from Contractor/../typedefs.h:77, from Contractor/EdgeBasedGraphFactory.h:36, from Contractor/EdgeBasedGraphFactory.cpp:28: /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.
As you can see the include /home/sven/stxxl-1.3.1/include/ is not used.
Building on debian squeeze