i tried anything, this is the last wall i face before i get my game shows on the screen
/home/simoncillo/Desktop/cocos2d-x-3.17.2/build-AkrasielGame-Desktop_Qt_5_12_5_GCC_64bit-Debug/bin/AkrasielGame/AkrasielGame: error while loading shared libraries: /home/simoncillo/Desktop/cocos2d-x-3.17.2/AkrasielGame/cocos2d/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so.6: file too short
No symlink worked… what to do ?
i have downloaded cocos zipi, unpacked, installed dependencies, created my project, added flag to CMakeFiles.txt, compiled all this successfuly, but when i run my game, this error comes up…
downloaded official zip 3.17.2 (I guess that is the last one)
unzip the zip and moved the folder into desktop
enter into unzipped folder in desktop and then entered into build folder
execute install_dependency.py (I don’t remember name exactly my apologies)
some errors comes up, but it shows what dependencies I need to install so I have installed them manually using apt-get install (±13 dependencies approximately)
after all dependencies installed, I went to root folder and created my project
cocos new Akrasiel -p linux -l cpp
accepted license, then applied the tip about source and everything went ok…
then vim the CMakeFiles.txt and added the flag you gave me at almost top bottom of the file in Windows or Linux section, save it.
once that, I close terminal and open Qt Creator (the IDE I naturally use for many things, thanks God it support cocos!)
Open Qt Creator and then open File or Project, then search for the CMakeFiles.txt and Qt Creator generated successfully the project.
rebuild project (this took about 8 minutes).
Everything looks very fine until here, so I press Play or Run button and voila… the error exist status 127 file too short error comes up…
created the symlink using the same way as here: Here
no error shows up!..
returned to Qt Creator and try again, but same error occurs…
I am very close to see my game shows up, I feel that.
btw, after that, i tried to install manually those dependencies and all of them were installed correctly except libpng12-dev that was not available, instead this, i have installed libpng-dev
I say this, because i have checked that i need to re-run install-deps-linux.sh again after generating symlinks for libfmod.so file …
i followed just the same order as docs do.
the last part was to run, that is the part i have the problem Slack…
regarding to dependencies, i have re-run that (i mean, i have did that at its moment, and re do again after setting symlink as suggested in some post…
Yes, you should be using Ubuntu 18 all along. Debian 10 is very new. I will add Debian 10 to install doc just for clarity sake. Ubuntu is built on top of Debian.