dillongoostudios / goo-engine

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

Issues with Compiling Goo-Engine in Linux #29

Open Axis4s opened 1 year ago

Axis4s commented 1 year ago

OS: Arch Linux

I've been trying to compile it on my system and i've been getting some issues Im compile goo with the Pre-Compiled Binaries blender build manual recommends me to use https://wiki.blender.org/wiki/Building_Blender/Linux/Arch

Make Update:

Updating Precompiled Libraries and Tests (multiple repositories)

svn --non-interactive cleanup /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
svn --non-interactive switch https://svn.blender.org/svnroot/bf-blender/tags/blender-3.4-release/lib/linux_x86_64_glibc_228 /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
svn: E160013: '/svnroot/bf-blender/!svn/rvr/63273/tags/blender-3.4-release/lib/linux_x86_64_glibc_228' path not found
svn --non-interactive update /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
Updating '/home/axis4s/blender-git/lib/linux_x86_64_glibc_228':
At revision 63273.
svn --non-interactive cleanup /home/axis4s/blender-git/goo-engine/../lib/assets
svn --non-interactive switch https://svn.blender.org/svnroot/bf-blender/tags/blender-3.4-release/lib/assets /home/axis4s/blender-git/goo-engine/../lib/assets
At revision 63273.
svn --non-interactive update /home/axis4s/blender-git/goo-engine/../lib/assets
Updating '/home/axis4s/blender-git/lib/assets':
At revision 63273.

Updating Submodules

git submodule update --init --recursive
Cloning into '/home/axis4s/blender-git/goo-engine/release/datafiles/locale'...
fatal: unable to update url base from redirection:
  asked for: https://git.blender.org/blender-translations.git/info/refs?service=git-upload-pack
   redirect: https://projects.blender.org/?service=git-upload-pack
fatal: clone of 'https://git.blender.org/blender-translations.git' into submodule path '/home/axis4s/blender-git/goo-engine/release/datafiles/locale' failed
Failed to clone 'release/datafiles/locale'. Retry scheduled
Cloning into '/home/axis4s/blender-git/goo-engine/release/scripts/addons_contrib'...
fatal: unable to update url base from redirection:
  asked for: https://git.blender.org/blender-addons-contrib.git/info/refs?service=git-upload-pack
   redirect: https://projects.blender.org/?service=git-upload-pack
fatal: clone of 'https://git.blender.org/blender-addons-contrib.git' into submodule path '/home/axis4s/blender-git/goo-engine/release/scripts/addons_contrib' failed
Failed to clone 'release/scripts/addons_contrib'. Retry scheduled
Cloning into '/home/axis4s/blender-git/goo-engine/source/tools'...
fatal: unable to update url base from redirection:
  asked for: https://git.blender.org/blender-dev-tools.git/info/refs?service=git-upload-pack
   redirect: https://projects.blender.org/?service=git-upload-pack
fatal: clone of 'https://git.blender.org/blender-dev-tools.git' into submodule path '/home/axis4s/blender-git/goo-engine/source/tools' failed
Failed to clone 'source/tools'. Retry scheduled
Cloning into '/home/axis4s/blender-git/goo-engine/release/datafiles/locale'...
fatal: unable to update url base from redirection:
  asked for: https://git.blender.org/blender-translations.git/info/refs?service=git-upload-pack
   redirect: https://projects.blender.org/?service=git-upload-pack
fatal: clone of 'https://git.blender.org/blender-translations.git' into submodule path '/home/axis4s/blender-git/goo-engine/release/datafiles/locale' failed
Failed to clone 'release/datafiles/locale' a second time, aborting
make: *** [GNUmakefile:558: update] Error 1

Make Full:

