Unable to get Custom Build Step to work [message #1771765] |
Wed, 30 August 2017 05:00 |
Eclipse User |
|
|
|
I am trying to generate a protobuf .h and .cc from a .proto
I thought I'd use the custom build step option
In Output file name(s) I put
FullPathToOutputFolder\FileName.pb.cc;FullPathToOutputFolder\FileName.pb.h
In Command I wrote:
FullPathToProtoBuf\protoc -I FullPathToMyProtoFolder --cpp_out=FullPathToOutputFolder FullPathToTheProtoFile.proto
I get the following error
gmake: *** No rule to make target `FileName.pb.o', needed by `Name of lib'. Stop.
I looked at the subdir.mak and there is a rule for %.o so I don't understand why the error.
Also i don't understand why is it trying to compile the output of the custom build. I ask it to generate the file not compile it.
Any ideas?
|
|
|
Powered by
FUDForum. Page generated in 0.04198 seconds