[vtkusers] [Gdcm2] How to use vtk and gdcm in Visual Studio 2008

John Drescher drescherjm at gmail.com
Sun Jun 19 09:58:25 EDT 2011


On Sun, Jun 19, 2011 at 9:58 AM, John Drescher <drescherjm at gmail.com> wrote:
> On Sun, Jun 19, 2011 at 9:57 AM, Jafari, Kourosh <kjafari at rad.hfh.edu> wrote:
>> Thank you both for your great comments! Let's first try John's approach. I changed the CMakeLists.txt file and got the following compilation error:
>>
>> 1>------ Build started: Project: TestGDCM, Configuration: Release Win32 ------
>> 1>Linking...
>> 1>LINK : fatal error LNK1181: cannot open input file 'gdcmMSFF.lib'
>> 1>Build log was saved at "file://c:\Users\Kourosh\Research\Softwares\Toolkit\MyCodes\TestGDCM\TestGDCM.dir\Release\BuildLog.htm"
>> 1>TestGDCM - 1 error(s), 0 warning(s)
>> 2>------ Skipped Build: Project: ALL_BUILD, Configuration: Release Win32 ------
>> 2>Project not selected to build for this solution configuration
>> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========
>>
>> I thought this might help solving the problem: When using CMake for gdcm, I had turned the following options on:
>>
>> GDCM_BUILD_APPLIACTIONS
>> GDCM_BUILD_EXAMPLES
>> GDCM_BUILD_SHARED_LIBS
>> GDCM_BUILD_USE_VTK
>>
>> Any idea what is wrong?
>
> That is what I use.
Well except the shared libs.

John



More information about the vtkusers mailing list