gadomski / cpd

C++ implementation of the Coherent Point Drift point set registration algorithm.
http://www.gadom.ski/cpd
GNU General Public License v2.0
385 stars 122 forks source link

Build errors on windows with VS2015 #118

Closed lujaindong closed 7 years ago

lujaindong commented 7 years ago

Hi, I am trying to build CPD on windows, but I met some problems as follows: it occurred that"Severity Code Description Project File Line Suppression State Error C2065 'M_PI': undeclared identifier Library-C++ F:\Deformation and Correction\CPD_registration\cpd-master\src\gauss_transform.cpp 27 Error LNK1181 cannot open input file '..\Release\cpd.lib' affine-test F:\Deformation and Correction\CPD_registration\cpd-build\tests\LINK 1 Error LNK1181 cannot open input file '..\Release\cpd.lib' utils-test F:\Deformation and Correction\CPD_registration\cpd-build\tests\LINK 1 Error LNK1181 cannot open input file '..\Release\cpd.lib' version-test F:\Deformation and Correction\CPD_registration\cpd-build\tests\LINK 1 Error LNK1181 cannot open input file '..\Release\cpd.lib' gauss_transform-test F:\Deformation and Correction\CPD_registration\cpd-build\tests\LINK 1 Error LNK1181 cannot open input file '..\Release\cpd.lib' normalization-test F:\Deformation and Correction\CPD_registration\cpd-build\tests\LINK 1 Error LNK1181 cannot open input file '..\Release\cpd.lib' nonrigid-test F:\Deformation and Correction\CPD_registration\cpd-build\tests\LINK 1 Error C2065 'M_PI': undeclared identifier rigid-test F:\Deformation and Correction\CPD_registration\cpd-master\tests\rigid.cpp 42

Can someone help me? Thanks very much!