I have a cocos2d-x project which use protobuf, it works well in PC (win7)，but I can’t run this project in xcode (Mac)。
osx version: lion 10.7.5
xcode version: 4.5.1
In PC , run “protoc —cpp_out=. test.proto” , get test.pb.h and test.pb.cc. My project works well with these file.
In Mac, run “protoc —objc_out=. test.proto” , get test.pb.h and test.pb.m.
Which file I can use in xcode? .m or .cc?? (cocos2d-x project)
How to use ?
Thank you in advance for your help.