Closed GoogleCodeExporter closed 8 years ago
What steps will reproduce the problem? 1. checkout revision r530 2. configure with BUILD_TOOLS, BTK_USE_VISSUPPORT, BTK_USE_VTK 3. run make What is the expected output? What do you see instead? Expected output: Linking CXX executable ../../bin/Mokka [100%] Built target Mokka instead: Linking CXX executable ../../bin/Mokka ../../bin/libBTKVTK.a(btkVTKForcePlatformsSource.cpp.o): In function `btk::VTKForcePlatformsSource::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)': btkVTKForcePlatformsSource.cpp:(.text+0xa4b): undefined reference to `Eigen::Matrix<double, 3, 1, 2, 3, 1> Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, 3, 3, 2, 3, 3>, 3, 1, 1, 32> >::cross<Eigen::CwiseBinaryOp<Eigen::ei_scalar_difference_op<double>, Eigen::Block<Eigen::Matrix<double, 3, 4, 2, 3, 4>, 3, 1, 1, 32>, Eigen::Block<Eigen::Matrix<double, 3, 4, 2, 3, 4>, 3, 1, 1, 32> > >(Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::ei_scalar_difference_op<double>, Eigen::Block<Eigen::Matrix<double, 3, 4, 2, 3, 4>, 3, 1, 1, 32>, Eigen::Block<Eigen::Matrix<double, 3, 4, 2, 3, 4>, 3, 1, 1, 32> > > const&) const' btkVTKForcePlatformsSource.cpp:(.text+0xb0e): undefined reference to `Eigen::Matrix<double, 3, 1, 2, 3, 1> Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, 3, 3, 2, 3, 3>, 3, 1, 1, 32> >::cross<Eigen::Block<Eigen::Matrix<double, 3, 3, 2, 3, 3>, 3, 1, 1, 32> >(Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, 3, 3, 2, 3, 3>, 3, 1, 1, 32> > const&) const' collect2: ld returned 1 exit status make[2]: *** [bin/Mokka] Error 1 make[1]: *** [Tools/Mokka/CMakeFiles/Mokka.dir/all] Error 2 What version of the product are you using? On what operating system? Ubuntu 10.10 Please provide any additional information below. After adding '#include <Eigen/Eigen>' to the file Code/VisSupport/VTK/btkVTKForcePlatformsSource.cpp everything works fine
Original issue reported on code.google.com by martin.f...@gmail.com on 30 Nov 2010 at 10:19
martin.f...@gmail.com
Fixed in revision r531.
Original comment by arnaud.barre on 30 Nov 2010 at 11:48
arnaud.barre
Original issue reported on code.google.com by
martin.f...@gmail.com
on 30 Nov 2010 at 10:19