Updating to glfw part 2

Updating to glfw part 2
0

#1

Hello,

Sorry the last topic got locked. I want to thanks @hexerror for the help. I was able to generate the lib. I had BUILD_SHARED_LIB on. It was suppose to be off.

But the static lib also gives me the Point/Size/Rect is ambiguous error. :slight_smile: I guess only work around for now is to add cocos2d::

I’m open for other solutions like making changes to glfw etc.

Thanks


#2

Yes, i remember now - i manually fixing glfw.h: you can just keep original cocos2d fixed glfw.h and replace only libglfw.a (in case you not need newer api, added in glfw git version), or you can edit cocos2d glfw.h by replacing/adding api’s from git glfw.h.