sábado, 18 de junho de 2016

Tentativa de Compilar o MAPS.ME

Maps.me compiling failure
Mapsme
omim


Error on Debian Testing 
clang-3.6

CONFIG=gtool omim/tools/unix/build_omim.sh -cro

Deu erro, why?

fatal error: error in backend: IO failure on output stream.
Makefile:12826: recipe for target '../out/release/tmp/generator/search_index_builder.o' failed
make[1]: *** [../out/release/tmp/generator/search_index_builder.o] Error 1
make[1]: ** Esperando que outros processos terminem.
fatal error: error in backend: IO failure on output stream.
Makefile:14002: recipe for target '../out/release/tmp/generator/tesselator.o' failed
make[1]: *** [../out/release/tmp/generator/tesselator.o] Error 1
fatal error: error in backend: IO failure on output stream.
Makefile:13886: recipe for target '../out/release/tmp/generator/statistics.o' failed
make[1]: *** [../out/release/tmp/generator/statistics.o] Error 1
fatal error: error in backend: IO failure on output stream.
Makefile:10974: recipe for target '../out/release/tmp/generator/osm_source.o' failed
make[1]: *** [../out/release/tmp/generator/osm_source.o] Error 1
make[1]: Leaving directory '/opt/omim-build-release/generator'
Makefile:334: recipe for target 'sub-generator-make_first' failed
make: *** [sub-generator-make_first] Error 2

Apaguei o diretório e rodei os comandos

git clone --depth=1 --recursive https://github.com/mapsme/omim.git

cd omim && \
echo | ./configure.sh && \
cd ../
CONFIG=gtool omim/tools/unix/build_omim.sh -cro

Deu erro de novo

[ 78%] Linking CXX executable osrm-mapsme
CMakeFiles/osrm-mapsme.dir/mapsme/converter.cpp.o: In function `mapsme::GenerateRoutingIndex(std::__cxx11::basic_string, std::allocator > const&)::{lambda(bool)#2}::operator()(bool) const':
converter.cpp:(.text+0x2161): undefined reference to `my::OnAssertFailed[abi:cxx11]'
converter.cpp:(.text+0x22e3): undefined reference to `my::OnAssertFailed[abi:cxx11]'
converter.cpp:(.text+0x240b): undefined reference to `my::LogMessage[abi:cxx11]'
converter.cpp:(.text+0x24fb): undefined reference to `my::OnAssertFailed[abi:cxx11]'
CMakeFiles/osrm-mapsme.dir/mapsme/converter.cpp.o: In function `mapsme::GenerateRoutingIndex(std::__cxx11::basic_string, std::allocator > const&)':
converter.cpp:(.text+0x334c): undefined reference to `my::LogMessage[abi:cxx11]'
converter.cpp:(.text+0x5269): undefined reference to `my::OnAssertFailed[abi:cxx11]'
converter.cpp:(.text+0x540d): undefined reference to `my::OnAssertFailed[abi:cxx11]'
converter.cpp:(.text+0x5ffa): undefined reference to `my::LogMessage[abi:cxx11]'
converter.cpp:(.text+0x63b0): undefined reference to `my::LogMessage[abi:cxx11]'
converter.cpp:(.text+0x6bbe): undefined reference to `my::LogMessage[abi:cxx11]'
collect2: error: ld returned 1 exit status
CMakeFiles/osrm-mapsme.dir/build.make:164: recipe for target 'osrm-mapsme' failed
make[2]: *** [osrm-mapsme] Error 1
CMakeFiles/Makefile2:530: recipe for target 'CMakeFiles/osrm-mapsme.dir/all' failed
make[1]: *** [CMakeFiles/osrm-mapsme.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


usando o comando:

git pull origin master omim
qmake omim.pro -spec linux-clang-libc++ CONFIG+=debug
e
make -j 4
ERROR:

clang++ -c -pipe -stdlib=libc++ -fdata-sections -ffunction-sections -g -fPIC -std=c++11 -Wall -W -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wno-unused-local-typedef -Wno-sign-conversion -Werror=return-type -D_REENTRANT -DDEBUG -D_DEBUG -DQT_CORE_LIB -I. -I.. -I../3party/boost -I../3party/glm -I../3party/gflags/src -I../3party/osrm/osrm-backend/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I../out/debug/tmp/generator -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang-libc++ -o ../out/debug/tmp/generator/osm2type.o osm2type.cpp
fatal error: error in backend: IO failure on output stream.
Makefile:18736: recipe for target '../out/debug/tmp/search/rank_table_cache.o' failed
make[1]: *** [../out/debug/tmp/search/rank_table_cache.o] Error 1
make[1]: Leaving directory '/opt/omim/search'
Makefile:267: recipe for target 'sub-search-make_first' failed
make: *** [sub-search-make_first] Error 2
clang++ -c -pipe -stdlib=libc++ -fdata-sections -ffunction-sections -g -fPIC -std=c++11 -Wall -W -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wno-unused-local-typedef -Wno-sign-conversion -Werror=return-type -D_REENTRANT -DDEBUG -D_DEBUG -I. -I.. -I../3party/boost -I../3party/glm -I../3party/freetype/include -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang-libc++ -o ../out/debug/tmp/drape/gpu_buffer.o gpu_buffer.cpp
fatal error: error in backend: IO failure on output stream.
Makefile:8061: recipe for target '../out/debug/tmp/generator/osm2meta.o' failed
make[1]: *** [../out/debug/tmp/generator/osm2meta.o] Error 1
make[1]: ** Esperando que outros processos terminem.
clang++ -c -pipe -stdlib=libc++ -fdata-sections -ffunction-sections -g -fPIC -std=c++11 -Wall -W -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wno-unused-local-typedef -Wno-sign-conversion -Werror=return-type -D_REENTRANT -DDEBUG -D_DEBUG -I. -I.. -I../3party/boost -I../3party/glm -I../3party/freetype/include -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang-libc++ -o ../out/debug/tmp/drape/gpu_program.o gpu_program.cpp
fatal error: error in backend: IO failure on output stream.
Makefile:6383: recipe for target '../out/debug/tmp/drape/glyph_manager.o' failed
make[1]: *** [../out/debug/tmp/drape/glyph_manager.o] Error 1
make[1]: ** Esperando que outros processos terminem.
fatal error: error in backend: IO failure on output stream.
Makefile:6575: recipe for target '../out/debug/tmp/drape/gpu_program.o' failed
make[1]: *** [../out/debug/tmp/drape/gpu_program.o] Error 1
make[1]: Leaving directory '/opt/omim/drape'
Makefile:428: recipe for target 'sub-drape-make_first' failed
make: *** [sub-drape-make_first] Error 2
fatal error: error in backend: IO failure on output stream.
Makefile:8649: recipe for target '../out/debug/tmp/generator/osm2type.o' failed
make[1]: *** [../out/debug/tmp/generator/osm2type.o] Error 1
make[1]: Leaving directory '/opt/omim/generator'
Makefile:367: recipe for target 'sub-generator-make_first' failed
make: *** [sub-generator-make_first] Error 2

20/06/2016
Alguma ideia???
Any ideas?

Nenhum comentário: