Witam
W swoim programie chcę użyć Eigen(http://eigen.tuxfamily.org/), niestety nie mogę skompilować programu gdy chcę wykorzystać cokolwiek z tej biblioteki.
e:\program files (x86)\microsoft visual studio 9.0\vc\include\eigen\src\core\densestorage.h(102) : error C2472: 'Eigen::DenseStorage::DenseStorage' cannot be generated in managed code: 'Aligned data types not supported in managed code'; compile with /clr to generate a mixed image
e:\program files (x86)\microsoft visual studio 9.0\vc\include\eigen\src\core\plainobjectbase.h(396) : error C2472: 'Eigen::PlainObjectBase >::PlainObjectBase >' cannot be generated in managed code: 'Aligned data types not supported in managed code'; compile with /clr to generate a mixed image
e:\program files (x86)\microsoft visual studio 9.0\vc\include\eigen\src\core\matrix.h(217) : error C2472: 'Eigen::Matrix::Matrix' cannot be generated in managed code: 'Aligned data types not supported in managed code'; compile with /clr to generate a mixed image
d:\uczing\mmm\projekt vs 2008\test\test\form1.h(74) : error C2472: 'test::Form1::Form1_Load' cannot be generated in managed code: 'Aligned data types not supported in managed code'; compile with /clr to generate a mixed image
Results
Próbowałem kompilować z /clr ale jest jeszcze więcej błędów
Jak robię program na konsolę, to wszystko działa. Z góry dzięki za pomoc