[Insight-users] Graph Cuts gcc mac OS X Leopard

Ella Maria Kadas ella_kadas at yahoo.com
Fri May 25 04:52:44 EDT 2012


Hi,
Thanks, i did make that change but it didn't help. I guess i will give up on trying to compile it on mac OS X Leopard for now.
Maybe somebody already had some the same problem and found the solution or has some suggestions.

Ella K



________________________________
 Von: David Doria <daviddoria at gmail.com>
An: Ella Maria Kadas <ella_kadas at yahoo.com> 
CC: "insight-users at itk.org" <insight-users at itk.org> 
Gesendet: 13:30 Donnerstag, 24.Mai 2012
Betreff: Re: Graph Cuts VTK version >6
 
On Thu, May 24, 2012 at 2:21 AM, Ella Maria Kadas <ella_kadas at yahoo.com> wrote:
> Hi,
> After a long struggle to make Xcode work with gcc46 i still get at
> compilation the following error.
> cc1plus: error: unrecognized command line option '-Wmost'
> cc1plus: warning: unrecognized command line option
> "-Wno-four-char-constants" [enabled by default]
>  Any help will be very appreciated. Making Xcode work took me already a lot
> of time.
> Thank u,
> Ella K

The only thing I can think is that this line:

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++0x")

somehow expands to include -Wmost and -Wno-four-char-constants? Try
just removing the -Wall (if you're even still using a line similar to
this at all).

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120525/d22769f4/attachment.htm>


More information about the Insight-users mailing list