cocos2d x - Undefined reference to functions in CCGLViewImpl for Ubuntu in codeblocks -


i trying build cocos2-dx based project in code blocks. use ubuntu 14. got following errors

game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:287: undefined reference glfwseterrorcallback' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:348: undefined reference toglfwwindowhint' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:360: undefined reference glfwcreatewindow' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:361: undefined reference toglfwmakecontextcurrent' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:364: undefined reference glfwsetcursorposcallback' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:365: undefined reference toglfwsetscrollcallback' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:368: undefined reference glfwsetwindowposcallback' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:369: undefined reference toglfwsetframebuffersizecallback' game_dir/samplegame/cocos2d/cocos/platform/desktop/ccglviewimpl-desktop.cpp:371: undefined reference `glfwsetwindowiconifycallback'

i got answer own question.

i changed target platform unix, set all. added classes in cmake.txt. clean , build. worked.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -