laurentkneip / opengv

OpenGV is a collection of computer vision methods for solving geometric vision problems. It is hosted and maintained by the Mobile Perception Lab of ShanghaiTech.
Other
1.02k stars 353 forks source link

Problems building under windows VS2013 #58

Open arolin opened 6 years ago

arolin commented 6 years ago

I spent a while getting Eigen3 built and getting the paths added to the CMakeList such that I could get a project file.

once I finally got a project file I run into compile errors such as:

C:\projects\opengv\src\absolute_pose\modules\main.cpp(773): error C2784: 'const Eigen::Product<Eigen::Inverse,SparseDerived,2> Eigen::operator *(const Eigen::InverseImpl<PermutationType,Eigen::PermutationStorage> &,const Eigen::SparseMatrixBase &)' : could not deduce template argument for 'const Eigen::InverseImpl<PermutationType,Eigen::PermutationStorage> &' from 'double' [c:\projects\opengv\build\opengv.vcxproj]

Any thoughts? Thanks!

stihuangyuan commented 6 years ago

@arolin hello,have you solve this problem? i have met this problem when i compile this library on vs2017. thanks for your help.

arolin commented 6 years ago

@stihuangyuan unfortunately I had to give up on my project since I could not get past this in a timely manner.

MiaoDX commented 6 years ago

@arolin @stihuangyuan Maybe the version of eigen matters, I encounter this exact error with the latest one(3.3.4), but with older one (3.2.10) build without error.