I think the problem is different, the library is present but the generated project lacks the corresponding -L line.<br>In my particular case, it works in linux, but not in windows.<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 12:32 PM, Abayiz <span dir="ltr">&lt;<a href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">
If you are using Ubuntu, have you installed the package &quot;libgdcm2-dev&quot; ? First check for it. <br><br>--- On <b>Tue, 3/29/11, yihui cao <i>&lt;<a href="mailto:yihuicao1987@gmail.com" target="_blank">yihuicao1987@gmail.com</a>&gt;</i></b> wrote:<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: yihui cao &lt;<a href="mailto:yihuicao1987@gmail.com" target="_blank">yihuicao1987@gmail.com</a>&gt;<br>Subject: Re: [Insight-users] can not open file &quot;gdcmMSFF.lib&quot;<br>
To: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Date: Tuesday, March 29, 2011, 4:13 AM<div><div></div><div class="h5"><br><br><div> By the way, the <b>gdcmMSFF.lib</b> has existed in the debug file (D:\gdcm-2.0.17\BUILD\bin\Debug), actually.<br>
<br>
<div>2011/3/29 yihui cao <span dir="ltr">&lt;<a rel="nofollow" href="http://mc/compose?to=yihuicao1987@gmail.com" target="_blank">yihuicao1987@gmail.com</a>&gt;</span><br>
<blockquote style="padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);">
<div>Dear Professors,</div>
<div> </div>
<div>When I configured my ITK and application, I selected the &quot;ITK_USE_SYSTEM_GDCM&quot;. The cmake is worK. But I when compiled the .sln, the Link step makes a error : <b>fatal error LNK1104: &quot;can not open file &quot;gdcmMSFF.lib&quot;.</b> </div>


<div> </div>
<div>I used gdcm-2.0.17, ITK -3.18.0, and cmake 2.8.2</div>
<div> </div>
<div>Thanks!</div>
<div>yihui</div></blockquote></div><br>
</div><br></div></div>-----Inline Attachment Follows-----<div class="im"><br><br><div>_____________________________________<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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>
</div></div></blockquote></td></tr></tbody></table><br>







      <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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>