Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Unable to get Custom Build Step to work
Unable to get Custom Build Step to work [message #1771765] Wed, 30 August 2017 05:00
Eclipse UserFriend
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?
Previous Topic:WORKSPACE_LOC and PROJECT_LOC path variables and linked resources
Next Topic:Branch coverage with GCov plugin (MinGw)
Goto Forum:
  


Current Time: Sun Mar 16 19:28:39 EDT 2025

Powered by FUDForum. Page generated in 0.04198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top