<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The XCode package also includes some nice tools, like <u>Shark</u>,
    which allows profiling your code (or any program, without having to
    recompile). It provides a nice UI to view how much time you have
    spent where.<br>
    <br>
    Another tool, which is now available on the Mac is <u>valgrind</u>.
    It allows memory leak detection, memory access violation debugging
    etc. You can get it via MacPorts:<br>
    <a class="moz-txt-link-freetext" href="http://www.macports.org/ports.php?by=name&amp;substr=valgrind">http://www.macports.org/ports.php?by=name&amp;substr=valgrind</a><br>
    <br>
    I also like QtCreator on the Mac. I always found Eclipse a bit slow...<br>
    <br>
    <br>
    <br>
    <br>
    On 12/22/2011 10:41 PM, Michael Jackson wrote:
    <blockquote
      cite="mid:435533F6-9E02-486F-A840-35ADE4FAFF8D@bluequartz.net"
      type="cite">
      <pre wrap="">
On Dec 22, 2011, at 12:48 PM, Marcus D. Hanwell wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">On Thu, Dec 22, 2011 at 12:45 PM, Sean McBride <a class="moz-txt-link-rfc2396E" href="mailto:sean@rogue-research.com">&lt;sean@rogue-research.com&gt;</a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On Thu, 22 Dec 2011 16:52:08 +0000, Steven Chall said:

</pre>
          <blockquote type="cite">
            <pre wrap="">I've been developing a medium-sized application in Windows7: I've built
VTK 5.8.0 and Qt 4.7.1 from source, along with my own C++ code, using
Microsoft Visual Studio/VC++ 2010, generating the solution etc. with
CMake.  I need to build the whole thing to run in Mac OSX.  What is the
best development environment, and notably C++ compiler, to so this with
on the Mac?  Thanks.
</pre>
          </blockquote>
          <pre wrap="">
You pretty much have to install Xcode, which these days is available either on the 'Mac App Store' or by joining Apple's developer program.  It provides a GUI IDE, command line tools, etc.  CMake is able to generate Xcode project files or unix make files, either of which you can use on Mac OS.

</pre>
        </blockquote>
        <pre wrap="">You need to install XCode, but as someone who has spent time
developing code on the Mac too I would highly recommend you check out
Qt Creator. It can use the standard Mac compilers, and CMake can
generate the appropriate projects for it too. I use it on Linux and
Mac frequently, it has a good code model with completion, GDB
integration and other niceties. It has good git integration too.

There are also a few other cross platform IDEs that support C++, such
as Eclipse, in many ways it depends on your preferences.

Marcus
</pre>
      </blockquote>
      <pre wrap="">
 I like Eclipse CDT myself. In my opinion, if setup correctly, it can have far superior code completion (Intellisense) to Xcode or QtCreator. There is also the issue with Xcode that every time CMake has to run and regenerate the Xcode project any customizations that you do are erased. So, for example, if you have an application that takes arguments and you setup Xcode to take those arguments and then CMake forces a regeneration of the Xcode project you have to go back and re-enter those arguments. Not much the CMake devs can do about this but if your workflow involves things like this it can get annoying very quickly.
  QtCreator seems to be maturing quite nicely. I don't use it other than to test a few things so I can not really render an opinion. If you know your code inside and out and don't really need an IDE then a text editor and a terminal work real well. "BBEdit, TextMate, Editra" are all pretty decent code editors, along with the usual vi and emacs.

 Try them all and see which one you can wrap your head around. You will still have to install the Xcode development tools regardless of what you end up using.

Hope that helps;
-------
Mike Jackson

_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>

</pre>
    </blockquote>
  </body>
</html>