[Insight-users] Building ITK 1.6 fails on Win32/MingW with gcc 3.4
Luis Ibanez
luis.ibanez at kitware.com
Tue Apr 4 09:33:29 EDT 2006
Hi Hendrik
You probably have missed to set up the environment variables CC and CXX
before running CMake. by missing to set up the CC and CXX environment
variables you may be asking your C compiler to compile C++ code...
Please remove the binary directory that you created so far for ITK,
and read the instructions on how to install the toolkit.
You will find step-by-step guidelines in the Tutorials:
http://www.itk.org/HTML/Tutorials.htm
In particular in the session:
"Getting Started I: Introduction to ITK."
http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/index.htm
as well as in the ITK Software Guide
http://www.itk.org/ItkSoftwareGuide.pdf
BTW:
I would *strongly* recommend you to move to ITK 2.6
instead of using ITK 1.6 which is a really old release.
Regards,
Luis
===========================
Hendrik Belitz wrote:
> As stated in the subject, building ITK 1.6 fails on Win32/MinGW with gcc 3.4.
> In the initial configuration, CMake drops an error
> "The C Compiler is not able to compile a simple test program"
>
> The correct compiler is used and is working without problems for other
> projects which do not rely on CMake. I tested this with the present MinGW
> distribution and also the MinGW distributions accompanying Qt 4 and DevC++.
>
> Any hints how to solve this?
>
> -------------------------------------------------------------------------------------
> Dipl.-Inform. Hendrik Belitz
> Central Institute of Electronics / Zentralinstitut für Elektronik
> Multimodal image processing workgroup / AG Multimodale Bildverarbeitung
> Research Center Juelich / Forschungszentrum Jülich GmbH
> D-52428 Jülich, Germany
> Tel.: (++49)2461 61 8701 Fax: (++49)2461 61 3990
> email: h.belitz at fz-juelich.de
> ggp-key available via http://pgpkeys.pca.dfn.de
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list