5

I am working on facial landmarks and therefore I have installed dlib on my mac. When I try to execute a program in Xcode from learnopencv.com, the compiler says:

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"

I already installed XQuartz. I don't know what to do anymore. Can anyone help me out here?

Smit Shilu
  • 345
  • 3
  • 17
CoderOfTheForce
  • 359
  • 7
  • 22

1 Answers1

6

I suffered from this error for 3 days and finally fixed with:

xcode-select --install
wpp
  • 7,093
  • 4
  • 33
  • 65
Terry Lam
  • 1,025
  • 1
  • 12
  • 13
  • 8
    `xcode-select: error: command line tools are already installed, use "Software Update" to install updates` – mrgloom Mar 04 '19 at 11:20