viewtopic.php?t=79911
but since original question there was already solved I thought better to start another thread.
Back in the vcpkg brief time, I used to follow this process
viewtopic.php?p=1249160#p1249160
to make the builds.
Now back to the old wiki way
https://zdoom.org/wiki/Compile_ZDoom_on_Linux
I follow this, on a Debian box:
Code: Select all
sudo apt-get install libsdl2-dev libopenal-dev libvpx-dev git cmake build-essential libgtk-3-dev
cd Downloads/builds
git clone https://github.com/ZDoom/ZMusic.git
mkdir -p ZMusic/build/zmusic_install
cd ZMusic/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=zmusic_install
make -j $(nproc)
make install
cd ../.. # Back to directory Downloads/builds
git clone https://github.com/ZDoom/Raze.git
cd Raze
git checkout <version_number> # Latest stable instead of latest development version
mkdir -p build/raze_install
cd build
cp ../../ZMusic/build/zmusic_install/lib/libzmusiclite.so.1.1.12 libzmusiclite.so.1
cp -r ../../ZMusic/build/zmusic_install/include .
cmake .. -DZMUSIC_LIBRARIES=libzmusiclite.so.1 -DZMUSIC_INCLUDE_DIR=include -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=raze_install; echo $?
make -j $(nproc)
make installThis finally worked, and builds seemed to work properly. But now I have few lasting doubts regarding the dependencies.
---Among pulled dependencies there were the Mesa related ones, albeit they were called like "libegl1" instead of "libgl1" or "libglu1". Is EGL a new version of GL?
Why doesn't CMake ask for libvulkan libraries?
---For sound it does find libopenal, but doesn't ask for libmpg123-dev or libsndfile1-dev. Why?
---Library libgtk-3-dev was strictly not needed, but CMake complained about its absence with this:
Package 'gtk+-3.0', required by 'virtual:world', not found
What does it mean?
---Command "nproc" gives total number of CPU threads, but ZDoom wiki suggests a command giving total number of physical CPU cores. Which one to use for "make -j"?
---Is this "git config --local --add remote.origin.fetch +refs/tags/*:refs/tags/* && git pull" needed for git-cloning, or what was it for?
---When building a new release of GZDoom or Raze, can I always keep the same gzdoom.ini or raze.ini, or must I redo it from scratch if dragging from very old releases such as 4.8.x?
Thanks beforehand.
