[Insight-developers] Linux Errors: including itkWindows.h

Luis Ibanez ibanez@choroid.cs.unc.edu
Tue, 28 Aug 2001 14:24:21 -0400 (EDT)


Linux is not building right now (the two at GE,
the one at kitware with gcc 3.0 is doing ok).

This was discussed at the tcon, and the
problem seems to be related with an option in
CMake (or the CMakeList.txt file).

It is including itkWindows.h, that should only
happen in windows platforms.


Here are some possibilities:

in

- itkDynamicLoader.h  the include for itkWindows
  is nested in a conditional ifdef:   _WIN32

- itkMutexLock.h the include for itkWindows
  is nested in a conditional ifdef:  ITK_USE_WIN32_THREADS


The current error message seems to be related
with MutexLock, so maybe the ITK_USE_WIN32_THREADS is
active (by accident) in these linux boxes.


Any ideas ?


Luis