xcode - GLEW and GLFW on Mac OS X (standalone) -
i built project on xcode using glew , glfw. cmake file given me tutorial, don't know how make 1 of cpp files build itself. when pasted code new standalone file, got errors:
error: gl/glew.h: no such file or directory error: glfw3.h: no such file or directory
i googled these errors, of solutions linux , did not work mac. glew , glfw indeed installed on system, since using them in xcode project. don't know how set correct paths when compiling standalone cpp file @ command line using g++.
use -i @ command line indicate include paths compiler should search
Comments
Post a Comment