Open lexi-the-cute opened 1 year ago
Yeah, it seems that Debian's version of the Vulkan headers is missing some required declarations. What version of libvulkan-dev
do you have installed? (i.e. apt list libvulkan-dev
)
For now, if you just want to build Darling and don't particularly need Metal (there's not much of it implemented right now anyways), you can add -DENABLE_METAL=OFF
to the CMake configuration command.
~/Desktop/game main apt list libvulkan-dev
Listing... Done
libvulkan-dev/stable,now 1.2.162.0-1 amd64 [installed]
libvulkan-dev/stable,now 1.2.162.0-1 i386 [installed]
It appears your suggestion has worked.
The below commands are what I used to build Darling on my Debian system.
# Install Build Packages (Modified From https://docs.darlinghq.org/build-instructions.html)
sudo apt install cmake clang bison flex xz-utils libfuse-dev libudev-dev pkg-config \
libc6-dev-i386 libcap2-bin git git-lfs python2 libglu1-mesa-dev libcairo2-dev \
libgl1-mesa-dev libtiff5-dev libfreetype6-dev libxml2-dev libegl1-mesa-dev libfontconfig1-dev \
libbsd-dev libxrandr-dev libxcursor-dev libgif-dev libpulse-dev libavformat-dev libavcodec-dev \
libswresample-dev libdbus-1-dev libxkbfile-dev libssl-dev llvm-dev checkinstall
# Clone Darling
git clone --recursive https://github.com/darlinghq/darling.git
cd darling
# Update Sources Due To Spotty Internet Halting Cloning
git lfs install
git pull
git submodule update --init --recursive
# Make a build directory
mkdir build && cd build
# Configure Build
cmake .. -GNinja -DENABLE_METAL=OFF
# Build
ninja
# Build Deb Package To Install (This will take quite a few hours, so run it in a screen session and walk away)
#sudo checkinstall -D cmake --install .
sudo checkinstall --fstrans=yes --install=no -d 2 -D cmake --install .
So, it successfully builds, I just don't know if it works as I have problems like not being able to find shellspawn.sock and I had to symlink to my /proc directory.
Sorry for the long delay on the response, but what issues were you getting that led you to symlink the /proc
directory? That would actually cause issues with Darling since we mount our own /proc
within the container (so it needs to be an empty directory).
Could you try again with the latest commit on master
and see if you get the same issues?
Build Log What is the build error?
This error occurs regardless of if using ninja or make.
System Information What system are you building with?
It appears that Indium does not like Debian's latest version of the apt package
libvulkan-dev
.