<div class="gmail_extra">So what exactly does build shared libs do then? Do I have to link ITK statically on Windows?<br><br><div class="gmail_quote">On Wed, Apr 25, 2012 at 4:34 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On windows, ITK only produces one dll. This is because one of the<br>
third party libs, vxl, has issues sharing some info across dll's.<br>
<div><div class="h5"><br>
On Tue, Apr 24, 2012 at 3:07 PM, Jonathan Morra <<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>> wrote:<br>
> OK, I got it to work. In order to do that, I had to go to the itkTestDriver<br>
> project -> Properties -> Linker -> Input -> Additional Dependencies, and<br>
> prefix all the gdcm libraries with their full path location. I think this<br>
> is a bug in the build process. However, after I build everything I only get<br>
> one small dll ITKCommon-4.2.dll, even though I have BUILD_SHARED_LIBS<br>
> checked in CMake. Why aren't I getting more dlls?<br>
><br>
><br>
> On Mon, Apr 23, 2012 at 11:59 AM, Jonathan Morra <<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>> wrote:<br>
>><br>
>> I'm trying to compile ITK with GDCM and VTK. I have pulled everything<br>
>> from source recently, and am getting the following build errors.<br>
>><br>
>> 1>------ Build started: Project: itkTestDriver, Configuration: Debug Win32<br>
>> ------<br>
>> 1>Performing Pre-Link Event...<br>
>> 1>Linking...<br>
>> 1>LINK : fatal error LNK1104: cannot open file 'gdcmMSFF.lib'<br>
>> 1>Build log was saved at<br>
>> "file://c:\MVS\ITK\bin\x86\Modules\Core\TestKernel\src\itkTestDriver.dir\Debug\BuildLog.htm"<br>
>> 1>itkTestDriver - 1 error(s), 0 warning(s)<br>
>> 2>------ Skipped Build: Project: ITKHeaderTests, Configuration: Debug<br>
>> Win32 ------<br>
>> 2>Project not selected to build for this solution configuration<br>
>> 3>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32<br>
>> ------<br>
>> 3>Project not selected to build for this solution configuration<br>
>> 4>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32<br>
>> ------<br>
>> 4>Project not selected to build for this solution configuration<br>
>> ========== Build: 0 succeeded, 1 failed, 203 up-to-date, 3 skipped<br>
>> ==========<br>
>><br>
>><br>
>> I'm running Windows 7, Visual Studios 2008. This happens in both Debug<br>
>> and Release, 32 and 64 bit. I have previously built GDCM and VTK with no<br>
>> problems. I have checked the ITK_USE_SYSTEM_GDCM option and<br>
>> Module_ITKVtkglue and set both the VTK and GDCM paths the their respective<br>
>> build directories.<br>
>><br>
>> Any idea why I'm getting these build errors and how to solve them?<br>
>><br>
>> Thanks<br>
><br>
><br>
><br>
</div></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.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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div>