Lab
Cocos2d-x :: Protocol Buffers
threeword
2013. 4. 24. 11:27
| 준비
1. full source download
: https://developers.google.com/protocol-buffers/
2. compile
: $ ./configure --prefix=/Users/threeword/protobuf/
: $ sudo make
: $ sudo make install
3. eclipse plugin install and settings
: 플러그인 설치 - http://protobuf-dt.googlecode.com/git/update-site (참고 https://code.google.com/p/protobuf-dt/)
: 설정 - preference > Protocal Buffer > Complie .proto files on save 체크
: Main Tab - 위에서 컴파일한 protoc 파일 경로 지정
: Options - 생성할 language 체크