You are not logged in.

#1 2014-05-10 20:00:23

luckybc
Member
Registered: 2014-04-25
Posts: 55

[SOLVED] cocos2d-x - missing glfw2

==> Making package: cocos2d-x-2 2.1.5-1 (Sun May 11 02:49:29 ICT 2014)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> glfw2
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

Error: glfw2 -> I have dowloaded from

https://aur.archlinux.org/packages/glfw2/

Result: Everything untils like above!

Last edited by luckybc (2014-09-14 04:51:26)

Offline

#2 2014-05-10 23:09:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] cocos2d-x - missing glfw2

Have you built and installed glfw2?



When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2014-05-11 08:09:18

luckybc
Member
Registered: 2014-04-25
Posts: 55

Re: [SOLVED] cocos2d-x - missing glfw2

Yes, I've  built and installed glfw2.

And now I have a problem with debian package manager:

[luckybc@gatemen cocos2d-x-2.1.5]$ chmod +x install-deps-linux.sh
[luckybc@gatemen cocos2d-x-2.1.5]$ ./install-deps-linux.sh
Checking for missing packages ...
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
./install-deps-linux.sh: line 19: dpkg-query: command not found
Missing packages: libx11-dev libxmu-dev libglu1-mesa-dev libgl2ps-dev libxi-dev libglfw-dev g++ libzip-dev libcurl4-gnutls-dev libfontconfig1-dev libsqlite3-dev libglew*-dev .
You may be asked for your password for package installation.
sudo: apt-get: command not found

Errors:  
1) sudo: apt-get: command not found
------------> It's from Debian

2) When I tried to make and installed dpkg

[luckybc@gatemen dpkg]$ makepkg PKGBUILD
==> Making package: dpkg 1.16.12-1 (Sun May 11 15:33:39 ICT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> perl-io-string
  -> perl-timedate
==> ERROR: Could not resolve all dependencies.

Errors: Where are the following missed dependecies ?:
---------------> perl-io-string
---------------> perl-timedate

Last edited by luckybc (2014-05-11 08:43:21)

Offline

#4 2014-05-12 12:27:15

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: [SOLVED] cocos2d-x - missing glfw2

luckybc,

why are you trying to run a script intended for debian on archlinux ?

Did you check the comment on the cocos-2d-x aur page and read the thread it links to ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2014-05-12 15:54:06

luckybc
Member
Registered: 2014-04-25
Posts: 55

Re: [SOLVED] cocos2d-x - missing glfw2

Lone_Wolf wrote:

luckybc,

why are you trying to run a script intended for debian on archlinux ?

Did you check the comment on the cocos-2d-x aur page and read the thread it links to ?

Yes, I  read it from the link in the forum:

https://bbs.archlinux.org/viewtopic.php?id=165320

And now I only can use the libraries in the cocos2d-x. It's terrible when cocos2d-x only can run on debian distributions.

Offline

#6 2014-05-13 12:21:58

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: [SOLVED] cocos2d-x - missing glfw2

Luckybc,

looks like they officially only support ubuntu 12.10 or later (cocos-2d-x version 3.0 ).
The current aur package tries to build v 2.1.5 , has problems according to the thread and hasn't been altered since it was submitted.
It does appear cocos-2d-x changed their build system to use cmake, so there's a chang building will be easier now.

The source is available, what's needed is someone willing to update/maintain the package.

source : https://github.com/cocos2d/cocos2d-x/ar … 3.0.tar.gz

Last edited by Lone_Wolf (2014-05-13 12:22:21)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2014-09-14 04:50:41

luckybc
Member
Registered: 2014-04-25
Posts: 55

Re: [SOLVED] cocos2d-x - missing glfw2

Sorry about this late post!

Thank you to you: karol and Lone_Wolf. I have done with cocos2d-x-3.2.

Offline

Board footer

Powered by FluxBB