All libs are up-to-date according to “install_deps.sh” script.
But on building process, after 100% indicator, an error (errors) line(s) prompts on terminal concerning Embree Library (if I am not wrong), saying:
/opt/lib/embree/lib/libembree3.a(bvh8_factory.cpp.o):bvh8_factory.cpp:function embree::BVH8Factory::selectIntersectors(int): error: undefined reference to 'embree:: … (pointing to some Functions).
collect2: error: ld returned 1 exit status
source/creator/CMakeFiles/blender.dir/build.make:508: recipe for target ‘bin/blender’ failed
make[3]: *** [bin/blender] Error 1
CMakeFiles/Makefile2:8050: recipe for target ‘source/creator/CMakeFiles/blender.dir/all’ failed
make[2]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
Makefile:162: recipe for target ‘all’ failed
make[1]: *** [all] Error 2
GNUmakefile:273: recipe for target ‘all’ failed
make: *** [all] Error 2
Thank you for your reply @Stiv!!
Embree’s version that I am using currently is 3.2.4, when I run “Install_deps.sh” script, it said everything is up-to-date!!
Is there a way to know which lib’s versions are currently used in branch master?
You should use install_deps.sh --with-embree to build Embree. Cycles requires an Embree build with extra options that Embree does not enable by default.
Thank you @StefanW,
This is usually the command that I run when updating libs: install_deps.sh --with-opencollada --with-embree
To be sure I have forced builbing Embree with this: install_deps.sh --with-opencollada --with-embree --force-embree
But the error persist !!!
The error you pasted looks like it is maybe picking up a different version of Embree. Where does install_deps.sh place those Embree libraries on your system?
One of our build guys suggested on IRC that this might be due to some housekeeping they were doing. It may require professional attention on the build side.
So I need to wait untill they solve the problem?
And the thing that give me nuts, is that this problem only occurs on my side!!!
Anyway Thanks for your replay
in findembree.cmake i moving embree3 to the top of the list seems to solve the issue for me, however linux is not my platform so please validate this is the right thing to do.
Thank you @LazyDodo,
I can confirm that your suggestion solved the problem.
Thanks to the community especially the ones who participate in this post.
Have a nice day