Fix unaligned array crash in Eigen3 because of compilation option. The EIGEN_DONT_ALI...
authorBenoit Bolsee <benoit.bolsee@online.be>
Thu, 7 Jun 2012 08:04:58 +0000 (08:04 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Thu, 7 Jun 2012 08:04:58 +0000 (08:04 +0000)
intern/itasc/CMakeLists.txt
intern/itasc/SConscript
source/blender/ikplugin/CMakeLists.txt
source/blender/ikplugin/SConscript

index 3d24a0cb8c6556496f4fe65ab7dcaa88957c3ece..f4bc0326ea1c79b931b7b969eae0b819da7c367b 100644 (file)
@@ -318,8 +318,5 @@ set(SRC
        ../../extern/Eigen3/Eigen/src/Cholesky/LLT.h
 )
 
-if(WIN32)
-       add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
-endif()
 
 blender_add_lib(bf_intern_itasc "${SRC}" "${INC}" "${INC_SYS}")
index 69dddf402287c468f72182e461a511578b48187a..c1ad931c665d77f7235808b5c79b4c7b0c18acac 100644 (file)
@@ -9,8 +9,5 @@ incs = '. ../../extern/Eigen3'
 
 defs = []
 
-if env['PLATFORM'] == 'win32':
-    defs.append('EIGEN_DONT_ALIGN_STATICALLY')
-
 env.BlenderLib ('bf_intern_itasc', sources, Split(incs), defs, libtype=['intern','player'], priority=[20,100] )
 
index 87b0c6c671a5fe93e6c5aaf50da98c5b2f9942ce..f37b254d719f6c914ac5fda89dd49af6330d267e 100644 (file)
@@ -57,8 +57,5 @@ if(WITH_IK_ITASC)
        )
 endif()
 
-if(WIN32)
-       add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
-endif()
 
 blender_add_lib(bf_ikplugin "${SRC}" "${INC}" "${INC_SYS}")
index 4cff3399fdce7192ffb039078a7c87a64e15f354..38c53894df8e60e34e4d1868cd706fbdc9e184a1 100644 (file)
@@ -8,7 +8,4 @@ incs += ' ../blenkernel ../include ../ikplugin #/intern/itasc #/extern/Eigen3'
 
 defs.append('WITH_IK_ITASC')
 
-if env['PLATFORM'] == 'win32':
-    defs.append('EIGEN_DONT_ALIGN_STATICALLY')
-
 env.BlenderLib ( 'bf_ikplugin', sources, Split(incs), defs, libtype=['core','player'], priority=[180, 190] )