1,预备环境
 安装 brew:
  
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"安装glfw:
  
brew install glfw安装glew:
  
brew install glew2.编译
 下载源代码:
git clone https://github.com/AmazingZhen/AsRigidAsPossible_2d.git下载eigen:
 https://eigen.tuxfamily.org/index.php?title=Main_Page
 编写Makefile
INC      := -I ../3rdParty/eigen-3.4.0  -I /usr/local/Cellar/glfw/3.3.9/include  -I /usr/local/Cellar//glew/2.2.0_1/include  -I ARAP
LD_FLAGS= -L /usr/local/Cellar/glew/2.2.0_1/lib -lGLEW  -L/usr/local/Cellar/glfw/3.3.9/lib  -lglfw -framework OpenGL
#-framework GLUT -framework OpenGL -framework Cocoa -L  /usr/local/Cellar/glew/2.2.0_1/lib -lGLEW   -L/usr/local/Cellar/glfw/3.3.9/lib -lglfw
app: ARAP/arap.cpp   ARAP/main.cpp   ARAP/render.cpp
    clang++ -std=c++17 $^ -o $@ $(INC) $(LD_FLAGS)3,效果

另外:
类似 ldd:
 otool -L libglfw3.dylib
 类似 nm:
 dump_syms libglfw3.dylib







![壹[1],Xamarin开发](https://img-blog.csdnimg.cn/direct/65acb3728902496696914df418299bf3.png)

![[网络安全]IIS---FTP服务器 、serverU详解](https://img-blog.csdnimg.cn/direct/51c0f28d4c6243f6ac1de0e7a2d759a9.png)









