dillongoostudios / goo-engine

Custom build of blender with some extra NPR features.
Other
958 stars 123 forks source link

How to build the Goo engine? #63

Open TheoneandonlyCjcool opened 11 months ago

TheoneandonlyCjcool commented 11 months ago

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

ThatFish4261 commented 10 months 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 10 months 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 10 months 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