how to install cocos2d-js in linux?

Cocos2d-JS v3
  • xndroider
    Likes 0

    Problem Description

    i’m a newbie in the world of cocos2d-js. i can’t install cocos2d-js in linux. how can i install? please give me proper guideline. thanks in advance.

  • Sonar Systems admin
    Likes 0

    What steps have you followed so far?

  • xndroider
    Likes 0

    i can’t understand where to start. there is no sufficient guildeline for installing in linux.

  • Sonar Systems admin
    Likes 0

  • xndroider
    Likes 0

    yes, i tried but i can’t understand some point. would you explain the given point below please? “Make sure you have a working environment: See Prerequisites above. This means a working Python, having run cocos2d-x root/setup.py, updated your $PATH and run source ~/.bash_profile.

  • xndroider
    Likes 0

    now i’m facing problem in the given location, just Debug folder is generated, nothing else. what can i do?

    cocos2dx_root/build/linux-build/bin/
  • xndroider
    Likes 0

    i’ve seen the link https://discuss.cocos2d-x.org/t/error-while-building-for-linux-libfmod-so-6/26553/31?u=doyoque.

    lastly i’m getting problem

    /build/linux-build/bin/Release/cpp-tests$ ldd cpp-tests | grep -i fmod

     when i’m running this command, then output is coming like below line-

    ldd: ./cpp-tests: No such file or directory

    now what can i do?

     


  • xndroider
    Likes 0

    installation complete! :)

  • xndroider
    Likes 0

    now i can’t create new project. cocos can’t be found. :(

    for being sure, i’ve ran the command below-

    cocos -v

    but getting output-

    Command 'cocos' not found, did you mean:

      command 'cocoj' from deb coco-java
      command 'cococs' from deb coco-cs

    Try: sudo apt install <deb name>

  • xndroider
    Likes 0

    uff! at last! solved!! :)

  • Sonar Systems admin
    Likes 0

    Great to hear.

Login to reply