Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessor linker error with libprotobuf #92

Open
GoogleCodeExporter opened this issue Oct 13, 2015 · 0 comments
Open

Preprocessor linker error with libprotobuf #92

GoogleCodeExporter opened this issue Oct 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 21 Dec 2012 at 10:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant