[Insight-users] fixes for Borland build of /Auxiliary

dean.inglis@on.aibn.com dean.inglis@on.aibn.com
Tue, 1 Oct 2002 16:09:28 -0400


ADD_DEFINITIONS (-DWIN32)
fixed the WINGDIAPI pb seen on
http://www.itk.org/Testing/Sites/moxel2.crd/WinNT-bcc32/20020930-0500-Nightly/BuildError.html

and was also present on my Borland release build.


> >>1) /Auxiliary/CMakeLists.txt - add     IF (WIN32)
> >>     ADD_DEFINITIONS (-DWIN32)
> >>    ENDIF (WIN32)
> 
> 
> This should not be needed.   What is the problem here?
> 
> -Bill
> 

As far as the using namespace itk: it worked,
but I just tried the full ::itk in the class 
declaration without 'using namespace itk' and
that works also.

Dean