[Bf-committers] Compile problem on Fedora linux (cmake) svn 35657

Richard Shaw hobbes1069 at gmail.com
Wed Mar 23 04:36:50 CET 2011


On Tue, Mar 22, 2011 at 8:14 PM, Campbell Barton <ideasman42 at gmail.com> wrote:
> Could you try adding  -fpermissive to your CMAKE_CXX_FLAGS, this is
> already done with bullet but perhaps it needs to be added in more
> places.

It get's a little further now...

[ 47%] Building CXX object
source/blender/collada/CMakeFiles/bf_collada.dir/ArmatureExporter.cpp.o
cd /builddir/build/BUILD/blender-2.56.svn35706/Build/source/blender/collada
&& /usr/lib64/ccache/c++   -D__SSE__ -D__MMX__ -D__SSE2__
-DNAN_BUILDINFO -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -pipe -fPIC -funsigned-char -fno-strict-aliasing -g
-ggdb  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -fopenmp  -msse2  -msse -pipe -fPIC
-funsigned-char -fno-strict-aliasing  -Wall -Wno-invalid-offsetof
-Wno-sign-compare -fpermissive
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/blenlib
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/blenkernel
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/blenloader
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/windowmanager
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/makesdna
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/makesrna
-I/builddir/build/BUILD/blender-2.56.svn35706/source/blender/editors/include
-I/builddir/build/BUILD/blender-2.56.svn35706/intern/guardedalloc
-I/usr/COLLADAStreamWriter/include -I/usr/COLLADABaseUtils/include
-I/usr/COLLADAFramework/include
-I/usr/COLLADASaxFrameworkLoader/include   -o
CMakeFiles/bf_collada.dir/ArmatureExporter.cpp.o -c
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/ArmatureExporter.cpp
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:
In member function 'void
AnimationImporter::add_fcurves_to_object(Object*,
std::vector<FCurve*>&, char*, int, TransformReader::Animation*)':
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:200:75:
error: expected primary-expression before ',' token
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:200:77:
error: 'name' was not declared in this scope
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:200:81:
error: 'offsetof' was not declared in this scope
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:
In member function 'void AnimationImporter::add_bone_fcurve(Object*,
COLLADAFW::Node*, FCurve*)':
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:1142:72:
error: expected primary-expression before ',' token
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:1142:74:
error: 'name' was not declared in this scope
/builddir/build/BUILD/blender-2.56.svn35706/source/blender/collada/AnimationImporter.cpp:1142:78:
error: 'offsetof' was not declared in this scope
/usr/bin/make -f source/kernel/CMakeFiles/bf_gen_system.dir/build.make
source/kernel/CMakeFiles/bf_gen_system.dir/depend
make[2]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/AnimationImporter.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory `/builddir/build/BUILD/blender-2.56.svn35706/Build'


More information about the Bf-committers mailing list