-
-
Notifications
You must be signed in to change notification settings - Fork 8
[EU] Install guide
- Visual Studio
- MSVC
- A GPU that supports Vulkan 1.3
- CMake
- Git (including the git bash)
- Git LFS
- make
- gcc compiler/libc that supports C++ 17
- CMake
- Vulkan-Loader and GPU drivers
- A GPU that supports Vulkan 1.2
On Ubuntu and maybe countless other binary distros, you are going to need some additional packages. For Ubuntu listed below
sudo apt-get install x11-xserver-utils libgl1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev gcc make g++ libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev libvulkan1 mesa-vulkan-drivers vulkan-utils libvulkan-dev libasound2-dev libflac-dev libogg-dev libtool libvorbis-dev libopus-dev libsndfile1-dev libglew-dev libssl-dev
- Clone the engine using
git
:git clone https://github.com/MadLadSquad/UntitledVulkanGameEngine.git --recursive
- Enter the new folder
- Run the
install.sh
script. This will install the necessary files for the game engine, but will not compile it. If the script failed, check out how to clean up your environment in the troubleshooting section below. Run instructions below:- On Windows, git bundles Git Bash which emulates the bash shell found on Linux, so you can run it with
./install.sh
or runbash install.sh
into CMD - On Linux, just run it with the terminal by using
./install.sh
- On Windows, git bundles Git Bash which emulates the bash shell found on Linux, so you can run it with
- Answer the prompts
- Wait
- If there is an error, read through the error log and go to Troubleshooting
After the installation script is finished, you can now create your project. To create a project, use the same script running instructions below and do the following
- Run
./create-project.sh
- Enter your application's name
- Wait
- If there was an error, read the error log and go to Troubleshooting
Builds sometimes fail and while it's important to report build problems to us here, it's also important to know how to rebuild once the problem is resolved. The issue is, without proper cleanup, you can't rerun the ./install.sh
script. Below are some things you can do:
- Delete the
build
folders under theUVKBuildTool
andUVKShaderCompiler
folders - Delete the
Projects
folder - Redownload the UVKShaderCompiler's dependencies
- Go to
UVKShaderCompiler/ThirdParty/shaderc/third_party/
- Delete all folders
- Go to
../utils
- Run
python3 git-sync-deps
,py git-sync-deps
,python git-sync-deps
or just./git-sync-deps
to redownload them
- Go to
- Go back to the engine directory
- Rerun
install.sh
This is a very common generation error, to fix it right-click on the UntitledVulkanGameEngine
project in the Solution Explorer
and click the Properties
button.
Next, navigate to the C/C++
section, expand the list and click on the Code Generation
. Inside the list view, you should see a setting called Basic Runtime Checks
, which you need to set to Default
Don't see your error here? Please create an issue to the GitHub issue tracker and send us your build log with your system instructions. This way, we can resolve your problem and if needed document it here if needed. Thanks for using the UntitledVulkanGameEngine 😀
This project is supported by all the people who joined our discord server and became beta testers. If you want to join the discord you can click here
- Home
- Beginner concepts
- Advanced concepts
- Engine developer and contributor resources