[Bf-committers] OpenSubdiv with Blender local builds

Jeffrey italic.rendezvous at gmail.com
Sun Oct 25 19:40:05 CET 2015


You need to include OSD when you build the libs with install_deps.sh. I 
use the flag "--force-osd" in my deps script. This will automatically 
pick up the right repository for OSD (it's either the Pixar repo or 
Sergey's fork). Then when you open up cmake-gui, it will not autofind 
the OSD directory. You'll have to direct it to each library manually (at 
least I haven't gotten it to autofill those fields). /Then/ you can 
build blender.

On that note, can someone give default paths for OSD in the build 
system? Python and all the other libs are autodetected properly, but not 
OSD. Is that something in our build system or in cmake itself?

On 10/25/2015 10:21 AM, Nkansah Rexford wrote:
> I enabled OpenSubdiv when trying to build blender locally. Complains of
> missing opensubdiv directory not found in cmake-gui. I couldn't locate any
> package in ubuntu ppa specific for opensubdiv.
>
> To enable opensubdiv for local builds, should I build opensubdiv using
> this[1] and then include it as directory to cmake for building blender for
> the missing opensubdiv directory?
>
> Or there's another way?
>
> 1. https://github.com/PixarAnimationStudios/OpenSubdiv
>
>

-- 
Jeffrey "Italic_" Hoover



More information about the Bf-committers mailing list