<div dir="ltr">Thanks for the reply.<div><br></div><div>Nice to know it should work without problem.</div><div><br></div><div>I can compile and build successfully on Ubuntu and have done so many times so I think I am following the instructions properly.</div><div><br></div><div>There are 2 scenarios:</div><div><br></div><div>1. I download just the binaries for release and try to use them.</div><div><br></div><div>All release files are in a single folder.</div><div><br></div><div>I copy the pbf file into the same folder</div><div><br></div><div>I copy car.lua into profile.lua in the same folder</div><div><br></div><div>They require vs2015 dll.</div><div><br></div><div>On the W10 Pc I have vs2015 installed </div><div><br></div><div>I have an osm.pbf file downloaded from  <a href="http://geofabrik.de">geofabrik.de</a> for british-isles-latest.osm.pbf. and a smaller one for ireland-northern-ireland.osm.pbf</div><div><br></div><div>The W10 PC is slow but has 4 cores and has 4GB ram. But I'm not fussed since I can leave it running.</div><div><br></div><div>The stxxl file that gets allocated is 1GB the default since it cannot find my ,stxxl config file which is in the same folder as everything else.</div><div><br></div><div>The log output from w10 is as follows:</div><div><br></div><div><div>D:\osrm_Release>osrm-extract ireland-and-northern-ireland.osm.pbf</div><div>[info] Input file: ireland-and-northern-ireland.osm.pbf</div><div>[info] Profile: profile.lua</div><div>[info] Threads: 4</div><div>[info] Using script profile.lua</div><div>[STXXL-MSG] STXXL v1.4.99 (prerelease/Release) (git 1babe452214b4613a2a488d80073f4185c05a0b3) + gnu parallel(__GLIBCXX__)</div><div>[STXXL-ERRMSG] Warning: no config file found.</div><div>[STXXL-ERRMSG] Using default disk configuration.</div><div>[STXXL-MSG] Disk 'C:\Users\johna\AppData\Local\Temp\stxxl.tmp' is allocated, space: 1000 MiB, I/O implementation: wincall delete_on_exit queue=0 devid=0</div><div>[info] Parsing in progress..</div><div>[info] input file generated by Osmium (<a href="http://wiki.openstreetmap.org/wiki/Osmium">http://wiki.openstreetmap.org/wiki/Osmium</a>)</div><div>[info] timestamp: 2013-01-12T19:52:00Z</div><div>[info] Using turn restrictions</div><div>[info] Found 3 exceptions to turn restrictions:</div><div>[info]   motorcar</div><div>[info]   motor_vehicle</div><div>[info]   vehicle</div><div><br></div><div>D:\osrm_Release></div></div><div><br></div><div>---------------------------------------------------------------------------------------</div><div>The W2008 server R2 system is on hyper-v and has 8gb ram and dual xeon 4 core</div><div><br></div><div>I had to install the 2105 C++ runtime to run the extract program since there is no vs2015 on this machine.</div><div><br></div><div>The stxxl file that gets allocated is 10GB</div><div><br></div><div><div>The log output for W2008 is as follows:</div><div><br></div><div>I have no idea where the funny characters come from in the log</div><div><div><br></div><div>D:\osrm_release>osrm-extract british-isles-latest.osm.pbf</div><div>[info] Input file: british-isles-latest.osm.pbf?[0m</div><div>[info] Profile: profile.lua?[0m</div><div>[info] Threads: 8?[0m</div><div>[info] Using script profile.lua?[0m</div><div>[STXXL-MSG] STXXL v1.4.99 (prerelease/Release) (git 1babe452214b4613a2a488d80073</div><div>f4185c05a0b3) + gnu parallel(__GLIBCXX__)</div><div>[STXXL-MSG] Disk 'c:\temp\stxxl' is allocated, space: 10000 MiB, I/O implementation: wincall queue=0 devid=0</div><div>[info] Parsing in progress..?[0m</div><div>[info] input file generated by Osmium (<a href="http://wiki.openstreetmap.org/wiki/Osmium">http://wiki.openstreetmap.org/wiki/Osmium</a></div><div>)?[0m</div><div>[info] timestamp: 2015-10-28T22:22:02Z?[0m</div><div>[info] Using turn restrictions?[0m</div><div>[info] Found 3 exceptions to turn restrictions:?[0m</div><div>[info]   motorcar?[0m</div><div>[info]   motor_vehicle?[0m</div><div>[info]   vehicle?[0m</div><div><br></div><div>D:\osrm_release></div></div><div>-------------------------------------------------------------------------------------------------</div><div><br></div><div>2. Compile from sources</div><div><br></div><div>This requires vs2013 which is installed on the W10 machine</div><div><br></div><div>I am using the batch files that come with the instructions</div><div><br></div><div>I download osrm4.9.1 and download all the other libraries needed for the compile.</div><div><br></div><div>The only file that does not compile is stxxl.</div><div><br></div><div>The compiler output is as follows:-</div><div><br></div><div><div>D:\osrm_utils>build_stxxl.bat</div><div><br></div><div>D:\osrm_utils>SET PREFIX="d:/libs18d"</div><div><br></div><div>D:\osrm_utils>SET VARIANT=Release</div><div><br></div><div>D:\osrm_utils>rem for older MSVC than VS 2013</div><div><br></div><div>D:\osrm_utils>rem SET BOOST_ROOT="d:/libs18/boost"</div><div><br></div><div>D:\osrm_utils>rem git clone <a href="https://github.com/DennisOSRM/stxxl.git">https://github.com/DennisOSRM/stxxl.git</a></div><div><br></div><div>D:\osrm_utils>git clone <a href="https://github.com/stxxl/stxxl.git">https://github.com/stxxl/stxxl.git</a></div><div>fatal: destination path 'stxxl' already exists and is not an empty directory.</div><div><br></div><div>D:\osrm_utils>cd stxxl</div><div><br></div><div>D:\osrm_utils\stxxl>mkdir build</div><div>A subdirectory or file build already exists.</div><div><br></div><div>D:\osrm_utils\stxxl>cd build</div><div><br></div><div>D:\osrm_utils\stxxl\build>cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="d:/libs18d"</div><div>-- Detected git refspec 1.4.1-360-g5b9663e sha 5b9663e6b769748f3b3d3a9a779b4b89e24d7a27</div><div>-- OpenMP found, enabling built-in parallel algorithms.</div><div>-- Using std::thread and other C++11 library functions.</div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: D:/osrm_utils/stxxl/build</div><div><br></div><div>D:\osrm_utils\stxxl\build>rem for older MSVC than VS 2013</div><div><br></div><div>D:\osrm_utils\stxxl\build>rem cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="d:/libs18d" -DBOOST_ROOT= -DBoost_USE_STATIC_LIBS=ON</div><div><br></div><div>D:\osrm_utils\stxxl\build>nmake install</div><div><br></div><div>Microsoft (R) Program Maintenance Utility Version 12.00.21005.1</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>[  2%] Building CXX object lib/CMakeFiles/stxxl.dir/common/log.cpp.obj</div><div>log.cpp</div><div>D:\osrm_utils\stxxl\include\stxxl/bits/common/mutex.h(187) : error C2797: 'stxxl::spin_lock::lck': list initialization inside member initializer list or non-static data member initializer is not implemented</div><div>NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~2.0\VC\bin\X86_AM~1\cl.exe' : return code '0x2'</div><div>Stop.</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'</div><div>Stop.</div><div>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'</div><div>Stop.</div><div><br></div><div>D:\osrm_utils\stxxl\build>cd ..</div><div><br></div><div>D:\osrm_utils\stxxl>cd ..</div><div><br></div><div>D:\osrm_utils></div></div><div>---------------------------------------------------------------------------------------------------------</div><div><br></div><div>If I compile osrm ignoring the fact that stxxl failed I get the following log. It might be helpful.</div><div><br></div><div><br></div><div><div>D:\osrm_utils>build_osrm.bat</div><div><br></div><div>D:\osrm_utils>SET PREFIX="d:/libs18d"</div><div><br></div><div>D:\osrm_utils>SET BOOST_ROOT="d:/libs/boost"</div><div><br></div><div>D:\osrm_utils>SET VARIANT=Release</div><div><br></div><div>D:\osrm_utils>set TBB_INSTALL_DIR=x:/tbb</div><div><br></div><div>D:\osrm_utils>set TBB_ARCH_PLATFORM=intel64/vc12</div><div><br></div><div>D:\osrm_utils>git clone <a href="https://github.com/alex85k/Project-OSRM.git">https://github.com/alex85k/Project-OSRM.git</a>  Project-OSRM</div><div>fatal: destination path 'Project-OSRM' already exists and is not an empty directory.</div><div><br></div><div>D:\osrm_utils>rem git clone <a href="https://github.com/DennisOSRM/Project-OSRM">https://github.com/DennisOSRM/Project-OSRM</a>  Project-OSRM</div><div><br></div><div>D:\osrm_utils>cd Project-OSRM</div><div><br></div><div>D:\osrm_utils\Project-OSRM>rem MORE STABLE</div><div><br></div><div>D:\osrm_utils\Project-OSRM>rem git checkout win-april14</div><div><br></div><div>D:\osrm_utils\Project-OSRM>rem Most fresh</div><div><br></div><div>D:\osrm_utils\Project-OSRM>git checkout win-038</div><div>Already on 'win-038'</div><div>Your branch is up-to-date with 'origin/win-038'.</div><div><br></div><div>D:\osrm_utils\Project-OSRM>rem git checkout develop</div><div><br></div><div>D:\osrm_utils\Project-OSRM>mkdir build</div><div>A subdirectory or file build already exists.</div><div><br></div><div>D:\osrm_utils\Project-OSRM>cd build</div><div><br></div><div>D:\osrm_utils\Project-OSRM\build>cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DBZIP2_INCLUDE_DIR="d:/libs18d"/include -DBZIP2_LIBRARIES="d:/libs18d"/lib/libbz2.lib -DCMAKE_INSTALL_PREFIX="d:/libs18d" -DBOOST_ROOT="d:/libs/boost" -DBoost_USE_STATIC_LIBS=ON</div><div>-- Building on a 64 bit system</div><div>-- Configuring OSRM in release mode</div><div>CMake Warning (dev) at CMakeLists.txt:112 (if):</div><div>  Policy CMP0054 is not set: Only interpret if() arguments as variables or</div><div>  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy</div><div>  details.  Use the cmake_policy command to set the policy and suppress this</div><div>  warning.</div><div><br></div><div>  Quoted variables like "MSVC" will no longer be dereferenced when the policy</div><div>  is set to NEW.  Since the policy is not set the OLD behavior will be used.</div><div>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div><br></div><div>CMake Warning (dev) at CMakeLists.txt:115 (elseif):</div><div>  Policy CMP0054 is not set: Only interpret if() arguments as variables or</div><div>  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy</div><div>  details.  Use the cmake_policy command to set the policy and suppress this</div><div>  warning.</div><div><br></div><div>  Quoted variables like "MSVC" will no longer be dereferenced when the policy</div><div>  is set to NEW.  Since the policy is not set the OLD behavior will be used.</div><div>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div><br></div><div>CMake Warning (dev) at CMakeLists.txt:118 (elseif):</div><div>  Policy CMP0054 is not set: Only interpret if() arguments as variables or</div><div>  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy</div><div>  details.  Use the cmake_policy command to set the policy and suppress this</div><div>  warning.</div><div><br></div><div>  Quoted variables like "MSVC" will no longer be dereferenced when the policy</div><div>  is set to NEW.  Since the policy is not set the OLD behavior will be used.</div><div>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div><br></div><div>CMake Warning (dev) at CMakeLists.txt:121 (elseif):</div><div>  Policy CMP0054 is not set: Only interpret if() arguments as variables or</div><div>  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy</div><div>  details.  Use the cmake_policy command to set the policy and suppress this</div><div>  warning.</div><div><br></div><div>  Quoted variables like "MSVC" will no longer be dereferenced when the policy</div><div>  is set to NEW.  Since the policy is not set the OLD behavior will be used.</div><div>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div><br></div><div>CMake Warning (dev) at CMakeLists.txt:143 (if):</div><div>  Policy CMP0054 is not set: Only interpret if() arguments as variables or</div><div>  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy</div><div>  details.  Use the cmake_policy command to set the policy and suppress this</div><div>  warning.</div><div><br></div><div>  Quoted variables like "MSVC" will no longer be dereferenced when the policy</div><div>  is set to NEW.  Since the policy is not set the OLD behavior will be used.</div><div>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div><br></div><div>-- Boost version: 1.55.0</div><div>-- Found the following Boost libraries:</div><div>--   date_time</div><div>--   filesystem</div><div>--   iostreams</div><div>--   program_options</div><div>--   regex</div><div>--   system</div><div>--   thread</div><div>--   date_time</div><div>--   chrono</div><div>--   zlib</div><div>--   atomic</div><div>-- Found Intel TBB</div><div>-- Looking for LuaJIT 5.2</div><div>-- Could NOT find LUAJIT (missing:  LUAJIT_LIBRARIES)</div><div>-- Looking for Luabind...</div><div>-- Found Luabind: D:/libs18d/lib/luabind.lib</div><div>-- Looking for STXXL...</div><div>CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):</div><div>  Could NOT find STXXL (missing: STXXL_LIBRARY STXXL_INCLUDE_DIR)</div><div>Call Stack (most recent call first):</div><div>  C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)</div><div>  cmake/FindSTXXL.cmake:43 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)</div><div>  CMakeLists.txt:226 (find_package)</div><div><br></div><div><br></div><div>-- Configuring incomplete, errors occurred!</div><div>See also "D:/osrm_utils/Project-OSRM/build/CMakeFiles/CMakeOutput.log".</div><div>See also "D:/osrm_utils/Project-OSRM/build/CMakeFiles/CMakeError.log".</div><div><br></div><div>D:\osrm_utils\Project-OSRM\build>rem use for debug:</div><div><br></div><div>D:\osrm_utils\Project-OSRM\build>rem cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DSTXXL_LIBRARY="d:/libs18d"/lib/stxxl_debug.lib -DBZIP2_INCLUDE_DIR="d:/libs18d"/include -DBZIP2_LIBRARIES="d:/libs18d"/lib/libbz2.lib -DCMAKE_INSTALL_PREFIX="d:/libs18d" -DBOOST_ROOT="d:/libs/boost" -DBoost_USE_STATIC_LIBS=ON</div><div><br></div><div>D:\osrm_utils\Project-OSRM\build>nmake</div><div><br></div><div>Microsoft (R) Program Maintenance Utility Version 12.00.21005.1</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>NMAKE : fatal error U1064: MAKEFILE not found and no target specified</div><div>Stop.</div><div><br></div><div>D:\osrm_utils\Project-OSRM\build>cd ..</div><div><br></div><div>D:\osrm_utils\Project-OSRM></div><div><br></div><div>Thanks for the interest and if I have left anything out or it does not make sense, let me know and I'll try and send it on.</div></div><div><br></div><div><br></div><div>The folder contents for compiling:-</div><div><br></div><div><div> Directory of D:\osrm_utils</div><div><br></div><div>27-Apr-16  15:17    <DIR>          .</div><div>27-Apr-16  15:17    <DIR>          ..</div><div>27-Apr-16  13:14    <DIR>          boost_1_55_0</div><div>26-Apr-16  17:55    <DIR>          boost_1_60_0</div><div>26-Apr-16  17:54               621 build_base.bat</div><div>27-Apr-16  14:41               282 build_boost.bat</div><div>27-Apr-16  13:51               954 build_osrm.bat</div><div>27-Apr-16  13:39             1,184 build_other.bat</div><div>27-Apr-16  16:56               541 build_stxxl.bat</div><div>27-Apr-16  13:08    <DIR>          bzip2-1.0.6</div><div>26-Apr-16  18:01    <DIR>          bzip2-1.0.6.tar</div><div>11-Sep-12  04:52            30,706 configure.js</div><div>26-Apr-16  17:48            17,930 has_member_function_callable_with.hpp</div><div>27-Apr-16  13:08    <DIR>          libxml2-2.9.0</div><div>27-Apr-16  14:20    <DIR>          lua</div><div>27-Apr-16  14:20    <DIR>          luabind</div><div>27-Apr-16  14:20    <DIR>          OSM-binary</div><div>26-Apr-16  18:02    <DIR>          osrm-backend-master</div><div>27-Apr-16  15:09    <DIR>          osrm-bin</div><div>27-Apr-16  13:52    <DIR>          Project-OSRM</div><div>27-Apr-16  14:20    <DIR>          protobuf</div><div>27-Apr-16  13:43    <DIR>          stxxl</div><div>26-Apr-16  17:48               901 stxxl_win_vs2012.patch</div><div>27-Apr-16  15:16    <DIR>          tbb</div><div>27-Apr-16  13:08    <DIR>          zlib-1.2.8</div><div>26-Apr-16  18:02    <DIR>          zlib-1.2.8.tar</div><div>               8 File(s)         53,119 bytes</div><div>              18 Dir(s)  149,039,063,040 bytes free</div><div><br></div><div>D:\osrm_utils></div></div><div><br></div><div>I had to copy configure.js into that folder so it could be found</div>-- </div><div><br></div><div><br><div class="gmail_signature"><b>John Aherne</b><div><b><br></b><div><b><img src="http://www.rocs.co.uk/Images/rocs_logo_sig.gif"><br></b></div><div><b><br></b></div><div><div><b><a href="http://www.rocs.co.uk" target="_blank">www.rocs.co.uk</a><br></b></div></div></div><div>020 7223 7567</div></div>
</div></div>