I think I have some libraries messed up, or not installed.
I’ve run the install_deps.sh script, and i believe it says that everything is okay, but when i build blender i get this message in the end, almost at 100%
Scanning dependencies of target blender
make: *** No rule to make target ‘/usr/lib/llvm-6.0/lib/libLLVM-6.0.0.so’, needed by ‘bin/blender’. Stop.
make: *** Waiting for unfinished jobs…
[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
make: *** [CMakeFiles/Makefile2:7908: source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
make: *** [GNUmakefile:149: all] Error 2
I get that it’s having problems with the libLLVM, but i have no idea about how to fix it…
I also have a problem running the previous build i made before i reinstalled ubuntu, something about jemalloc.so.1 not being there even though i had the latest one installed… I’m on Ubuntu 18.04.
Is there someone that has a little time to help me out? I would be most happy.
I already had a similar problem few time ago. I resolved it by manually modifying the “CMakeCache.txt” file in the “build_linux” directory.
Take a look at this file. Check if all the paths relative to the LLVM lib are present and correct.
Here are the paths from my “CMakeCache.txt” file relative to the LLVM lib if that can help you. I’m on Ubuntu 18.04.
//Path to a program.
//Path to the LLVM library path
//Path to a library.
//Path to the LLVM installation
//Link with LLVM static libraries
//No help, variable specified on the command line.
Are you perhaps using an existing target build directory from before the Ubuntu re-install/upgrade? You might just try renaming the target build directory temporarily and thus the build will have to re-create it and re-configure the build environment and it may automagically adapt to your current environment.
If you refer to similar features and do not mean that it is portable build, run “./install_deps.sh --with-all” script and you read instructions at the end of the terminal when it finishes. You copy and paste the penultimate paragraph in terminal in your “blender” location, the paragraph that begins with make -j , and ends in quotation marks ".
I think that it builds with similar features, except Ocean Modifier, which I really do not understand why it is not included. If you want to build with Ocean modifier, you must enable WITH_FFTW3=ON and WITH_MOD_OCEANSIM=ON
Here I can not help much, I have failed in every attempt to achieve portable builds in Linux for many years.
To make builds for my system, as I mentioned I simply use the instruction that “./install_deps.sh --with-all” script shows in terminal at the end, with the addition of what is necessary to compile Ocean Modifier.