ITK/Compilers: Difference between revisions

From KitwarePublic
< ITK
Jump to navigationJump to search
Line 15: Line 15:
== Linux ==
== Linux ==


* ITK is usually supports the latest GCC very well.
* ITK supports the latest GCC very well.
* LLVM support is good.
* LLVM support is good.
* The "Unix Makefile" CMake generator support is very good.  Recent CMake generator support for the [http://martine.github.com/ninja/ Ninja build system] is experimental, but most experiments have been successful.
* The "Unix Makefile" CMake generator support is very good.  Recent CMake generator support for the [http://martine.github.com/ninja/ Ninja build system] is experimental, but most experiments have been successful.

Revision as of 20:56, 11 February 2012

Compilers

This page contains information and tips on using compilers and build systems with ITK.

General Tips

Build systems

  • Always use CMake with ITK. CMake has generators for most major build systems. Attempting to, for example, use Visual Studio directly without CMake will make things much more difficult than they need to be.
  • ITK does not distribute binaries on purpose. An open source software development system has numerous advantages; one advantage is avoiding problems related building, distributing, and linking binaries. Have your build system build ITK from source on the the same platform and with the same compiler avoids these problems. Git submodules and the CMake ExternalProject system can help to do this.

Linux

  • ITK supports the latest GCC very well.
  • LLVM support is good.
  • The "Unix Makefile" CMake generator support is very good. Recent CMake generator support for the Ninja build system is experimental, but most experiments have been successful.

Mac

Windows

Please avoid attempting to use ancient Visual Studio compilers, such as VS6, which has been put to rest.