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

Ali - saveez at hotmail.com
Wed Sep 5 09:07:41 EDT 2007


> Subject: Re: [Insight-developers] Re: [Insight-users] Fixing bugs for ITK with MinGW
> 
> 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

Thanks Brad, I had to rename the cygwin root dir temporarily as a dirty solution.

_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070905/a579c819/attachment.html


More information about the Insight-developers mailing list