Package Details: cocos2d-x-src 3.15.1-2

Git Clone URL: (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:
Keywords: 2D 3D crossplatform engine framework game gamedev
Licenses: MIT License
Submitter: Samuelion
Maintainer: Rubonnek
Last Packager: Rubonnek
Votes: 9
Popularity: 0.004344
First Submitted: 2015-03-20 07:28
Last Updated: 2017-06-18 18:15

Required by (0)

Sources (49)

Latest Comments

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?


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:

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" {} \;

Rubonnek commented on 2016-01-31 22:54

I was able to compile and run the js-tests without issue.

Have you tried modifying the CMakeLists.txt as it's stated in ?

According to that post, adding


to CMakeLists.txt should fix the issue.

sirHermit commented on 2016-01-31 14:07

It doesn't compile on my 64-bit installation of Arch.

[100%] Linking CXX executable ../../../bin/js-tests/js-tests
/usr/bin/ld: ../../../../../external/websockets/prebuilt/linux/64-bit/libwebsockets.a(libwebsockets.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

How can I deal with that?

All comments