08 February 2017
版权声明:本文基于署名 2.5 中国大陆许可协议发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名elloop(包含链接)

前言

  1. install Xquatz

  2. install glew

cd build
cmake ./cmake
make -j4
make install
  1. install glfw
md build && cd build
cmake ..
make 
make install
  1. create command line cpp project in Xcode
  1. search path

1) lib: /usr/local/lib, /opt/X11/lib

2) header: /usr/local/include, /opt/X11/include

  1. link error for glfw

link with CoreFundation.Framework, IOKit, CoreVideo, ….


在这里也能看到这篇文章:github博客, CSDN博客, 欢迎访问



分享到