[Bf-committers] cmakem eigen2, blender-SVN-rv807

Campbell Barton ideasman42 at gmail.com
Sat Jul 31 02:26:01 CEST 2010

On Sat, Jul 31, 2010 at 6:05 AM, luxInteg <lux-integ at btconnect.com> wrote:
> Greetings,
>  I am trying to compile Blender-2.5 (svn rv807).  on a  linux machine
> (cpu=amd64, linux=cblfs/64bit-only/gcc=4.4.2).
> I Have opencollada (SVN-rv721 installed).  I also  have Eigen 2 installed but
> not in /usr.  The build  reaches ~8% . The compiler output is below.
> ############
> [  8%] Building CXX object intern/itasc/CMakeFiles/bf_ITASC.dir/Armature.o
> cd $SOURCES/blenderGSOC-rv807/build/intern/itasc && /usr/bin/c++    -m64 -O2 -
> fPIC -fopenmp -m64 -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wno-char-
> subscripts -Wall -Wno-invalid-offsetof -Wno-sign-compare -I/opt/include -
> I/opt/ffmpeg/include -I/usr/local/include -I$SOURCES/blenderGSOC-
> rv807/intern/itasc/../../extern/Eigen2   -o CMakeFiles/bf_ITASC.dir/Armature.o
> -c $SOURCES/blenderGSOC-rv807/intern/itasc/Armature.cpp
> In file included from $SOURCES/blenderGSOC-
> rv807/intern/itasc/eigen_types.hpp:11,
>                 from $SOURCES/blenderGSOC-
> rv807/intern/itasc/ControlledObject.hpp:12,
>                 from $SOURCES/blenderGSOC-rv807/intern/itasc/Armature.hpp:11,
>                 from $SOURCES/blenderGSOC-rv807/intern/itasc/Armature.cpp:8:
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:5:47:
> error: src/Core/util/DisableMSVCWarnings.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:90:34:
> error: src/Core/util/Macros.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:91:37:
> error: src/Core/util/Constants.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:92:47:
> error: src/Core/util/ForwardDeclarations.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:93:32:
> error: src/Core/util/Meta.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:94:37:
> error: src/Core/util/XprHelper.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:95:40:
> error: src/Core/util/StaticAssert.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:96:34:
> error: src/Core/util/Memory.h: No such file or directory
> $SOURCES/blenderGSOC-rv807/intern/itasc/../../extern/Eigen2/Eigen/Core:103:44:
> error: src/Core/arch/SSE/PacketMath.h: No such file or directory
> #########
> suggesions of where I am going wrog will be appreciated.
> sincerely
> luxInteg

Hi, not sure why this would happen, generally blender builds with
cmake on linux very well, even BSD's with minor configuration tweaks.
but here are some things you could try.

- blender source includes Eigen, perhaps the system Eigen includes are
conflicting with blenders?  (you could try remove your systems Eigen
and see if it helps).

- try build trunk rather then a gsoc branch and see if this helps.

- If your have cmake and the required dep's I added a shell script
which runs the commands to build blender in your home dir,
Though it looks like you're able to do this yourself, it might be of some help.

- Campbell

More information about the Bf-committers mailing list