[Insight-users] compiling ITK by using Visual C++ Toolkit

Luis Ibanez luis.ibanez at kitware.com
Sun Jun 27 15:20:08 EDT 2004


Hi Nicolaus,

The Free VC++ Toolkit that Microsoft has released contains
the same compiler and linker that you use when you run the
VisualStudio IDE.

    http://msdn.microsoft.com/visualc/vctoolkit2003/

As far as the compiler is concerned, it is not rudimental at all.
It is simply a command line compiler + linker, as is the case for
Borland or GCC.


ITK should build with no problem with this VC++ compiler.

The trick is that, as you pointed out, this toolkit is
delivered without NMake. This means that another build
system should be used in order to take care of dependencies
and controling the full build process. Options that come to
mind are :  Cygwin nmake, and Borland make.

This however will require modifications in CMake in order to
generate Makefile for those make versions, but with the paths
and flags of the VC++ compiler.

If you already have NMake in your system, then you can simply
proceed by configuring ITK with CMake and selecting to produce
"NMake Makefiles" in the Upper right corner choice of CMake's
GUI.


Please let us know if you have further questions.



    Thanks


      Luis



----------------------------
Nicolaus Andratschke wrote:

> Microsoft is offering a free VC++ Toolkit that comes
> with compiler, linker and some basic libraries (no
> MFC, ATL). No nmake etc.
> Is there a possibility to compile ITK with this
> rudimental MS c++ compiler?
> 
> 




More information about the Insight-users mailing list