I’m having quite a lot of difficulties compiling Blender for about a month now. This is only when I try to “make full”, both “make lite” and “make” run without any issues.
It finalizes everything, but then it completely dies on me in the end while linking.
I’m using these package versions:
Alembic - 1.72.12-1
OpenImageIO - 2.0.11-2
OpenShadingLanguage - 2.0.11-2
OpenImageDenoise - 1.1.0-1
Scanning dependencies of target blender
[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
[100%] Linking CXX executable …/…/bin/blender
…/…/lib/libbf_intern_cycles.a(blender_python.cpp.o):blender_python.cpp:function ccl::osl_update_node_func(_object*, _object*): error: undefined reference to ‘ccl::OSLShaderManager::osl_query(OSL_v1_10::OSLQuery&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’
…/…/lib/libbf_alembic.a(abc_transform.cc.o):abc_transform.cc:function AbcTransformWriter::do_write(): error: undefined reference to ‘Alembic::AbcGeom::v10::XformSample::setMatrix(Imath_2_4::Matrix44 const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_free(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::~ShadingSystem()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::compile_type(ccl::Shader*, ccl::ShaderGraph*, ccl::ShaderType): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ShaderGroupBegin(OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::compile_type(ccl::Shader*, ccl::ShaderGraph*, ccl::ShaderType): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ShaderGroupEnd()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_query(OSL_v1_9::OSLQuery&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::open(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ShadingSystem(OSL_v1_9::RendererServices*, OpenImageIO_v2_0::TextureSystem*, OpenImageIO_v2_0::ErrorHandler*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLCompiler::OSLCompiler(OpenImageIO_v2_0::ErrorHandler*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLCompiler::compile(OpenImageIO_v2_0::string_view, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > const&, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLCompiler::~OSLCompiler()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::ShadingSystem::LoadMemoryCompiledShader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::open_bytecode(OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator >): error: undefined reference to ‘OSL_v1_9::OSLQuery::OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator >): error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ConnectShaders(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::device_update(ccl::Device*, ccl::DeviceScene*, ccl::Scene*, ccl::Progress&): error: undefined reference to ‘OSL_v1_9::ShadingSystem::optimize_all_groups(int)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) [clone .cold]: error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) [clone .cold]: error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>&&, std::tuple<>&&): error: undefined reference to ‘OSL_v1_9::OSLQuery::OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::operator=(OSL_v1_9::OSLQuery::Parameter const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::Parameter(OSL_v1_9::OSLQuery::Parameter const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::operator=(OSL_v1_9::OSLQuery::Parameter const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::Parameter(OSL_v1_9::OSLQuery::Parameter const&)’
collect2: error: ld returned 1 exit status
make[3]: *** [source/creator/CMakeFiles/blender.dir/build.make:442: bin/blender] Error 1
make[2]: *** [CMakeFiles/Makefile2:7439: source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: *** [Makefile:163: all] Error 2
make: *** [GNUmakefile:313: all] Error 2
Scanning dependencies of target blender
[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
[100%] Linking CXX executable …/…/bin/blender
…/…/lib/libbf_intern_cycles.a(blender_python.cpp.o):blender_python.cpp:function ccl::osl_update_node_func(_object*, _object*): error: undefined reference to ‘ccl::OSLShaderManager::osl_query(OSL_v1_10::OSLQuery&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’
…/…/lib/libbf_alembic.a(abc_transform.cc.o):abc_transform.cc:function AbcTransformWriter::do_write(): error: undefined reference to ‘Alembic::AbcGeom::v10::XformSample::setMatrix(Imath_2_4::Matrix44 const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_free(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::~ShadingSystem()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode*, char const*): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Parameter(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::compile_type(ccl::Shader*, ccl::ShaderGraph*, ccl::ShaderType): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ShaderGroupBegin(OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::compile_type(ccl::Shader*, ccl::ShaderGraph*, ccl::ShaderType): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ShaderGroupEnd()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_query(OSL_v1_9::OSLQuery&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::open(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ShadingSystem(OSL_v1_9::RendererServices*, OpenImageIO_v2_0::TextureSystem*, OpenImageIO_v2_0::ErrorHandler*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init(): error: undefined reference to ‘OSL_v1_9::ShadingSystem::attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, void const*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLCompiler::OSLCompiler(OpenImageIO_v2_0::ErrorHandler*)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLCompiler::compile(OpenImageIO_v2_0::string_view, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > const&, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLCompiler::~OSLCompiler()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::ShadingSystem::LoadMemoryCompiledShader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::open_bytecode(OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator >): error: undefined reference to ‘OSL_v1_9::OSLQuery::OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator >): error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::ConnectShaders(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode*, char const*, bool): error: undefined reference to ‘OSL_v1_9::ShadingSystem::Shader(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::device_update(ccl::Device*, ccl::DeviceScene*, ccl::Scene*, ccl::Progress&): error: undefined reference to ‘OSL_v1_9::ShadingSystem::optimize_all_groups(int)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) [clone .cold]: error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) [clone .cold]: error: undefined reference to ‘OSL_v1_9::OSLQuery::~OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, ccl::OSLShaderInfo> >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>&&, std::tuple<>&&): error: undefined reference to ‘OSL_v1_9::OSLQuery::OSLQuery()’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::operator=(OSL_v1_9::OSLQuery::Parameter const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::Parameter(OSL_v1_9::OSLQuery::Parameter const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::operator=(OSL_v1_9::OSLQuery::Parameter const&)’
…/…/lib/libcycles_render.a(osl.cpp.o):osl.cpp:function std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> >::operator=(std::vector<OSL_v1_9::OSLQuery::Parameter, std::allocator<OSL_v1_9::OSLQuery::Parameter> > const&): error: undefined reference to ‘OSL_v1_9::OSLQuery::Parameter::Parameter(OSL_v1_9::OSLQuery::Parameter const&)’
collect2: error: ld returned 1 exit status
make[3]: *** [source/creator/CMakeFiles/blender.dir/build.make:442: bin/blender] Error 1
make[2]: *** [CMakeFiles/Makefile2:7439: source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: *** [Makefile:163: all] Error 2
make: *** [GNUmakefile:313: all] Error 2
Apologies for the text train!
I’ve tried downgrading the first three package to what the install_deps script demands, but still didn’t work. One important thing to note is that whenever I run install_deps.sh, the OSL package always fails, but before I just wrote --skip-osl and installed through the package manager withou any issue. Anyo