On Mon, Jun 11, 2012 at 1:04 AM, <k...@polarlights.net> wrote: > Thanks a lot Dan, > > But what are you talking about ? Which C++ code ? > Where can I found it or got some information about it ? > > Thanks > > Krys > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers
Makesrna generates a *huge* C++ wrapper file (RNA_blender_cpp.h) in the build directory (source/blender/makesrna/intern on cmake, not sure what scons does). It doesn't get installed anywhere (anymore) so you either have to do complex include paths into the build dir or move it (them, you need a couple other headers too) by hand. If you make a custom python module and use the C++ api then everything just works, haven't tried outside python so can't say how that works -- blender doesn't have any other way to dynamically load libs so python is pretty much it these days. Just look in intern/cycles to see how the professionals do it... Dan _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers