jl.da
jl.da

Reputation: 627

Cocos2d-x setup on Xcode 5

I want to start developing with C++ and Cocos2d-X, I am following the tutorial on their site, but when it fails when I run the Xcode project cocos2d_tests.xcodeproj. The error is Lexical or Preprocessor Issue 'glfw3.h' file not found.

Do I have to install this library before run the program? I have not done it because I have not found any requirements for running it.

Upvotes: 0

Views: 587

Answers (1)

essess
essess

Reputation: 277

glfw3 library comes along with cocos2dx. it is present in external folder of root cocos2dx folder. Please check "User Header search Paths" settings inside Build Settings of your target project. It should contain following line

$(SRCROOT)/../external/glfw3/include/mac

Upvotes: 1

Related Questions