Ubuntu cmake environments - psychobilli/TrinityCoreIssues GitHub Wiki
TC 335
git clone https://github.com/psychobilli/TrinityCore.git TrinityCore
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/trinity335 -DTOOLS=0
TC Mod
git clone https://github.com/psychobilli/TrinityCore.git TrinityCoreMod
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/trinity335_mod -DTOOLS=0
TC 434
git clone https://gitlab.com/trinitycore/TrinityCore_434.git TrinityCore434
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/trinity434 -DTOOLS=0
TC Cata
git clone https://github.com/shinobizukin/TrinityCore.git TrinityCoreCata
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/trinity434_cata -DTOOLS=0
TC Cata Mod
git clone https://github.com/shinobizukin/TrinityCore.git TrinityCoreCataMod
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/trinity434_cata_mod -DTOOLS=0
Mangos Three in ./MangosThree --stropts.h error
git clone https://github.com/mangosthree/server.git --recursive --depth 1
git clone https://github.com/mangosthree/database.git --recursive --depth 1
cmake ../server -DCMAKE_INSTALL_PREFIX=/home/trinity/mangosthree434
When updating Trinity Core, it will probably be necessary to delete the build directory in the respective repository.
rm -rf [repodir]/build
cd build
The enter the cmake command listed above for the correct repo followed by the following command.
make install
Small updates usually only require the final command, but large updates typically require a complete rebuild.
If running into errors during builds when all dependencies are correct and up to date, try running through all the steps again.
This link is useful for updating boost: https://stackoverflow.com/questions/8430332/uninstall-boost-and-install-another-version
This page is useful for manually installing boost. https://onethinglab.com/2019/01/30/how-to-install-latest-boost-library-on-ubuntu/
A command to find boost.
whereis boost