[Insight-users] Problems compiling

Bill Lorensen bill.lorensen at gmail.com
Wed Apr 25 19:34:39 EDT 2012


On windows, ITK only produces one dll. This is because one of the
third party libs, vxl, has issues sharing some info across dll's.

On Tue, Apr 24, 2012 at 3:07 PM, Jonathan Morra <jonmorra at gmail.com> wrote:
> 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?
>
>
> On Mon, Apr 23, 2012 at 11:59 AM, Jonathan Morra <jonmorra at gmail.com> wrote:
>>
>> I'm trying to compile ITK with GDCM and VTK.  I have pulled everything
>> from source recently, and am getting the following build errors.
>>
>> 1>------ Build started: Project: itkTestDriver, Configuration: Debug Win32
>> ------
>> 1>Performing Pre-Link Event...
>> 1>Linking...
>> 1>LINK : fatal error LNK1104: cannot open file 'gdcmMSFF.lib'
>> 1>Build log was saved at
>> "file://c:\MVS\ITK\bin\x86\Modules\Core\TestKernel\src\itkTestDriver.dir\Debug\BuildLog.htm"
>> 1>itkTestDriver - 1 error(s), 0 warning(s)
>> 2>------ Skipped Build: Project: ITKHeaderTests, Configuration: Debug
>> Win32 ------
>> 2>Project not selected to build for this solution configuration
>> 3>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32
>> ------
>> 3>Project not selected to build for this solution configuration
>> 4>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32
>> ------
>> 4>Project not selected to build for this solution configuration
>> ========== Build: 0 succeeded, 1 failed, 203 up-to-date, 3 skipped
>> ==========
>>
>>
>> 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.
>>
>> Any idea why I'm getting these build errors and how to solve them?
>>
>> Thanks
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list