-
-
Notifications
You must be signed in to change notification settings - Fork 2
Building V3D
-
GCC 11.2.0 (tested on this, but might also work with previous versions), you can check if it is already installed in your machine by running
gcc --version
OR
g++ --version
If this isn't already installed, run the following in MSYS2 MinGW shell
pacman -S gcc
-
GNU Make 4.3, you can check if it is already installed, though it already comes with mingw64 binutils package, by running
make --version
If this isn't already installed, run the following in MSYS2 MinGW shell
pacman -S make
-
Git version 2.35.1, git must be installed in your machine, you can check if it is already installed by running
git --version
If this isn't already installed, run the following in MSYS2 MinGW shell
pacman -S git
-
glslc, glslc can be installed as follows, run the following in MSYS2 MinGW shell
pacman -S mingw-w64-x86_64-shaderc
- Windows 64 bit
- GPU supporting vulkan api (integrated or discrete)
- Main memory (RAM) - No data as of now
- Disk space - No data as of now
- Better to have Vulkan LunarG SDK installed for additional debugging and vulkan configuration (validation layers), but it is not a requirement because the static library and headers are already included in the repository and would be updated as new updates will come in future.
-
Clone the repository by running the following command
git clone https://github.com/ravi688/VulkanRenderer.git
-
Change the working directory to
VulkanRenderer
and setup all the dependency git submodules by running the following commandcd VulkanRenderer make -s setup make -s update
-
Start building by running the following command
make -s build
OR
make -s build-debug
For release mode
make -s build-release
-
Change the working directory to
VulkanRenderer
and build themain.exe
executable by running the following commandmake -s debug
-
Now run the
main.exe
executable by running the following commandmain.exe
-
Change the working directory to
VulkanRenderer
and run the following commandmake -s clean