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

Make with protobuf #16

Open
julien-ft opened this issue Jul 22, 2024 · 1 comment
Open

Make with protobuf #16

julien-ft opened this issue Jul 22, 2024 · 1 comment

Comments

@julien-ft
Copy link

Hi,

First of all, thank you for your work !

I have a problem when I try to make with protobuf :

[24%] Built target dot_dep
src/transitmap/output/protobuf/CMakeFiles/proto.dir/build.make:73: *** target pattern contains no '%'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:668: src/transitmap/output/protobuf/CMakeFiles/proto.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

This is the problematic line (line 73) :

src/transitmap/output/protobuf/vector_tile.pb.h: src/transitmap/output/protobuf/protobuf::protoc

When I remove protobuf packages and do again the cmake + make, it's works, i can generate json and svg

I work on Ubuntu 22.04.4 LTS

Thank you !

@pcace
Copy link

pcace commented Nov 18, 2024

had the same problem - i fixed it by installing the protobuf-compiler package too.
maybe it would be nice to add this to the required packages in the readme?
sudo apt install libprotobuf-dev protobuf-compiler

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