You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think when the instructions were written the author was hosting a dlib build with DLIB_NO_GUI_SUPPORT not defined so there was GUI support. That repo doesn't appear to have libdlib-dev anymore (at least, not for bullseye that I can see). So, the apt command is falling back to the version from debian directly.
In ubuntu, It looks like DLIB_NO_GUI_SUPPORT is defined by default (davisking/dlib#1998) so there's no GUI support. That issue references ubuntu, but I think it's coming upstream from debian so affects you as well. The workaround is to build dlib from source code. You can see how from the pdlib repo instructions: https://github.com/goodspb/pdlib/
cd
sudo apt update \
&& apt install -y git cmake libavdevice-dev libavfilter-dev libavformat-dev libavcodec-dev libswresample-dev libswscale-dev libavutil-dev libjxl-dev libopenblas-dev liblapack-dev
git clone https://github.com/davisking/dlib.git
cd dlib/dlib
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON ..
make
make install
cd
rm -rf dlib
The rest of the instructions work fine as long as you already have libx11-dev installed (it was for nextcloud for me already). To be on the safe side, you could add libx11-dev to the end of that first apt install command to make sure it's installed before building dlib (else you'll also have GUI stuff disabled...).
@matiasdelellis, not sure if you want to update the instructions here or check your repo to see if it still has a libdlib-dev package to override the stock one from debian.
I failed to create a new container deepening on the instructions mentioned in the wiki page!
I always get this error message (tested on two different machines):
May you please help me to find out what's wrong?
docker-compose.yml
The text was updated successfully, but these errors were encountered: