how to install cocos2d-js in linux?
Cocos2d-JS v3-
xndroiderLikes 0Problem 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 adminLikes 0
What steps have you followed so far?
-
xndroiderLikes 0
i can’t understand where to start. there is no sufficient guildeline for installing in linux.
-
Sonar Systems adminLikes 0
Have you tried this http://docs.cocos2d-x.org/cocos2d-x/en/installation/Linux.html
-
xndroiderLikes 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.”
-
xndroiderLikes 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/
-
xndroiderLikes 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?
-
xndroiderLikes 0
installation complete! :)
-
xndroiderLikes 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-csTry: sudo apt install <deb name>
-
xndroiderLikes 0
uff! at last! solved!! :)
-
Sonar Systems adminLikes 0
Great to hear.
Login to reply