-
-
Notifications
You must be signed in to change notification settings - Fork 183
Build UPBGE on Windows
The procedure is almost the same as for building blender:
https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Windows
You just need to replace blender url with upbge url: https://github.com/UPBGE/upbge.git
For upbge specific addons, you can download it from https://github.com/UPBGE/blender-addons and manually add it in addons_core
DEPRECATED:
cd C:\blender-git
git clone https://github.com/UPBGE/upbge.git
cd upbge
git submodule sync
git submodule update --init --recursive --remote
git submodule foreach git checkout master
git submodule foreach git pull --rebase origin master
For Windows 64 bits:
cd lib\win64_vc15
svn update
cd ..\\..\upbge
git pull --rebase
git submodule update --recursive --remote
git submodule foreach git pull --rebase origin master
These commands can be automated in a .bat (executable) file.
For now, the best is to build UPBGE with MSVC 2019.
Once you created the cmake files to build UPBGE, go into build folder, open blender.sln
Configure Visual Studio in Release mode (instead of Debug mode - default mode)
In the solution explorer, right click on INSTALL, then build.
Always ensure your libraries are up to date.
Always ensure that your sources are up to date.
Sometimes, you have to run CMake
again (configure, configure, then generate) before you build.
Some AntiVirus programs can prevent compilation. Add an exception in you AntiVirus in the folder where you build UPBGE