-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
cd C:\blender-git
git clone https://github.com/UPBGE/blender.git
cd blender
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\windows_vc15
svn update
cd ..\\..\blender
git pull --rebase
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