m20io / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Preprocessor linker error with libprotobuf #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
g++ -m64 -Wl,-rpath,<path>/qtsdk/Desktop/Qt/473/gcc/lib -o 
../bin/monav-preprocessor commandlineparser.o pluginmanager.o log.o 
console-main.o directorypacker.o LzmaEnc.o LzFind.o moc_pluginmanager.o 
moc_log.o    -L<path>/qtsdk/Desktop/Qt/473/gcc/lib 
-L../bin/plugins_preprocessor -lmapnikrenderer -lcontractionhierarchies 
-lgpsgrid -losmrenderer -lqtilerenderer -lunicodetournamenttrie -losmimporter 
-ltestimporter -fopenmp -lmapnik2 -lbz2 -lz -lxml2 -lQtCore -lpthread 
../bin/plugins_preprocessor/libqtilerenderer.a(qtilerenderer.o): In function 
`PBFReader::PBFReader()':
<path>/plugins/osmrenderer/../../utils/osm/pbfreader.h:49: undefined reference 
to `google::protobuf::internal::VerifyVersion(int, int, char const*)'
...

needs 
LIBS += -lprotobuf
in 
preprocessor.pro
at least on Fedora 17

Original issue reported on code.google.com by robert.v...@gmx.de on 21 Dec 2012 at 10:14