我正在研究面部地标,因此我在我的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。我不知道该怎么办了。有人可以帮我从这里出去吗?
答案 0 :(得分:6)
我遭受了这个错误3天,最后修复了:
xcode-select --install