Package Details: cocos2d-x-src 3.15.1-2

Git Clone URL: https://aur.archlinux.org/cocos2d-x-src.git (read-only)
Package Base: cocos2d-x-src
Description: Cocos2D-X is a game engine that supports multiple platforms such as iOS, Android, WinXP/7/8, WP8, BlackBerry, MeeGo, Marmelade, WebOS, Mac OS X
Upstream URL: http://cdn.cocos2d-x.org/
Keywords: 2D 3D crossplatform engine framework game gamedev
Licenses: MIT License
Submitter: Samuelion
Maintainer: Rubonnek
Last Packager: Rubonnek
Votes: 10
Popularity: 0.318921
First Submitted: 2015-03-20 07:28
Last Updated: 2017-08-01 18:25

Required by (0)

Sources (49)

Latest Comments

Rubonnek commented on 2017-07-29 16:05

I can't reproduce that issue. Make sure to update all of the python2 packages and/or reinstall python2.

mrbowtie commented on 2017-07-29 15:59

when makpkg:

==> Prepare to download external libraries!
Traceback (most recent call last):
File "download-deps.py", line 341, in <module>
main()
File "download-deps.py", line 335, in main
installer = CocosZipInstaller(workpath, os.path.join(workpath, 'external', 'config.json'), os.path.join(workpath, 'external', 'version.json'), "prebuilt_libs_version")
File "download-deps.py", line 97, in __init__
self._extracted_folder_name = os.path.join(self._workpath, self._repo_name + '-' + self._current_version[1:])
File "/usr/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)

Rubonnek commented on 2017-06-02 11:22

Thanks for pointing that out -- I forgot to run mksrcinfo again after modifying the PKGBUILD. It works now.

maiwald commented on 2017-06-02 09:40

Hey there, I cannot install the package. Installation using pacaur fails with:

cocos2d-x-src package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.

Having only little experience with Linux and packages in general, might the problem be that pgkrel in .SRCINFO was not properly updated in the latest release?

Cheers

HerbertFlunder commented on 2017-05-15 22:14

Yes, it's already installed.

Rubonnek commented on 2017-05-14 22:28

Have you tried installing glfw-wayland and then running 'cocos run -p linux'?

HerbertFlunder commented on 2017-05-14 21:09

After creating a new game and running:
cocos run -p linux
it compiles fine, but when the application starts I get:

GLFWError #65544 Happen, Wayland: Failed to connect to display
GLFWError #65537 Happen, The GLFW library is not initialized
Error launch application: Can't create window

Is there any way to fix this? Thank you.

ps.: I don't really need it to use wayland, x11 would be fine too.

Rubonnek commented on 2016-07-05 20:42

The substitution of the hard-written paths has been removed from the PKGBUILD.

The previous workaround has been updated in the wiki:
https://wiki.archlinux.org/index.php/Cocos2D-X#Python_Scripts_Workaround

Rubonnek commented on 2016-05-14 03:00

Thanks for the suggestion. It's now implemented in the latest PKGBUILD for Cocos2D-X v3.11.

DasFranck commented on 2016-05-07 15:32

I used the command below to have cocos working with python2 for the hard-writed paths:

sudo find /opt/cocos2d-x -exec sed -i "s/\/usr\/bin\/python$/\/usr\/bin\/python2/g" {} \;

All comments