Configuring Blender in "/home/axis4s/blender-git/build_linux_full" ...
loading initial cache file /home/axis4s/blender-git/goo-engine/build_files/cmake/config/blender_full.cmake
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for malloc_stats
-- Looking for malloc_stats - found
-- Found Git: /usr/bin/git (found version "2.39.2") 
-- Performing Test SUPPORT_NEON_BUILD
-- Performing Test SUPPORT_NEON_BUILD - Failed
-- Performing Test SUPPORT_SSE_BUILD
-- Performing Test SUPPORT_SSE_BUILD - Success
-- Performing Test SUPPORT_SSE2_BUILD
-- Performing Test SUPPORT_SSE2_BUILD - Success
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.39") 
-- Found Zstd: /usr/lib/libzstd.so  
-- Found Epoxy: /usr/lib/libepoxy.so  
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.13.0") 
-- Looking for FT_CONFIG_OPTION_USE_BROTLI
-- Looking for FT_CONFIG_OPTION_USE_BROTLI - found
-- Found PythonLibsUnix: /usr/lib/libpython3.10.so  
-- #define OPENEXR_VERSION_STRING "3.1.6"
-- Found OpenEXR: /usr/lib/libIex-3_1.so;/usr/lib/libOpenEXR-3_1.so;/usr/lib/libOpenEXRCore-3_1.so;/usr/lib/libIlmThread-3_1.so;/usr/lib/libImath-3_1.so  
-- Found OpenJPEG: /usr/lib/libopenjp2.so  
-- Found TIFF: /usr/lib/libtiff.so (found version "4.5.0")  
-- Found OpenAL: /usr/lib/libopenal.so  
-- Found SDL2: /usr/lib/libSDL2.so  
-- Found SndFile: /usr/lib/libsndfile.so  
-- Found FFmpeg: /usr/lib/libavcodec.so;/usr/lib/libavdevice.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so;/usr/lib/libswresample.so  
-- Found Fftw3: /usr/lib/libfftw3.so  
-- Found OpenCOLLADA: /usr/lib64/opencollada/libOpenCOLLADAStreamWriter.so;/usr/lib64/opencollada/libOpenCOLLADASaxFrameworkLoader.so;/usr/lib64/opencollada/libOpenCOLLADAFramework.so;/usr/lib64/opencollada/libOpenCOLLADABaseUtils.so;/usr/lib64/opencollada/libGeneratedSaxParser.so;/usr/lib64/opencollada/libMathMLSolver.so;/usr/lib64/opencollada/libbuffer.so;/usr/lib64/opencollada/libftoa.so;/usr/lib64/opencollada/libUTF.so  
-- Found PCRE: /usr/lib/libpcre.so  
-- Found XML2: /usr/lib/libxml2.so  
-- Found JeMalloc: /usr/lib/libjemalloc.so  
-- Found Spacenav: /usr/lib/libspnav.so  
-- Found OSL: /usr/lib/liboslcomp.so;/usr/lib/liboslexec.so;/usr/lib/liboslquery.so;/usr/lib/liboslnoise.so  
-- Found OpenVDB: /usr/lib/libopenvdb.so  
-- Found Blosc: /usr/lib/libblosc.so  
-- Could NOT find NanoVDB (missing: NANOVDB_INCLUDE_DIR) 
-- NanoVDB not found, disabling WITH_NANOVDB
-- Found Alembic: /usr/lib/libAlembic.so  
-- Could NOT find USD (missing: USD_LIBRARY USD_INCLUDE_DIR) 
-- USD not found, disabling WITH_USD
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.48") found components: filesystem regex thread date_time wave locale iostreams system 
-- Found PugiXML: /usr/lib/libpugixml.so  
-- Found WebP: /usr/lib/libwebp.so;/usr/lib/libwebpmux.so;/usr/lib/libwebpdemux.so  
-- Found OpenImageIO: /usr/lib/libOpenImageIO.so;/usr/lib/libOpenImageIO_Util.so  
-- Found OpenColorIO: /usr/lib/libOpenColorIO.so;/usr/lib/libyaml-cpp.so;/usr/lib/libexpat.so;/usr/lib/libpystring.so (found suitable version "2.2.1", minimum required is "2.0.0") 
-- Found Embree: /usr/lib/libembree3.so (Required is at least version "3.8.0") 
-- Found OpenImageDenoise: /usr/lib/libOpenImageDenoise.so  
-- Could NOT find LLVM (missing: LLVM_LIBRARY) 
-- LLVM not found, disabling WITH_LLVM
-- Found OpenSubdiv: /usr/lib/libosdGPU.so;/usr/lib/libosdCPU.so  
-- Found TBB: /usr/lib/libtbb.so  
-- Found XR_OpenXR_SDK: /usr/lib/libopenxr_loader.so  
-- Found GMP: /usr/lib/libgmp.so  
-- Found Potrace: /usr/lib/libpotrace.so  
-- Found Haru: /usr/lib/libhpdf.so  
-- Found OpenPGL: /usr/lib/libopenpgl.so.0.4.1
-- Found Threads: TRUE  
-- Found Jack: /usr/lib/libjack.so  
-- Found Pulse: /usr/lib/libpulse.so  
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'xkbcommon'
--   Found xkbcommon, version 1.5.0
-- Checking for module 'wayland-client>=1.12'
--   Found wayland-client, version 1.21.0
-- Checking for module 'wayland-egl'
--   Found wayland-egl, version 18.1.0
-- Checking for module 'wayland-scanner'
--   Found wayland-scanner, version 1.21.0
-- Checking for module 'wayland-cursor'
--   Found wayland-cursor, version 1.21.0
-- Checking for module 'wayland-protocols>=1.15'
--   Found wayland-protocols, version 1.31
-- Checking for module 'libdecor-0>=0.1'
--   Found libdecor-0, version 0.1.1
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Performing Test ATOMIC_OPS_WITHOUT_LIBATOMIC
-- Performing Test ATOMIC_OPS_WITHOUT_LIBATOMIC - Success
CMake Error at CMakeLists.txt:1108 (message):
  Cycles OSL requires WITH_LLVM, the library may not have been found.
  Configure LLVM or disable WITH_CYCLES_OSL

-- Configuring incomplete, errors occurred!
See also "/home/axis4s/blender-git/build_linux_full/CMakeFiles/CMakeOutput.log".
See also "/home/axis4s/blender-git/build_linux_full/CMakeFiles/CMakeError.log".
make: *** [GNUmakefile:354: all] Error 1

I've disabled Cycles Features in the CMakeLists file If i just do Make -j4, goo engine compiles til 3% and it ends with:

[  3%] Linking CXX static library ../../lib/libbf_intern_itasc.a
[  3%] Built target bf_intern_itasc
make[1]: *** [Makefile:166: all] Error 2
make: *** [GNUmakefile:357: all] Error 2
lx-fox commented 1 year ago

Having the same issues when updating the submodules on Windows

lx-fox commented 1 year ago

Found a hacky solution for now. Changing the Urls in the config file in the .git folder to the proper ones made it possible to clone the submodules and compile successfully. Here is how my config file looks now:

