Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:00
Shiran BI is currently offline Shiran BIFriend
Messages: 1
Registered: August 2017
Junior Member
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: Fri Apr 26 04:48:49 GMT 2024

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

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

Back to the top