xcode5 - How to add protocol buffer in cocos2d-x / c++ project -
i have been trying add together protocol buffer in cocos2dx project. have made .pb.h , .pb.cc when include them in project start give header file not found errors.
these files require next headers:
#include <google/protobuf/stubs/common.h> #include <google/protobuf/generated_message_util.h> #include <google/protobuf/message.h> . . i tried add together required files in project no luck. tried adding whole folder named google comes protocol buffer still no luck. using xcode.
what's proper way of adding protocol buffers in cocos2dx or in general c++ projects , resolve dependencies?
c++ xcode5 cocos2d-x protocol-buffers cocos2d-x-3.0
No comments:
Post a Comment