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