problem with glfw on centos6.4 when build libcocos2dx-2.2


#1

I try to build cocos2dx on my laptop with centos6.4,
the compiler generates lots of error message about glfw.
However I have glfw-3.0.3 installed on my system correctly.
Is there any one have the same problem??


prtscreen.jpg (581.5 KB)


#2

May be the link path is error.
I am not familiar with centos, and we have’t tested in that platform.
There are so many linux OS versions, we only tested on ubuntu.

If you use linux OS, we suppose you are familiar with these things.


#3

The link path is right.
I think it causes by different version of glfw library i used.
Which version did you guys use on ubuntu? mine is 3.0.3


#4

3.0.2. build/install-deps-linux.sh will download and install glfw on ubuntu.


#5

Did you talk about cocos2dx 2.2?
There is no build folder in my cocos2dx directory.


#6

On 2.2, it is install-deps-linux.sh at root of cocos2d-x.


#7

install-deps-linux.sh is not work on Centos
But i can sure now this problem is caused by glfw lib version mismatch.
cocos2dx 2.2 use oldder version of glfw!

Thanks for help zhang!


#8

You are welcome.