How can I run this program?
Search Criteria
Package Details: cocos2d-x-release 3.2-3
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-01-19)
| Package Base: | cocos2d-x-release |
|---|---|
| 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/ |
| Category: | devel |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2014-02-11 04:58 |
| Last Updated: | 2014-10-05 01:46 |
Latest Comments
Comment by ikhthiandor
Anonymous comment
- A complete test for *this* package.
- Notice: are ~57 test, compilation can last long.
- Size: ~57.4 MB
https://www.wuala.com/daltomi/prog/cpp-tests_sources.tar.xz
Comment by Tamaasz
I don't use it anymore, so i will orphan it. You can update it by yourself.
Anonymous comment
@Tamaasz
Update PKGBUILD : http://codepad.org/SZ6z7fgf
@Hamidreza
With GCC 4.9.1 compiled fine.
Update example : http://www.wuala.com/daltomi/prog/HelloWorld.tar.xz
Comment by Hamidreza
/home/--/Downloads/cocos2d-x-release/src/cocos2d-x-3.2/cocos/3d/CCBundleReader.cpp:94:9: error: prototype for ‘ssize_t cocos2d::BundleReader::tell()’ does not match any in class ‘cocos2d::BundleReader’
ssize_t BundleReader::tell()
^
In file included from /home/--/Downloads/cocos2d-x-release/src/cocos2d-x-3.2/cocos/3d/CCBundleReader.cpp:1:0:
/home/hamidreza/Downloads/cocos2d-x-release/src/cocos2d-x-3.2/cocos/3d/CCBundleReader.h:90:14: error: candidate is: long int cocos2d::BundleReader::tell()
long int tell();
^
cocos/CMakeFiles/cocos2d.dir/build.make:1756: recipe for target 'cocos/CMakeFiles/cocos2d.dir/3d/CCBundleReader.cpp.o' failed
make[2]: *** [cocos/CMakeFiles/cocos2d.dir/3d/CCBundleReader.cpp.o] Error 1
CMakeFiles/Makefile2:378: recipe for target 'cocos/CMakeFiles/cocos2d.dir/all' failed
make[1]: *** [cocos/CMakeFiles/cocos2d.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
Anonymous comment
#Note:
cocos2d-x SDK [zip] : ~253 MiB
Package cocos2d-x-release [tar.xz] : ~3,5 MiB
Anonymous comment
This version has changed by 90%, then the PKGBUILD has changed a lot.
Example for C++: http://www.wuala.com/daltomi/prog/HelloWorld.tar.xz
This package does not support Android, but patches are welcome.
Comment by gaidal
community/fmodex should be listed as a dependency. At least the HelloCpp example won't start without it. Great work!
Comment by fajar
can you tell how to create new project for android using this package?
Anonymous comment
Note #1:
This package installs in /usr/lib/cocos2dx
This package installs in /usr/include/cocos2dx
Note #2:
-L/usr/lib/cocos2dx
-I/usr/include/cocos2dx
-DLINUX
Note #3:
-lcocos2d
-lcocosdenshion
-lextension <-- this is static, provider for cocos2dx
-lchipmunk <-- this is static, provider for cocos2dx
-lbox2d <-- this is static, provider for cocos2dx
-lcurl
-lpthread
-lGLEW
-lGL
Note #4:
For the problem mix absolute/relative path into source of cocos2d-x
COCOS_INC=/usr/include/cocos2dx
INCLUDE= -I${COCOS_INC} \
-I${COCOS_INC}/platform/linux \
-I${COCOS_INC}/platform \
-I${COCOS_INC}/kazmath/include
You may need to add more.