iPhone & Cocoa
cocos2d iPhone 샘플 프로젝트 빌드
iwoohaha
2010. 9. 15. 15:14
반응형
사이트에서 다운로드받은 프로젝트를 빌드하면 다음과 같은 에러가 발생한다. (Xcode 3.2.3)
#error CC_ENABLE_PROFILERS must be enabled. Edit ccConfig.h
빌드 에러가 발생하는 파일은 PerformanceNodeChildrenTest.m 이다.
PerformanceNodeChildrenTest.h 와 PerformanceNodeChildrenTest.m 파일에서
_profilingTimer
변수 사용 부분을
#if CC_ENABLE_PROFILERS
#endif
블럭으로 감싸주면 해결된다.
반응형