ubuntu apt install build-essential libgl1-mesa-dev *libglu1-mesa-dev libglut-dev(freeglut3-dev) Mac brew install glfw glew build phases 添加dylib build settings 添加search paths