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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -