[Insight-users] ITKCommon.dll not created in ITK 3.20 with VS 2008

John Drescher drescherjm at gmail.com
Thu Sep 9 17:08:28 EDT 2010


>   I recently downloaded ITK 3.20 version and configured it with cmake_gui
> version on windows 7. After generating, I built the ITK solution file. It
> only created the ITKcommon.idb and .lib files. Previously with itk 3.16 I
> had also found a ITKCommon.dll along with .lib files.
>
> I need the .dll. How can I generate this ?

Turn on BUILD_SHARED_LIBS

in cmake-gui

then rebuild.

> Is there a configuration issue
> in cmake ?  or should I manually change the ITKCommon projects settings to
> "dynamically loaded library" ?
>
Never set any Visual Studio project settings when using CMake. They
will be lost on the next time CMake is run.

John


More information about the Insight-users mailing list