[Insight-developers] ITK_EXPORT and the Dark side of theForce...
Luis Ibanez
ibanez@cs.unc.edu
Wed, 02 May 2001 13:36:15 -0400
Bill Hoffman wrote:
> 1. itkWin32Header is included by itkMacro.h, so it should be included everywhere.
> If it was not included with each file that used ITK_EXPORT, you would get a
> syntax error??
You're right,
there is still something unclear... :-/
Perhaps the problem is caused by classes in my app that
derive from itk classes with ITK_EXPORT, and for which I
may not be adding the ITK_EXPORT symbol...(guessing).
In any case, removing the __declspec() from the 'else'
in ITKDLL took care of the runtime exceptions...
> 2. For the static builds, we should add ITKSTATIC. It is possible to
> build other than shared.
What are the other options ? (.lib and .dll in windows), (.a and .so in
unix)
Can ITKSTATIC be set in a CMakeList file ?
> 3. I think the warning is disabled because of some stl issues. So,
> for the Dashboard we have to leave it disabled.
Ok,
Thanks