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

John Drescher drescherjm at gmail.com
Sun Jun 19 11:02:53 EDT 2011


On Sun, Jun 19, 2011 at 10:53 AM, Jafari, Kourosh <kjafari at rad.hfh.edu> wrote:
> I turned the shared library off. But still I get the same error message:
>
> 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 ==========
>
> Should I change the settings in Visual Studio?
>

No because the next time you change anything in cmake any changes you
have made in Visual Studio will be removed. You did you add the
TARGET_LINK_LIBS for gdcm?

John



More information about the vtkusers mailing list