[OSRM-talk] OSRM Installation on MAC

Dennis Luxen info at project-osrm.org
Fri May 30 12:57:19 UTC 2014


Try updating to the latest version of Xcode.

—Dennis

Am 30.05.2014 um 14:53 schrieb Alessandra Donnini <a.donnini at etcware.it>:

> I followed all the steps for MAC in https://github.com/DennisOSRM/Project-OSRM/wiki/Building-OSRM 
> When I did:
>    mkdir -p build; cd build; cmake ..; make
> I received this:
> 
> -- The C compiler identification is Clang 5.0.0
> -- The CXX compiler identification is Clang 5.0.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Building on a 64 bit system
> -- Configuring OSRM in release mode
> -- Performing Test HAS_LTO_FLAG
> -- Performing Test HAS_LTO_FLAG - Success
> -- Performing Test HAS_LTO_PARTITION_FLAG
> -- Performing Test HAS_LTO_PARTITION_FLAG - Success
> -- Set Architecture to x64 on OS X
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> --   date_time
> --   filesystem
> --   iostreams
> --   program_options
> --   regex
> --   system
> --   thread
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - found
> -- Found Threads: TRUE  
> -- Found Lua52: /usr/local/lib/liblua.dylib (found version "5.1.5") 
> -- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.7.8") 
> -- Looking for Luabind...
> -- Found Luabind: /usr/local/lib/libluabind.dylib  
> -- Found Luabind: /usr/local/lib/libluabind.dylib
> -- Looking for STXXL...
> -- Found STXXL: /usr/local/lib/libstxxl.a  
> -- Found STXXL: /usr/local/lib/libstxxl.a
> -- Looking for OSMPBF...
> -- Found OSMPBF: /usr/local/lib/libosmpbf.a  
> -- Found OSMPBF: /usr/local/lib/libosmpbf.a
> -- Found PROTOBUF: /usr/local/lib/libprotobuf.dylib  
> -- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6") 
> -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib
> -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib - found
> -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /Users/ale/Sites/Project-OSRM/build
> Scanning dependencies of target COORDLIB
> [  2%] Building CXX object CMakeFiles/COORDLIB.dir/DataStructures/Coordinate.cpp.o
> In file included from /Users/ale/Sites/Project-OSRM/DataStructures/Coordinate.cpp:29:
> In file included from /Users/ale/Sites/Project-OSRM/DataStructures/../Util/MercatorUtil.h:31:
> /Users/ale/Sites/Project-OSRM/DataStructures/../Util/SimpleLogger.h:38:10: fatal error: 'mutex' file not found
> #include <mutex>
>          ^
> 1 error generated.
> make[2]: *** [CMakeFiles/COORDLIB.dir/DataStructures/Coordinate.cpp.o] Error 1
> make[1]: *** [CMakeFiles/COORDLIB.dir/all] Error 2
> make: *** [all] Error 2
> 
> This seems to me a operating system error, something related to mutex …
> Do you have any suggestion?
> Thanks
> Alessandra
> 
> 
> 
> 
> 
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk




More information about the OSRM-talk mailing list