<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">About you <span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;">LNK2019 problem, it is generated becasue compiler could </span><div><font color="#333333" face="Arial"><span style="line-height: 26px;">only find the *.h files but conld not find the *.lib files correspondingly.</span></font></div><div><font color="#333333" face="Arial"><span style="line-height: 26px;">Solution 1: You should add the ITK library path to your system path.</span></font></div><div><font color="#333333" face="Arial"><span style="line-height: 26px;">Solution 2: You should add the </span></font><span style="color: rgb(51, 51, 51); font-family: Arial; line-height: 26px;"> ITK library path to your Matlab project.</span></div><div><br></div><div><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2013-05-09 15:20:29,vijaghorp <vijaya.ghorpade777@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Hi,<div style="">I have tried with Visual C++ 2010 express, many times. I think it is very difficult to do that on it. So, I used trial version of Visual 2012 C++ professional, it succeeds. I suggest you try the same, after you get the Solution file you can then use it on Visual 2010 express...</div>
<div style=""><br></div><div style="">And I need some help, in using itk build files in MATLAB . I am not able to do that, I fixed the issue with the version incompaitibilty. But I am getting some errors. please anybody suggest,..below are the errors.</div>
<div style=""><br></div><div style=""><div>>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxGetClassID referenced in function "class itk::SmartPointer<class itk::Image<double,1> > __cdecl itkImageFromMxNumericArray<class itk::Image<double,1> >(struct mxArray_tag const *)" (??$itkImageFromMxNumericArray@V?$Image@N$00@itk@@@@YA?AV?$SmartPointer@V?$Image@N$00@itk@@@itk@@PEBUmxArray_tag@@@Z)</div>
<div>2>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxIsNumeric referenced in function "int __cdecl AnisotropicFastMarching<class itk::SSRT2<double,char> >(int,struct mxArray_tag * * const,int,struct mxArray_tag const * * const)" (??$AnisotropicFastMarching@V?$SSRT2@ND@itk@@@@YAHHQEAPEAUmxArray_tag@@HQEAPEBU0@@Z)</div>
<div>2>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxIsStruct referenced in function "int __cdecl AnisotropicFastMarching<class itk::SSRT2<double,char> >(int,struct mxArray_tag * * const,int,struct mxArray_tag const * * const)" (??$AnisotropicFastMarching@V?$SSRT2@ND@itk@@@@YAHHQEAPEAUmxArray_tag@@HQEAPEBU0@@Z)</div>
<div>2>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxIsComplex referenced in function "class itk::SmartPointer<class itk::Image<double,1> > __cdecl itkImageFromMxNumericArray<class itk::Image<double,1> >(struct mxArray_tag const *)" (??$itkImageFromMxNumericArray@V?$Image@N$00@itk@@@@YA?AV?$SmartPointer@V?$Image@N$00@itk@@@itk@@PEBUmxArray_tag@@@Z)</div>
<div>2>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxGetNumberOfDimensions_730 referenced in function "class itk::SmartPointer<class itk::Image<double,1> > __cdecl itkImageFromMxNumericArray<class itk::Image<double,1> >(struct mxArray_tag const *)" (??$itkImageFromMxNumericArray@V?$Image@N$00@itk@@@@YA?AV?$SmartPointer@V?$Image@N$00@itk@@@itk@@PEBUmxArray_tag@@@Z)</div>
<div>2>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxGetDimensions_730 referenced in function "class itk::SmartPointer<class itk::Image<double,1> > __cdecl itkImageFromMxNumericArray<class itk::Image<double,1> >(struct mxArray_tag const *)" (??$itkImageFromMxNumericArray@V?$Image@N$00@itk@@@@YA?AV?$SmartPointer@V?$Image@N$00@itk@@@itk@@PEBUmxArray_tag@@@Z)</div>
<div>2>MatlabAnisotropicFastMarching.obj : error LNK2019: unresolved external symbol mxGetNumberOfElements referenced in function "struct mxArray_tag * __cdecl MxNumericArrayFromItkImage<class itk::Image<double,2> >(class itk::SmartPointer<class itk::Image<double,2> >)" (??$MxNumericArrayFromItkImage@V?$Image@N$01@itk@@@@YAPEAUmxArray_tag@@V?$SmartPointer@V?$Image@N$01@itk@@@itk@@@Z)</div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 4:06 AM, hongsongyang <span dir="ltr"><<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial">Lorensen:<div> Have you got any new progress about my problem of building InsightApplication</div>
<div>in VS2010. Although the OS is Win7 64bit, I built both of them in Win32 configuration.</div><div> I have tried to build ITK and InsightApplications once again yesterday, but I still met </div><div>the same problem.</div>
<div> Should I do some source code modificaiton to avoid these building error?</div><div><br></div><div>Thank you very much.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Hongsongyang</div></font></span><div>
<div class="h5"><div> </div><div> <br><br><br><br><br><div></div><div></div><br>At 2013-05-08 03:39:11,"Bill Lorensen" <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>> wrote:<br>
<blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">Where did you get Insight Applications?<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 7, 2013 at 1:17 PM, hongsongyang <span dir="ltr"><<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial">Dear All:<div> I used VS2010 to build the VTK and ITK successfully. </div>
<div>But when I build InsightApplications after cmake configurarion, </div><div>vtkVTKITKCommon project could not be built correctly.</div><div><span style="line-height:1.7">Here is the error messages:</span></div><div><span style="line-height:1.7"><br>
</span></div><div><span style="line-height:1.7"><br></span></div><div>1> vtkITKMutualInformationTransform.cxx</div><div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(197): error C4716: 'itk::Transform<double,3,3>::TransformVector' : must return a value</div>
<div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(212): error C4716: 'itk::Transform<double,3,3>::TransformVector' : must return a value</div><div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(228): error C4716: 'itk::
Transform<double,3,3>::TransformVector' : must return a value</div><div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(243): error C4716: 'itk::Transform<double,3,3>::TransformCovariantVector' : must return a value</div>
<div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(260): error C4716: 'itk::Transform<double,3,3>::TransformCovariantVector' : must return a value</div><div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(279): error C4716: 'itk::Transform<double,3,3>::TransformDiffusionTensor3D' : must return a value</div>
<div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(297): error C4716: 'itk::Transform<double,3,3>::TransformDiffusionTensor3D' : must return a value</div><div>1>d:\itk\itk\modules\core\transform\include\itktransform.h(319): error C4716: 'itk::Transform<double,3,3>::TransformSymmetricSecondRankTensor' : must return a value</div>
<div>1>d:\itk\itk\modules\cor
e\transform\include\itktransform.h(328): error C4716: 'itk::Transform<double,3,3>::TransformSymmetricSecondRankTensor' : must return a value</div><div>1></div><div><span style="line-height:1.7">1>Build FAILED.</span><span style="line-height:1.7"> </span></div>
<div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7">What's the reason for this problem?</span></div><span><font color="#888888"><div>
<span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7">Hongsongyang</span></div></font></span></div><br><br><span title="neteasefooter"><span></span></span><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</blockquote></div></div></div></div><br><br><span title="neteasefooter"><span></span></span><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>