Had the same problem. It seams like the urls for the submodules changed. For a quick and dirty hack/fix you can go into the .git folder (hidden folder) and change the urls in the config file. Here is how i changed mine:

[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = https://github.com/dillongoostudios/goo-engine.git fetch = +refs/heads/:refs/remotes/origin/ [branch "goo-blender-master"] remote = origin merge = refs/heads/goo-blender-master [submodule "release/datafiles/locale"] active = true url = https://projects.blender.org/blender/blender-translations.git [submodule "release/scripts/addons"] active = true url = https://github.com/dillongoostudios/goo-blender-addons.git [submodule "release/scripts/addons_contrib"] active = true url = https://projects.blender.org/blender/blender-addons-contrib.git [submodule "source/tools"] active = true url = https://projects.blender.org/blender/blender-dev-tools.git

Axis4s commented 1 year ago

Found a hacky solution for now. Changing the Urls in the config file in the .git folder to the proper ones made it possible to clone the submodules and compile successfully. Here is how my config file looks now:

Had the same problem. It seams like the urls for the submodules changed. For a quick and dirty hack/fix you can go into the .git folder (hidden folder) and change the urls in the config file. Here is how i changed mine:

[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = https://github.com/dillongoostudios/goo-engine.git fetch = +refs/heads/:refs/remotes/origin/ [branch "goo-blender-master"] remote = origin merge = refs/heads/goo-blender-master [submodule "release/datafiles/locale"] active = true url = https://projects.blender.org/blender/blender-translations.git [submodule "release/scripts/addons"] active = true url = https://github.com/dillongoostudios/goo-blender-addons.git [submodule "release/scripts/addons_contrib"] active = true url = https://projects.blender.org/blender/blender-addons-contrib.git [submodule "source/tools"] active = true url = https://projects.blender.org/blender/blender-dev-tools.git

i'll try it out!

Axis4s commented 1 year ago

so what do i do now? make update?

lx-fox commented 1 year ago

Yes, afterwards do a make update and then make. It shoudl be able to clone the submodules now. And then it should be able to compile. Unless you still have another issue.

I fixed the issue in the source file now and will submit a pull request once i have finished testing that everything works.

Axis4s commented 1 year ago
[axis4s@axis goo-engine]$ make update

Updating Precompiled Libraries and Tests (multiple repositories)

svn --non-interactive cleanup /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
svn --non-interactive switch https://svn.blender.org/svnroot/bf-blender/tags/blender-3.4-release/lib/linux_x86_64_glibc_228 /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
svn: E160013: '/svnroot/bf-blender/!svn/rvr/63284/tags/blender-3.4-release/lib/linux_x86_64_glibc_228' path not found
svn --non-interactive update /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
Updating '/home/axis4s/blender-git/lib/linux_x86_64_glibc_228':
At revision 63284.

Updating Blender Git Repository

git pull --rebase
fatal: invalid refspec '+refs/heads/:refs/remotes/origin/'
make: *** [GNUmakefile:558: update] Error 128

I replaced the lines in config on the .git folder, then i got this i have the lib folder as the blender build manual told me to create on my blender-git folder, should i get rid of it? or move it?

mkdir ~/blender-git/lib
cd ~/blender-git/lib
svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_x86_64_glibc_228
lx-fox commented 1 year ago

Like I said it was a hacky solution. Did you change this line in in the config file (from your error messsage i assume you did)?

fetch = +refs/heads/:refs/remotes/origin/

If you have a backup of the file, try to only change the urls. The other stuff is specific to git and as I'm on windows is probably different than yours. Otherwise you can try to clone my fork that already has the fix integrated till I manage the pull request: this is the repository: https://github.com/lx-fox/goo-engine/tree/goo-blender-submodule-fix

Don't forget to change the branch to goo-blender-submodule-fix when cloning it.

Axis4s commented 1 year ago

Yeah i did, the config file looks like this:

[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://github.com/dillongoostudios/goo-engine.git
fetch = +refs/heads/:refs/remotes/origin/
[branch "goo-blender-master"]
remote = origin
merge = refs/heads/goo-blender-master
[submodule "release/datafiles/locale"]
active = true
url = https://projects.blender.org/blender/blender-translations.git
[submodule "release/scripts/addons"]
active = true
url = https://github.com/dillongoostudios/goo-blender-addons.git
[submodule "release/scripts/addons_contrib"]
active = true
url = https://projects.blender.org/blender/blender-addons-contrib.git
[submodule "source/tools"]
active = true
url = https://projects.blender.org/blender/blender-dev-tools.git

i'll try out your branch fix now

lx-fox commented 1 year ago

ok let me know if it works. If the fix also works for you I will send the pull request.

Axis4s commented 1 year ago

ok let me know if it works. If the fix also works for you I will send the pull request.

it looks promising

[axis4s@axis goo-engine]$ make update

Updating Precompiled Libraries and Tests (multiple repositories)

svn --non-interactive cleanup /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
svn --non-interactive switch https://svn.blender.org/svnroot/bf-blender/tags/blender-3.4-release/lib/linux_x86_64_glibc_228 /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
svn: E160013: '/svnroot/bf-blender/!svn/rvr/63284/tags/blender-3.4-release/lib/linux_x86_64_glibc_228' path not found
svn --non-interactive update /home/axis4s/blender-git/goo-engine/../lib/linux_x86_64_glibc_228
Updating '/home/axis4s/blender-git/lib/linux_x86_64_glibc_228':
At revision 63284.

Updating Blender Git Repository

git pull --rebase
Already up to date.

Updating Submodules

git submodule update --init --recursive
Submodule 'release/datafiles/locale' (https://projects.blender.org/blender/blender-translations.git) registered for path 'release/datafiles/locale'
Submodule 'release/scripts/addons' (https://github.com/dillongoostudios/goo-blender-addons.git) registered for path 'release/scripts/addons'
Submodule 'release/scripts/addons_contrib' (https://projects.blender.org/blender/blender-addons-contrib.git) registered for path 'release/scripts/addons_contrib'
Submodule 'source/tools' (https://projects.blender.org/blender/blender-dev-tools.git) registered for path 'source/tools'
Cloning into '/home/axis4s/blender-git/goo-engine/release/datafiles/locale'...

No error so far, it looks like it got 'stuck' on the Cloning into '/home/axis4s/blender-git/goo-engine/release/datafiles/locale'... i assume its probably downloading stuff

lx-fox commented 1 year ago

yes that one takes a moment. its downloading

Axis4s commented 1 year ago

yes that one takes a moment. its downloading

Updating Blender Git Repository

git pull --rebase
Already up to date.

Updating Submodules

git submodule update --init --recursive
Submodule 'release/datafiles/locale' (https://projects.blender.org/blender/blender-translations.git) registered for path 'release/datafiles/locale'
Submodule 'release/scripts/addons' (https://github.com/dillongoostudios/goo-blender-addons.git) registered for path 'release/scripts/addons'
Submodule 'release/scripts/addons_contrib' (https://projects.blender.org/blender/blender-addons-contrib.git) registered for path 'release/scripts/addons_contrib'
Submodule 'source/tools' (https://projects.blender.org/blender/blender-dev-tools.git) registered for path 'source/tools'
Cloning into '/home/axis4s/blender-git/goo-engine/release/datafiles/locale'...

Cloning into '/home/axis4s/blender-git/goo-engine/release/scripts/addons'...
Cloning into '/home/axis4s/blender-git/goo-engine/release/scripts/addons_contrib'...
Cloning into '/home/axis4s/blender-git/goo-engine/source/tools'...
Submodule path 'release/datafiles/locale': checked out 'e398d3c4969a37ae2ecff388344dd780bc1cfe82'
Submodule path 'release/scripts/addons': checked out '2b2c08b7d01c34bc32d3b6e93343b6f43f46f362'
Submodule path 'release/scripts/addons_contrib': checked out '886ea86bd9a0fd2761260a46356b728d51f2298a'
Submodule path 'source/tools': checked out 'dfa16042bf7149475ad318d29a8202d969982abb'
git fetch origin
git fetch origin
git fetch origin
git fetch origin

i think it finished, now i should do just a make, right?

lx-fox commented 1 year ago

yes now a make should do the rest.

Axis4s commented 1 year ago

yes now a make should do the rest.

got this issue:

[axis4s@axis goo-engine]$ make

Configuring Blender in "/home/axis4s/blender-git/build_linux" ...
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for malloc_stats
-- Looking for malloc_stats - found
-- Found Git: /usr/bin/git (found version "2.40.0") 
-- Performing Test SUPPORT_NEON_BUILD
-- Performing Test SUPPORT_NEON_BUILD - Failed
-- Performing Test SUPPORT_SSE_BUILD
-- Performing Test SUPPORT_SSE_BUILD - Success
-- Performing Test SUPPORT_SSE2_BUILD
-- Performing Test SUPPORT_SSE2_BUILD - Success
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")  
-- Found PNG: /usr/lib/libpng.so (found version "1.6.39") 
-- Found Zstd: /usr/lib/libzstd.so  
-- Found Epoxy: /usr/lib/libepoxy.so  
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.13.0") 
-- Looking for FT_CONFIG_OPTION_USE_BROTLI
-- Looking for FT_CONFIG_OPTION_USE_BROTLI - found
-- Found PythonLibsUnix: /usr/lib/libpython3.10.so  
-- #define OPENEXR_VERSION_STRING "3.1.6"
-- Found OpenEXR: /usr/lib/libIex-3_1.so;/usr/lib/libOpenEXR-3_1.so;/usr/lib/libOpenEXRCore-3_1.so;/usr/lib/libIlmThread-3_1.so;/usr/lib/libImath-3_1.so  
-- Found OpenJPEG: /usr/lib/libopenjp2.so  
-- Found TIFF: /usr/lib/libtiff.so (found version "4.5.0")  
-- Found OpenAL: /usr/lib/libopenal.so  
-- Found SDL2: /usr/lib/libSDL2.so  
-- Found SndFile: /usr/lib/libsndfile.so  
-- Found FFmpeg: /usr/lib/libavcodec.so;/usr/lib/libavdevice.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so;/usr/lib/libswresample.so  
-- Found Fftw3: /usr/lib/libfftw3.so  
-- Could NOT find OpenCOLLADA (missing: _opencollada_LIBRARIES _opencollada_INCLUDES) 
-- OpenCollada not found, disabling WITH_OPENCOLLADA
-- Could NOT find JeMalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR) 
-- JeMalloc not found, disabling WITH_MEM_JEMALLOC
-- Could NOT find Spacenav (missing: SPACENAV_LIBRARY SPACENAV_INCLUDE_DIR) 
-- SpaceNav not found, disabling WITH_INPUT_NDOF
-- Could NOT find OpenVDB (missing: OPENVDB_LIBRARY OPENVDB_INCLUDE_DIR) 
-- OpenVDB not found, disabling WITH_OPENVDB
-- Could NOT find NanoVDB (missing: NANOVDB_INCLUDE_DIR) 
-- NanoVDB not found, disabling WITH_NANOVDB
-- Could NOT find Alembic (missing: ALEMBIC_LIBRARY ALEMBIC_INCLUDE_DIR) 
-- Alembic not found, disabling WITH_ALEMBIC
-- Could NOT find USD (missing: USD_LIBRARY USD_INCLUDE_DIR) 
-- USD not found, disabling WITH_USD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem regex thread date_time locale system) (Required is at least version "1.48")
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem regex thread date_time locale system) (Required is at least version "1.48")
-- Found PugiXML: /usr/lib/libpugixml.so  
-- Found WebP: /usr/lib/libwebp.so;/usr/lib/libwebpmux.so;/usr/lib/libwebpdemux.so  
CMake Error at build_files/cmake/Modules/FindOpenImageIO.cmake:70 (FILE):
  FILE STRINGS file
  "/home/axis4s/blender-git/goo-engine/_openimageio_export-NOTFOUND" cannot
  be read.
Call Stack (most recent call first):
  build_files/cmake/platform/platform_unix.cmake:82 (find_package)
  build_files/cmake/platform/platform_unix.cmake:421 (find_package_wrapper)
  CMakeLists.txt:1075 (include)

-- Could NOT find OpenImageIO (missing: _openimageio_LIBRARIES OPENIMAGEIO_INCLUDE_DIR) 
-- OPENIMAGEIO not found, disabling WITH_OPENIMAGEIO
-- Found OpenColorIO: /usr/lib/libOpenColorIO.so;/usr/lib/libyaml-cpp.so;/usr/lib/libexpat.so;/usr/lib/libpystring.so (found suitable version "2.2.1", minimum required is "2.0.0") 
-- Could NOT find OpenImageDenoise (missing: OPENIMAGEDENOISE_LIBRARY OPENIMAGEDENOISE_INCLUDE_DIR) 
-- OpenImageDenoise not found, disabling WITH_OPENIMAGEDENOISE
-- Could NOT find OpenSubdiv (missing: _opensubdiv_LIBRARIES OPENSUBDIV_INCLUDE_DIR) 
-- OpenSubdiv not found, disabling WITH_OPENSUBDIV
-- Found TBB: /usr/lib/libtbb.so  
-- Could NOT find XR_OpenXR_SDK (missing: XR_OPENXR_SDK_LOADER_LIBRARY XR_OPENXR_SDK_INCLUDE_DIR) 
-- OpenXR-SDK not found, disabling WITH_XR_OPENXR
-- Found GMP: /usr/lib/libgmp.so  
-- Could NOT find Potrace (missing: POTRACE_LIBRARY POTRACE_INCLUDE_DIR) 
-- Potrace not found, disabling WITH_POTRACE
-- Could NOT find Haru (missing: HARU_LIBRARY HARU_INCLUDE_DIR) 
-- Haru not found, disabling WITH_HARU
-- Found Jack: /usr/lib/libjack.so  
-- Found Pulse: /usr/lib/libpulse.so  
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'xkbcommon'
--   Found xkbcommon, version 1.5.0
-- Checking for module 'wayland-client>=1.12'
--   Found wayland-client, version 1.21.0
-- Checking for module 'wayland-egl'
--   Found wayland-egl, version 18.1.0
-- Checking for module 'wayland-scanner'
--   Found wayland-scanner, version 1.21.0
-- Checking for module 'wayland-cursor'
--   Found wayland-cursor, version 1.21.0
-- Checking for module 'wayland-protocols>=1.15'
--   Found wayland-protocols, version 1.31
-- Checking for module 'libdecor-0>=0.1'
--   Found libdecor-0, version 0.1.1
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Performing Test ATOMIC_OPS_WITHOUT_LIBATOMIC
-- Performing Test ATOMIC_OPS_WITHOUT_LIBATOMIC - Success
-- SSE2 SIMD instructions enabled
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Performing Test C_WARN_ALL
-- Performing Test C_WARN_ALL - Success
-- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test C_WARN_ERROR_RETURN_TYPE
-- Performing Test C_WARN_ERROR_RETURN_TYPE - Success
-- Performing Test C_WARN_ERROR_VLA
-- Performing Test C_WARN_ERROR_VLA - Success
-- Performing Test C_WARN_STRICT_PROTOTYPES
-- Performing Test C_WARN_STRICT_PROTOTYPES - Success
-- Performing Test C_WARN_MISSING_PROTOTYPES
-- Performing Test C_WARN_MISSING_PROTOTYPES - Success
-- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS
-- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS - Success
-- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS
-- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS - Success
-- Performing Test C_WARN_POINTER_ARITH
-- Performing Test C_WARN_POINTER_ARITH - Success
-- Performing Test C_WARN_UNUSED_PARAMETER
-- Performing Test C_WARN_UNUSED_PARAMETER - Success
-- Performing Test C_WARN_WRITE_STRINGS
-- Performing Test C_WARN_WRITE_STRINGS - Success
-- Performing Test C_WARN_LOGICAL_OP
-- Performing Test C_WARN_LOGICAL_OP - Success
-- Performing Test C_WARN_UNDEF
-- Performing Test C_WARN_UNDEF - Success
-- Performing Test C_WARN_INIT_SELF
-- Performing Test C_WARN_INIT_SELF - Success
-- Performing Test C_WARN_MISSING_INCLUDE_DIRS
-- Performing Test C_WARN_MISSING_INCLUDE_DIRS - Success
-- Performing Test C_WARN_NO_DIV_BY_ZERO
-- Performing Test C_WARN_NO_DIV_BY_ZERO - Success
-- Performing Test C_WARN_TYPE_LIMITS
-- Performing Test C_WARN_TYPE_LIMITS - Success
-- Performing Test C_WARN_FORMAT_SIGN
-- Performing Test C_WARN_FORMAT_SIGN - Success
-- Performing Test C_WARN_RESTRICT
-- Performing Test C_WARN_RESTRICT - Success
-- Performing Test C_WARN_NO_NULL
-- Performing Test C_WARN_NO_NULL - Success
-- Performing Test C_WARN_ABSOLUTE_VALUE
-- Performing Test C_WARN_ABSOLUTE_VALUE - Success
-- Performing Test C_WARN_UNINITIALIZED
-- Performing Test C_WARN_UNINITIALIZED - Success
-- Performing Test CXX_WARN_UNINITIALIZED
-- Performing Test CXX_WARN_UNINITIALIZED - Success
-- Performing Test C_WARN_REDUNDANT_DECLS
-- Performing Test C_WARN_REDUNDANT_DECLS - Success
-- Performing Test CXX_WARN_REDUNDANT_DECLS
-- Performing Test CXX_WARN_REDUNDANT_DECLS - Success
-- Performing Test C_WARN_SHADOW
-- Performing Test C_WARN_SHADOW - Success
-- Performing Test C_WARN_NO_ERROR_UNUSED_BUT_SET_VARIABLE
-- Performing Test C_WARN_NO_ERROR_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test CXX_WARN_ALL
-- Performing Test CXX_WARN_ALL - Success
-- Performing Test CXX_WARN_NO_INVALID_OFFSETOF
-- Performing Test CXX_WARN_NO_INVALID_OFFSETOF - Success
-- Performing Test CXX_WARN_NO_SIGN_COMPARE
-- Performing Test CXX_WARN_NO_SIGN_COMPARE - Success
-- Performing Test CXX_WARN_LOGICAL_OP
-- Performing Test CXX_WARN_LOGICAL_OP - Success
-- Performing Test CXX_WARN_INIT_SELF
-- Performing Test CXX_WARN_INIT_SELF - Success
-- Performing Test CXX_WARN_MISSING_INCLUDE_DIRS
-- Performing Test CXX_WARN_MISSING_INCLUDE_DIRS - Success
-- Performing Test CXX_WARN_NO_DIV_BY_ZERO
-- Performing Test CXX_WARN_NO_DIV_BY_ZERO - Success
-- Performing Test CXX_WARN_TYPE_LIMITS
-- Performing Test CXX_WARN_TYPE_LIMITS - Success
-- Performing Test CXX_WARN_ERROR_RETURN_TYPE
-- Performing Test CXX_WARN_ERROR_RETURN_TYPE - Success
-- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS
-- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS - Success
-- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS
-- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS - Success
-- Performing Test CXX_WARN_POINTER_ARITH
-- Performing Test CXX_WARN_POINTER_ARITH - Success
-- Performing Test CXX_WARN_UNUSED_PARAMETER
-- Performing Test CXX_WARN_UNUSED_PARAMETER - Success
-- Performing Test CXX_WARN_WRITE_STRINGS
-- Performing Test CXX_WARN_WRITE_STRINGS - Success
-- Performing Test CXX_WARN_UNDEF
-- Performing Test CXX_WARN_UNDEF - Success
-- Performing Test CXX_WARN_FORMAT_SIGN
-- Performing Test CXX_WARN_FORMAT_SIGN - Success
-- Performing Test CXX_WARN_RESTRICT
-- Performing Test CXX_WARN_RESTRICT - Success
-- Performing Test CXX_WARN_NO_SUGGEST_OVERRIDE
-- Performing Test CXX_WARN_NO_SUGGEST_OVERRIDE - Success
-- Performing Test CXX_WARN_MISSING_DECLARATIONS
-- Performing Test CXX_WARN_MISSING_DECLARATIONS - Success
-- Performing Test C_WARN_IMPLICIT_FALLTHROUGH
-- Performing Test C_WARN_IMPLICIT_FALLTHROUGH - Success
-- Performing Test CXX_WARN_IMPLICIT_FALLTHROUGH
-- Performing Test CXX_WARN_IMPLICIT_FALLTHROUGH - Success
-- Performing Test C_WARN_NO_DEPRECATED_DECLARATIONS
-- Performing Test C_WARN_NO_DEPRECATED_DECLARATIONS - Success
-- Performing Test C_WARN_NO_UNUSED_PARAMETER
-- Performing Test C_WARN_NO_UNUSED_PARAMETER - Success
-- Performing Test C_WARN_NO_UNUSED_FUNCTION
-- Performing Test C_WARN_NO_UNUSED_FUNCTION - Success
-- Performing Test C_WARN_NO_TYPE_LIMITS
-- Performing Test C_WARN_NO_TYPE_LIMITS - Success
-- Performing Test C_WARN_NO_INT_IN_BOOL_CONTEXT
-- Performing Test C_WARN_NO_INT_IN_BOOL_CONTEXT - Success
-- Performing Test C_WARN_NO_FORMAT
-- Performing Test C_WARN_NO_FORMAT - Success
-- Performing Test C_WARN_NO_SWITCH
-- Performing Test C_WARN_NO_SWITCH - Success
-- Performing Test C_WARN_NO_UNUSED_VARIABLE
-- Performing Test C_WARN_NO_UNUSED_VARIABLE - Success
-- Performing Test CXX_WARN_NO_CLASS_MEMACCESS
-- Performing Test CXX_WARN_NO_CLASS_MEMACCESS - Success
-- Performing Test CXX_WARN_NO_COMMENT
-- Performing Test CXX_WARN_NO_COMMENT - Success
-- Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS
-- Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS - Success
-- Performing Test CXX_WARN_NO_UNUSED_VARIABLE
-- Performing Test CXX_WARN_NO_UNUSED_VARIABLE - Success
-- Performing Test C_WARN_NO_IMPLICIT_FALLTHROUGH
-- Performing Test C_WARN_NO_IMPLICIT_FALLTHROUGH - Success
CMake Warning at build_files/cmake/macros.cmake:1139 (message):
  Python package 'numpy' path could not be found in:

  '/usr/lib64/python3.10/site-packages/numpy',
  '/usr/lib64/python3/site-packages/numpy',
  '/usr/lib64/python3.10/dist-packages/numpy',
  '/usr/lib64/python3/dist-packages/numpy',
  '/usr/lib64/python3.10/vendor-packages/numpy',
  '/usr/lib64/python3/vendor-packages/numpy',

  The 'WITH_PYTHON_INSTALL_NUMPY' option will be ignored when installing
  Python.

  The build will be usable, only add-ons that depend on this package won't be
  functional.
Call Stack (most recent call first):
  CMakeLists.txt:1680 (find_python_package)

CMake Warning at build_files/cmake/macros.cmake:1139 (message):
  Python package 'requests' path could not be found in:

  '/usr/lib64/python3.10/site-packages/requests',
  '/usr/lib64/python3/site-packages/requests',
  '/usr/lib64/python3.10/dist-packages/requests',
  '/usr/lib64/python3/dist-packages/requests',
  '/usr/lib64/python3.10/vendor-packages/requests',
  '/usr/lib64/python3/vendor-packages/requests',

  The 'WITH_PYTHON_INSTALL_REQUESTS' option will be ignored when installing
  Python.

  The build will be usable, only add-ons that depend on this package won't be
  functional.
Call Stack (most recent call first):
  CMakeLists.txt:1687 (find_python_package)

CMake Warning at build_files/cmake/macros.cmake:1139 (message):
  Python package 'zstandard' path could not be found in:

  '/usr/lib64/python3.10/site-packages/zstandard',
  '/usr/lib64/python3/site-packages/zstandard',
  '/usr/lib64/python3.10/dist-packages/zstandard',
  '/usr/lib64/python3/dist-packages/zstandard',
  '/usr/lib64/python3.10/vendor-packages/zstandard',
  '/usr/lib64/python3/vendor-packages/zstandard',

  The 'WITH_PYTHON_INSTALL_ZSTANDARD' option will be ignored when installing
  Python.

  The build will be usable, only add-ons that depend on this package won't be
  functional.
Call Stack (most recent call first):
  CMakeLists.txt:1693 (find_python_package)

-- Performing Test C_MACRO_PREFIX_MAP
-- Performing Test C_MACRO_PREFIX_MAP - Success
-- Performing Test CXX_MACRO_PREFIX_MAP
-- Performing Test CXX_MACRO_PREFIX_MAP - Success
-- Looking for memfd_create
-- Looking for memfd_create - found
-- Looking for poll
-- Looking for poll - found
-- Tests: Using Python executable: /usr/bin/python3.10
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/attributes/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/curve_primitives/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/curves/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/geometry/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/mesh_primitives/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/mesh/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/mesh/extrude/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/points/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/utilities/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/vector/ Not Found, disabling test.
-- Directory named /home/axis4s/blender-git/goo-engine/../lib/tests/modeling/geometry_nodes/mesh/boolean/ Not Found, disabling test.
-- Disabling sequencer render tests because OIIO idiff does not exist
-- RPM Build Not Found (rpmbuild). RPM generation will not be available
-- C Compiler:   "GNU"
-- C++ Compiler: "GNU"

Blender Configuration
=====================

  Build Options:
  - WITH_ALEMBIC                    OFF
  - WITH_BULLET                     ON
  - WITH_CLANG                      OFF
  - WITH_CYCLES                     OFF
  - WITH_FFTW3                      ON
  - WITH_FREESTYLE                  ON
  - WITH_GMP                        ON
  - WITH_HARU                       OFF
  - WITH_IK_ITASC                   ON
  - WITH_IK_SOLVER                  ON
  - WITH_INPUT_NDOF                 OFF
  - WITH_INPUT_IME                  
  - WITH_INTERNATIONAL              ON
  - WITH_OPENCOLLADA                OFF
  - WITH_OPENCOLORIO                ON
  - WITH_OPENIMAGEDENOISE           OFF
  - WITH_OPENVDB                    OFF
  - WITH_POTRACE                    OFF
  - WITH_PUGIXML                    ON
  - WITH_QUADRIFLOW                 ON
  - WITH_TBB                        ON
  - WITH_USD                        OFF
  - WITH_XR_OPENXR                  OFF

  Compiler Options:
  - WITH_BUILDINFO                  ON
  - WITH_OPENMP                     ON

  System Options:
  - WITH_INSTALL_PORTABLE           ON
  - WITH_MEM_JEMALLOC               OFF
  - WITH_MEM_VALGRIND               OFF

  GHOST Options:
  - WITH_GHOST_DEBUG                OFF
  - WITH_GHOST_SDL                  OFF
  - WITH_GHOST_X11                  ON
  - WITH_GHOST_WAYLAND              ON
  - WITH_GHOST_XDND                 ON
  - WITH_X11_XF86VMODE              ON
  - WITH_X11_XFIXES                 ON
  - WITH_X11_XINPUT                 ON
  - WITH_GHOST_WAYLAND_DYNLOAD      ON
  - WITH_GHOST_WAYLAND_LIBDECOR     ON
  - WITH_GHOST_WAYLAND_DBUS         OFF

  Image Formats:
  - WITH_IMAGE_CINEON               ON
  - WITH_IMAGE_DDS                  ON
  - WITH_IMAGE_HDR                  ON
  - WITH_IMAGE_OPENEXR              ON
  - WITH_IMAGE_OPENJPEG             ON
  - WITH_IMAGE_TIFF                 ON
  - WITH_OPENIMAGEIO                OFF

  Audio:
  - WITH_CODEC_AVI                  ON
  - WITH_CODEC_FFMPEG               ON
  - WITH_CODEC_SNDFILE              ON
  - WITH_COREAUDIO                  OFF
  - WITH_JACK                       ON
  - WITH_JACK_DYNLOAD               OFF
  - WITH_OPENAL                     ON
  - WITH_PULSEAUDIO                 ON
  - WITH_PULSEAUDIO_DYNLOAD         OFF
  - WITH_SDL                        ON
  - WITH_SDL_DYNLOAD                OFF
  - WITH_WASAPI                     OFF

  Compression:
  - WITH_LZMA                       ON
  - WITH_LZO                        ON

  Python:
  - WITH_PYTHON_INSTALL             ON
  - WITH_PYTHON_INSTALL_NUMPY       OFF
  - WITH_PYTHON_INSTALL_ZSTANDARD   OFF
  - WITH_PYTHON_MODULE              OFF
  - WITH_PYTHON_SAFETY              OFF

  Modifiers:
  - WITH_MOD_FLUID                  ON
  - WITH_MOD_OCEANSIM               ON
  - WITH_MOD_REMESH                 ON

-- Configuring incomplete, errors occurred!
make: *** [GNUmakefile:354: all] Error 1

Also forgot to mention, i disabled cycles in the CMakesLists.txt since this is mostly a EEVEE only build

lx-fox commented 1 year ago

Hmm, it looks like there is still something else wrong with your build process. There are a lot of error messages regarding python. Are you sure you installed all the necessary packages like it says on the Blender website for building on linux and that all the paths are correct?

Axis4s commented 1 year ago

Hmm, it looks like there is still something else wrong with your build process. There are a lot of error messages regarding python. Are you sure you installed all the necessary packages like it says on the Blender website for building on linux and that all the paths are correct?

yes i have all of the packages listed there installed, i'll try compiling a lite build then a full build

lx-fox commented 1 year ago

Ok that shouldn't be a problem. But I can't figure out right now what else is wrong with your build. I also don't have access to linux atm so I can't test it.

Axis4s commented 1 year ago

Ok that shouldn't be a problem. But I can't figure out right now what else is wrong with your build. I also don't have access to linux atm so I can't test it.

Its alright i'll keep trying til i get a full compiled build also News, The Lite Build Fully Compiled, it works perfectly fine but since it is a lite build there's no subsurface modifier, etc. i'll try compiling a full build now

i've installed some packages: boost, openimageio, openimagedenoise, embree

its compiling so far, 2% UPDATE: failed..

[  4%] Linking CXX static library ../../lib/libbf_intern_libmv.a
[  4%] Built target bf_intern_libmv
make[1]: *** [Makefile:166: all] Error 2
make: *** [GNUmakefile:357: all] Error 2
CometVoid commented 1 year ago

the most frustrating part of this is that goo-engine used to compile completely normally a while ago.

Lateasusual commented 1 year ago

The build process was broken because the upstream blender repository layout changed (for the precompiled libraries, make update etc.) during the move to Gitea. Please try checking out the goo-engine-v3.6-release branch and running make update again. If it still fails then delete your local repository (including the lib folder) and start over.

CometVoid commented 1 year ago

will do. love the stylized shaders goo engine allows me to make. It's way harder to get nice looking stylized shadows normally without a lot of hand paintingSent from my Galaxy -------- Original message --------From: Lateasusual @.> Date: 2023-06-10 6:47 a.m. (GMT-08:00) To: dillongoostudios/goo-engine @.> Cc: "Comet.Void" @.>, Comment @.> Subject: Re: [dillongoostudios/goo-engine] Issues with Compiling Goo-Engine in Linux (Issue #29) The build process was broken because the upstream blender repository layout changed (for the precompiled libraries, make update etc.) during the move to Gitea. Please try checking out the goo-engine-v3.6-release branch and running make update again. If it still fails then delete your local repository (including the lib folder) and start over.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>