dillongoostudios / goo-engine

Custom build of blender with some extra NPR features.
Other
982 stars 129 forks source link

How to build the Goo engine? #63

Open TheoneandonlyCjcool opened 1 year ago

TheoneandonlyCjcool commented 1 year ago

Like the title says I well... am lost. Is there supposed to be an .exe file in the main file? //Thanks!

ThatFish4261 commented 1 year ago

It depends on what OS you're running. Generally, it is all the same with building stock blender, just replacing the blender git link with goo engine.

Example: instead of using git clone https://projects.blender.org/blender/blender.git, use git clone https://github.com/dillongoostudios/goo-engine.git

Just follow the official blender guide depending on your OS here.

TheoneandonlyCjcool commented 1 year ago

I have an error C2397: conversion from 'int' to 'const unsigned __int64' requires a narrowing conversion. And how do I fix it?

valtapaz commented 1 year ago

I'm getting the same issue after trying the Quick Setup; placing with a warning that also appeared but may be unrelated:

(my\path)\goo\source\blender\editors\object\object_constraint.c(2214,43): warning C4100: 'con': unreferenced formal parameter [(my\path)\build_windows_x64_vc17_Release\source\blender\editors\object\bf_editor_object.vcxproj]

(my\path)\goo\intern\ghost\intern\GHOST_Wintab.cc(193,14): error C2397: conversion from 'int' to 'const unsigned __int64' requires a narrowing conversion [(my\path)\build_windows_x64_vc17_Release\intern\ghost\bf_intern_ghost.vcxproj]

When I tried opening the generated exe, goo\build_windows_x64_vc17_Relese\bin\Release\blender-launcher.exe, I got a popup with the message, "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line scstrace.exe tool for more detail."

Software used when building: -Windows 11 x64 -Visual Studio 2022 -CMake 3.28.0-rc3 -(SVN) Slik Subversion 1.14.2b -Git 2.32.0 (also tried from downloading a ZIP of the source code without Git, but got the same result)

File the error pointed to (changed to TXT due to upload limitations): bf_intern_ghost.vcxproj.txt