Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling with Ninja Generator and CLION #20774

Open
svbt opened this issue May 28, 2023 · 0 comments
Open

Compiling with Ninja Generator and CLION #20774

svbt opened this issue May 28, 2023 · 0 comments

Comments

@svbt
Copy link

svbt commented May 28, 2023

Hello,

Does this project support Ninja generator?

I am trying to compile with Ninja and see error below.

[414/640] Building CXX object engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o FAILED: engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o /usr/local/opt/llvm@16/bin/clang++ -DCOCOS2D_DEBUG=1 -DLWS_WITH_LIBUV -DUSE_FILE32API -D__APPLE__ -I/System/Library/Frameworks -I/Users/panpaliamahen/github/game/cocos2d-x -I/Users/panpaliamahen/github/game/cocos2d-x/cocos -I/Users/panpaliamahen/github/game/cocos2d-x/extensions -I/Users/panpaliamahen/github/game/cocos2d-x/cocos/platform -I/Users/panpaliamahen/github/game/cocos2d-x/cocos/editor-support -I/Users/panpaliamahen/github/game/cocos2d-x/external/recast/.. -I/Users/panpaliamahen/github/game/cocos2d-x/external/tinyxml2/. -I/Users/panpaliamahen/github/game/cocos2d-x/external/xxhash/. -I/Users/panpaliamahen/github/game/cocos2d-x/external/xxtea/. -I/Users/panpaliamahen/github/game/cocos2d-x/external/clipper/. -I/Users/panpaliamahen/github/game/cocos2d-x/external/edtaa3func/. -I/Users/panpaliamahen/github/game/cocos2d-x/external/ConvertUTF/. -I/Users/panpaliamahen/github/game/cocos2d-x/external/poly2tri/.. -I/Users/panpaliamahen/github/game/cocos2d-x/external/md5/.. -I/Users/panpaliamahen/github/game/cocos2d-x/external/unzip/. -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/Box2D/include -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/chipmunk/include -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/freetype2/include/mac/freetype2 -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/bullet/include -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/bullet/include/bullet -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/jpeg/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/openssl/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/uv/include -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/webp/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/websockets/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/curl/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/png/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/glfw3/include/mac -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/zlib/include -isystem /Users/panpaliamahen/github/game/cocos2d-x/external/glsl-optimizer/include -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6 -std=c++11 -Winvalid-pch -Xclang -include-pch -Xclang /Users/panpaliamahen/github/game/cocos2d-x/cmake-build-debug/engine/cocos/core/CMakeFiles/cocos2d.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /Users/panpaliamahen/github/game/cocos2d-x/cmake-build-debug/engine/cocos/core/CMakeFiles/cocos2d.dir/cmake_pch.hxx -MD -MT engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o -MF engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o.d -o engine/cocos/core/CMakeFiles/cocos2d.dir/platform/apple/CCFileUtils-apple.mm.o -c /Users/panpaliamahen/github/game/cocos2d-x/cocos/platform/apple/CCFileUtils-apple.mm error: Objective-C was disabled in PCH file but is currently enabled 1 error generated.

Please let me know if you need more information?

Thanks,
Mahendra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant