[Bf-committers] Blender cmake build/execute issues

Erwin Coumans erwin.coumans at gmail.com
Sat Mar 12 19:13:54 CET 2011


Ah, I missed the INSTALL target, it wasn't run when doing a 'build all' or
'rebuild all'.
Manually running it works indeed.

Thank for the update Mitchell!


On 12 March 2011 09:47, Mitchell Stokes <mogurijin at gmail.com> wrote:

> The INSTALL project/target will copy all the necessary file to wherever
> you've built Blender (so not system-wide). Also, the SVN_EXECUTABLE is
> simply used to get revision information to display in the splash screen, so
> it's not a big deal if it's missing.
>
> Cheers,
> Mitchell
>
> On Sat, Mar 12, 2011 at 9:09 AM, Erwin Coumans <erwin.coumans at gmail.com
> >wrote:
>
> > OK, I manually copied the files from a recent graphicall.org build into
> > 2.56.
> >
> > Also, there is a cmake warning/error like this:
> >
> > Blender Skipping: (bf_collada;extern_redcode)
> > Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE)
> >
> >
> > Did you consider using svn:externals instead?
> >
> > Thanks,
> >
> > Erwin
> >
> >
> >
> > On 12 March 2011 08:42, Erwin Coumans <erwin.coumans at gmail.com> wrote:
> >
> > >
> > > Hi,
> > >
> > > Sorry if this has been asked before, but I just tried to build Blender
> > > trunk, and run it,
> > > but Blender crashes because it can't find the scripts and startup.blend
> > >
> > > Info: Config directory with "startup.blend" file not found.
> > > Fatal Python error: Py_Initialize: unable to load the file system codec
> > > LookupError: no codec search functions registered: can't find encoding
> > >
> > > I don't want to 'install' Blender system-wide, because I'm compiling
> and
> > > running
> > > several different Blender versions next to eachother, using cmake
> > > out-of-source builds in various locations.
> > >
> > > 1) Is there no copy step that copies the scripts (etc) next to the
> > > executable,
> > >     for example using a cmake copy_if_different command?
> > >
> > > ADD_CUSTOM_COMMAND( TARGET AppOpenCLClothDemo  POST_BUILD
> > >  COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different
> > > ${BULLET_PHYSICS_SOURCE_DIR}/GLUT32.DLL ${CMAKE_CURRENT_BINARY_DIR}
> > > )
> > >
> > > If there is no such copy step, what files/folders do we need to copy
> > > manually?
> > >
> > > 2) Everytime you build, the project buildinfo is out-of-date and it
> tries
> > > to build it again. Is this really necessary?
> > > Thanks,
> > > Erwin
> > >
> > >
> > >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list