如何在 mac os x sierra 上安装 libX11-dev
How to install libX11-dev on mac os x sierra
我正在研究面部特征,因此我在 mac 上安装了 dlib。当我尝试从 learnopencv.com 执行 Xcode 中的程序时,编译器说:
error "DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. Turn DLIB_NO_GUI_SUPPORT off if you want to use it."
error "Also make sure you have libx11-dev installed on your system"
我已经安装了 XQuartz。我不知道该怎么办了。有人可以帮我从这里出去吗?
我被这个错误困扰了 3 天,最后修复了:
xcode-select --install
我正在研究面部特征,因此我在 mac 上安装了 dlib。当我尝试从 learnopencv.com 执行 Xcode 中的程序时,编译器说:
error "DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. Turn DLIB_NO_GUI_SUPPORT off if you want to use it."
error "Also make sure you have libx11-dev installed on your system"
我已经安装了 XQuartz。我不知道该怎么办了。有人可以帮我从这里出去吗?
我被这个错误困扰了 3 天,最后修复了:
xcode-select --install