构建cocos2d-x“hello world”应用程序时代码块出错

时间:2017-04-12 20:15:28

标签: c++ cocos2d-x codeblocks

错误:

  • 错误:'glfwSetWindowMonitor'未在此范围内声明

  • 目标'cocos2d / cocos / CMakeFiles / cocos2dInternal.dir / platform / desktop / CCGLViewImpl-desktop.cpp.o'的配方失败

  • 目标'cocos2d / cocos / CMakeFiles / cocos2dInternal.dir / all'的配方

  • 目标'all'的配方失败 enter image description here

1 个答案:

答案 0 :(得分:0)

在构建项目之前,您应该运行./frameworks/cocos2d-x/build/install-deps-linux.sh