[Insight-developers] Re: [Insight-users] Fixing bugs for ITK with MinGW

Brad King brad.king at kitware.com
Wed Sep 5 08:54:28 EDT 2007


Ali - wrote:
> I am on a different machine today which, as well as mingw, has an 
> installation of cygwin. Unfortunately cmake find the cygwin installation 
> in the registery (cugwin bin directory is not in the path) and gives 
> errors of type:
> 
>  "...gcc is not able to compile a simple test..."
> 
> Putting mingw in the path does not help. Is this a known issue? How is 
> it possible to configure cmake for mingw without uninstalling cygwin?

Make sure your shell does not have cygwin in the path at all.  Also wipe 
out the build tree that you started because CMake caches information it 
learns the first time so it may try to use the cygwin compiler even if 
another compiler is added to the path.  My windows box has cygwin, 
MinGW, and MSYS installed and they work fine when started in separate 
shells.

-Brad


More information about the Insight-developers mailing list