cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.21k stars 7.06k forks source link

cocos: no such command #20576

Open TamaMcGlinn opened 4 years ago

TamaMcGlinn commented 4 years ago

Steps to Reproduce:

  1. Clone the repository
  2. Follow all the readme steps for linux
    1. python download-deps.py
    2. git submodule update --init
    3. ./setup.py
    4. source ~/.bashrc
    5. ./install-linux-deps.sh
  3. Attempt 'Running tests', which requires the 'cocos' binary to be available, which it isn't because it hasn't been built yet.

I am assuming the step missing in the readme is to do mkdir build && cd build && cmake .. && make but this isn't obvious and should be in the README.

TamaMcGlinn commented 4 years ago

I've made a pullrequest to add this to the readme, since it now seems to be working.