Open dmllr opened 3 years ago
Steps to Reproduce:
Clone the repo, download deps
git clone https://github.com/cocos2d/cocos2d-x.git cd cocos2d-x python2 download-deps.py git submodule update --init
Generate files
mkdir build cd build cmake ..
Build
make
Error happen when building CCFileUtils-apple.mm
CCFileUtils-apple.mm
[ 17%] Building CXX object engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o error: Objective-C was disabled in PCH file but is currently enabled 1 error generated. make[2]: *** [engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o] Error 1 make[1]: *** [engine/cocos/core/CMakeFiles/cocos2d.dir/all] Error 2 make: *** [all] Error 2
Steps to Reproduce:
Clone the repo, download deps
Generate files
Build
Error happen when building
CCFileUtils-apple.mm