前言
-
install Xquatz
-
install glew
cd build
cmake ./cmake
make -j4
make install
- install glfw
md build && cd build
cmake ..
make
make install
- create command line cpp project in Xcode
- search path
1) lib: /usr/local/lib, /opt/X11/lib
2) header: /usr/local/include, /opt/X11/include
- link error for glfw
link with CoreFundation.Framework, IOKit, CoreVideo, ….