|Unable to get Custom Build Step to work [message #1771765]
||Wed, 30 August 2017 09:00
| Shiran BI
Registered: August 2017
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
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.
Powered by FUDForum
. Page generated in 0.02715 seconds