Open SlavikCA opened 5 years ago
ok, figured solutions here: https://github.com/goodspb/pdlib/pull/13
I needed to install libx11-dev
even before dlib...
I'm having a similar issue:
/usr/local/include/dlib/gui_core/gui_core_kernel_2.h:11:2: error: #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 "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."
^ /usr/local/include/dlib/gui_core/gui_core_kernel_2.h:12:2: error: #error "Also make sure you have libx11-dev installed on your system"
error "Also make sure you have libx11-dev installed on your system"
^ Makefile:198: recipe for target 'src/face_detection.lo' failed
I'm trying to get FaceRecognition install and working on NextCloud. There's no X11 interface, only the Nextcloud WebGUI.
How do I get this to work? How do I turn DLIB_NO_GUI_SUPPORT off?
Thank you.
Take a look here, where we written installation instructions. I think, when you did ./configure
, you didn't have libx11-dev
, so ./configure
generate makefile with DLIB_NO_GUI_SUPPORT. Try adding libx11-dev and starting ./configure again.
But...you shouldn't have to hunt installation instruction on some non-related repo:) I will try to write it in README.md (here or in fork)
Thanks....finally got past the error by removing the folders dlib and pdlib and starting over.
Thanks....finally got past the error by removing the folders dlib and pdlib and starting over.
Thanks for your helpful tip!
Thanks....finally got past the error by removing the folders dlib and pdlib and starting over.
Yep, that did it for me too. I suspect I didn't install libx11-dev
until after building dlib the first time
Tried to follow README But
make
fails with this error:And yes, I have
libx11-dev
installed on my system.Any way around that issue?
Or is there
pdlib.so
I can download (where?) and use?