Installing Libraries Windows - iat-cener/tonatiuh GitHub Wiki
Installing Required Libraries on Windows
Following the installation, the next step is to install the third-party libraries that Tonatiuh depends on. These libraries provide the functionality needed for graphics rendering, user interface components, file handling, and database support.
Thanks to MSYS2's package manager (pacman), most of these libraries can be installed directly from the console using simple commands. This greatly simplifies the process and ensures compatibility between components.
In this section, you will install the following libraries:
- Qt 5: for the graphical user interface (GUI), ray tracing parallelization, models handling
- Coin3D, SoQt: for 3D scene graph rendering and system-level utilities
- SQLite: for database support
- GTest: for unit testing support
All these libraries can be installed through the UCRT64 shell using the pacman command.
Details
The libraries needed are available to install in the package manager, so to install directly from the console:
- Start with the GCC toolchain:
$ pacman -S mingw-w64-ucrt-x86_64-toolchain
$ pacman -S mingw-w64-ucrt-x86_64-diffutils
$ pacman -Syu
- The following library is Qt:
$ pacman -S mingw-w64-ucrt-x86_64-qt5
$ pacman -Syu
- Continue installing Coin3D and its dependency Boost:
$ pacman -S mingw-w64-ucrt-x86_64-boost
$ pacman -S mingw-w64-ucrt-x86_64-coin
$ pacman -S mingw-w64-ucrt-x86_64-soqt-qt5
$ pacman -Syu
- The next library is SQLite:
$ pacman -S mingw-w64-ucrt-x86_64-sqlite
$ pacman -Syu
- The last library is GTest:
$ pacman -S mingw-w64-ucrt-x86_64-gtest
$ pacman -Syu
Once the GTest library is installed the next step is to install the Git version control system. To do it, follow the instructions in the Installing Git For Windows wiki page.