i tried build blender using make whithin root directory, i already have the zstd installed and set the enviroment variable ZSTD_INCLUDE_DIR with the lib dir
Configuring Blender in “/home/bruno/repository/build_linux” …
– Unable to find LIBDIR: , system libraries may be used (disable WITH_LIBS_PRECOMPILED to suppress this message).
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Zstd (missing: ZSTD_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
build_files/cmake/Modules/FindZstd.cmake:52 (find_package_handle_standard_args)
build_files/cmake/platform/platform_unix.cmake:94 (find_package)
build_files/cmake/platform/platform_unix.cmake:111 (find_package_wrapper)
CMakeLists.txt:1370 (include)
looks like you’re missing our library folder, see our documentation on how to get it. Once you grab the lib folder, you may have to remove your /home/bruno/repository/build_linux
folder to prevent cmake from caching some bad paths.
You’re right,
now i built correctly the source but in the linking process i had the follow error:
[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
[100%] Linking CXX executable …/…/bin/blender
…/…/lib/libbf_intern_libmv.a(pipeline.cc.o):pipeline.cc:function void libmv::InternalCompleteReconstruction<libmv::(anonymous namespace)::EuclideanPipelineRoutines>(libmv::Tracks const&, libmv::(anonymous namespace)::EuclideanPipelineRoutines::Reconstruction*, libmv::ProgressUpdateCallback*): error: undefined reference to ‘libmv::EuclideanResect(std::vector<libmv::Marker, Eigen::aligned_allocatorlibmv::Marker > const&, libmv::EuclideanReconstruction*, bool)’
…/…/lib/libbf_intern_libmv.a(pipeline.cc.o):pipeline.cc:function void libmv::InternalCompleteReconstruction<libmv::(anonymous namespace)::EuclideanPipelineRoutines>(libmv::Tracks const&, libmv::(anonymous namespace)::EuclideanPipelineRoutines::Reconstruction*, libmv::ProgressUpdateCallback*): error: undefined reference to ‘libmv::EuclideanResect(std::vector<libmv::Marker, Eigen::aligned_allocatorlibmv::Marker > const&, libmv::EuclideanReconstruction*, bool)’
…/…/lib/libbf_intern_libmv.a(pipeline.cc.o):pipeline.cc:function void libmv::InternalCompleteReconstruction<libmv::(anonymous namespace)::ProjectivePipelineRoutines>(libmv::Tracks const&, libmv::(anonymous namespace)::ProjectivePipelineRoutines::Reconstruction*, libmv::ProgressUpdateCallback*) [clone .constprop.0]: error: undefined reference to ‘libmv::ProjectiveResect(std::vector<libmv::Marker, Eigen::aligned_allocatorlibmv::Marker > const&, libmv::ProjectiveReconstruction*)’
…/…/lib/libbf_intern_libmv.a(pipeline.cc.o):pipeline.cc:function void libmv::InternalCompleteReconstruction<libmv::(anonymous namespace)::ProjectivePipelineRoutines>(libmv::Tracks const&, libmv::(anonymous namespace)::ProjectivePipelineRoutines::Reconstruction*, libmv::ProgressUpdateCallback*) [clone .constprop.0]: error: undefined reference to ‘libmv::ProjectiveResect(std::vector<libmv::Marker, Eigen::aligned_allocatorlibmv::Marker > const&, libmv::ProjectiveReconstruction*)’
…/…/lib/libcycles_device.a(device_impl.cpp.o):device_impl.cpp:function ccl::CPUDevice::global_alloc(ccl::device_memory&): error: undefined reference to ‘ccl::kernel_global_memory_copy(ccl::KernelGlobalsCPU*, char const*, void*, unsigned long)’
…/…/lib/libcycles_device.a(device_impl.cpp.o):device_impl.cpp:function ccl::CPUDevice::const_copy_to(char const*, void*, unsigned long): error: undefined reference to ‘ccl::kernel_const_copy(ccl::KernelGlobalsCPU*, char const*, void*, unsigned long)’
…/…/lib/libcycles_device.a(kernel.cpp.o):kernel.cpp:function ccl::CPUKernels::CPUKernels(): error: undefined reference to ‘ccl::kernel_cpu_integrator_init_from_camera(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*, ccl::KernelWorkTile*, float*)’
…/…/lib/libcycles_device.a(kernel.cpp.o):kernel.cpp:function ccl::CPUKernels::CPUKernels(): error: undefined reference to ‘ccl::kernel_cpu_integrator_init_from_bake(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*, ccl::KernelWorkTile*, float*)’
…/…/lib/libcycles_device.a(kernel.cpp.o):kernel.cpp:function ccl::CPUKernels::CPUKernels(): error: undefined reference to ‘ccl::kernel_cpu_integrator_intersect_closest(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*, float*)’
…/…/lib/libcycles_device.a(kernel.cpp.o):kernel.cpp:function ccl::CPUKernels::CPUKernels(): error: undefined reference to ‘ccl::kernel_cpu_integrator_intersect_shadow(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*)’
…/…/lib/libcycles_device.a(kernel.cpp.o):kernel.cpp:function ccl::CPUKernels::CPUKernels(): error: undefined reference to ‘ccl::kernel_cpu_integrator_intersect_subsurface(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*)’
…/…/lib/libcycles_device.a(kernel.cpp.o):kernel.cpp:function ccl::CPUKernels::CPUKernels(): error: undefined reference to ‘ccl::kernel_cpu_integrator_intersect_volume_stack(ccl::KernelGlobalsCPU const*, ccl::IntegratorStateCPU*)’