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

Problems with gcc version #21

Open
rjpereira opened this issue Feb 26, 2017 · 1 comment
Open

Problems with gcc version #21

rjpereira opened this issue Feb 26, 2017 · 1 comment

Comments

@rjpereira
Copy link

Wonder if someone can help. I believe there are some incompatibilities with latest version of gcc to compile this library but didn't find much information ...

Using gcc-c++ version 4.8.3

When doing the pip install a chain of errors fills the screen but the very beginning seems to be

writing manifest file 'imposm.parser.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
...
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/anaconda/include/python3.5m -c imposm/parser/pbf/osm.pb.cc -o build/temp.linux-x86_64-3.5/imposm/parser/pbf/osm.pb.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
...
imposm/parser/pbf/osm.pb.cc:586:24: error: expected '<' before '<:' token
if (static_cast<::google::protobuf::uint8>(tag) ==
^
imposm/parser/pbf/osm.pb.cc:586:24: error: expected type-specifier before '<:' token
imposm/parser/pbf/osm.pb.cc:586:24: error: expected '>' before '<:' token
:

any ideas where to look for the problem ? thanks

@unvaiso
Copy link

unvaiso commented Jun 23, 2017

Try adding CC=gcc-5 CXX=g++-5 before pip install imposm.parser

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

No branches or pull requests

2 participants