Is someone using debian buster? I can't generate project file

Is someone using debian buster? I can't generate project file

hi friends
I have downloaded, unzipped, created new cocos project all successfully, now i want to generate codeblocks project file using cmake, but when i write

cmake -G ‘CodeBlocks - Ninja’

I receive this error

Cmake was unable to find a build program corresponding to ninja

How can i solve it? Or what other ide should i use?


Have you installed ninja?

I’m on Debian and Ubuntu

Not really, do i need to install Ninja-IDE even if want to code with Codeblocks?..

Anyway, Ninja IDE looks funny too…

Not ninja-IDE, ninja-build:

Well yes, i have downloaded the binary, the only file called ninja don’t know what to do with that, i have tried copying into my project folder but still i get the error:

CMake Error: CMake was unable to find a build program corresponding to “Ninja”. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
– Configuring incomplete, errors occurred!

What to do?

You need to put it in your PATH

And just do this:

sudo  apt-get install ninja-build

Thanks. looks like we got a bit far… :

– PROJECT_SOURCE_DIR:/home/miguel/Desktop/Cocos2dx/Akrasiel
– COCOS2DX_ROOT_PATH:/home/miguel/Desktop/Cocos2dx/Akrasiel/cocos2d
– CMAKE_MODULE_PATH:/home/miguel/Desktop/Cocos2dx/Akrasiel/cocos2d/cmake/Modules/
– PROJECT_BINARY_DIR:/home/miguel/Desktop/Cocos2dx/Akrasiel
– ENGINE_BINARY_PATH:/home/miguel/Desktop/Cocos2dx/Akrasiel/engine
– Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) **
– Checking for one of the modules 'fontconfig’
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
** Could NOT find Fontconfig (missing: FONTCONFIG_FOUND) (found version “”)

Call Stack (most recent call first):
** /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)**
** cocos2d/cmake/Modules/FindFontconfig.cmake:13 (find_package_handle_standard_args)**
** cocos2d/cmake/Modules/CocosBuildHelpers.cmake:273 (find_package)**
** cocos2d/cmake/Modules/CocosConfigDepend.cmake:11 (cocos_find_package)**
** cocos2d/cmake/Modules/CocosConfigDepend.cmake:91 (cocos2dx_depend)**
** cocos2d/cocos/CMakeLists.txt:131 (use_cocos2dx_libs_depend)**

– Configuring incomplete, errors occurred!


ok, i have installed all dependencies, lets check what next… thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.