make fails #21

Closed
bertdouglas opened this Issue Jun 28, 2012 · 1 comment

Projects

None yet

2 participants

@bertdouglas

Greetings all.

I am new to piqi. Just trying to get started. Posting problems as I encounter them.

bertd@beam-dev:~/piqi/tests/boot_proto2piqi$ make
g++ -I. -o proto2piqi proto2piqi.cc main.cc -lprotobuf -lprotoc -lpthread
main.cc:19:47: fatal error: google/protobuf/compiler/importer.h: No such file or directory
compilation terminated.
make: *** [proto2piqi] Error 1

I am using Debian testing. The protobufs include files are:

bertd@beam-dev:~$ ls /usr/include/google/protobuf
descriptor_database.h message_lite.h
descriptor.h reflection_ops.h
descriptor.pb.h repeated_field.h
descriptor.proto service.h
dynamic_message.h stubs
extension_set.h text_format.h
generated_message_reflection.h unknown_field_set.h
generated_message_util.h wire_format.h
io wire_format_lite.h
message.h wire_format_lite_inl.h
bertd@beam-dev:/usr/include/google/protobuf$

So the referenced include file really does not exist.
This seems like a real problem and not something I am doing wrong.

Thanks,
Bert Douglas

@alavrik
Owner
alavrik commented Jun 29, 2012

The failure clearly occurred when you attempted to run the tests, not the build itself. To resolve the problem, follow the instructions from the "prerequisites" section in tests/README.

@alavrik alavrik closed this Feb 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment