[Insight-users] Compiling ITK with XCode

Karthik Krishnan karthik.krishnan at kitware.com
Tue Feb 6 19:45:19 EST 2007


What exactly is the issue. There are dashboards that build ITK every night
on Xcode.

http://public.kitware.com/dashboard.php?name=itk

Specifically see the dashboard script for atlantis.

http://www.itk.org/Testing/Sites/atlantis.kitware/Darwin8-i386-Xcode24-Release/20070206-0100-Nightly/Notes.html

I suspect you aren't using the XCode generator at all, CMake on OsX is
capable of generating both gcc makefiles and Xcode project files. I suspect,
you're doing the former. You need to Invoke cmake as

$ cd binDir
$ cmake -GXcode sourceDir

Or the
CMAKE_GENERATOR in your cache needs to read "Xcode"

-karthik

On 2/6/07, AG <ag at wavemetrics.com> wrote:
>
> Greetings all,
>
> I am looking for pointers for compiling ITK code in XCode on Mac OS-X.
>
> I ran cmake followed by make on the distribution (without apparent
> errors).  I am having trouble compiling in XCode even the simple
> installation example (HelloWorld.cxx).  Ideally I'd like to compile
> ITK as a static library to be called from standard Carbon application.
>
> Any help would be appreciated.
>
> AG
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070206/95d33b0b/attachment.html


More information about the Insight-users mailing list