[Insight-users] a error problem
Luis Ibanez
luis.ibanez at kitware.com
Thu Sep 15 22:04:02 EDT 2005
Hi Aize,
When you run CMake for configuring InsightApplications you only
need to indicate in the ITK_DIR variable the path to the binary
directory where you built ITK.
From the error message, it looks like you are not pointing the
ITK_DIR in CMake to the correct binary directory where you built
ITK, or... maybe you move that directory after you built ITK.
When you evaluate the difficulty of the build process you should
make the distinction between ITK and InsightApplications. ITK
is very straight forward to build. InsightApplications is more
complex because it has more dependencies. However, if you are
systematic in the process of configuration, things should go
pretty smoothly.
I would be surprised if you have found any other open source
system of the same large scale as ITK that builds in as many
platforms as ITK and has a simpler build process.
Please let us know if you continue experiencing any problems.
BTW, Since you are just starting with ITK, I would encourage you
to use version 2.2 that was just released. ITK 1.8 is one year
old at this point.
Regards,
Luis
------------------
Cao, Aize wrote:
> Hi, Luis,
>
> I met a problem when I cmake InsightApplications-1.8.0.
>
> I first built InsightToolkit-1.8.0 by VC6++, under windows, then I cmake the
> InshightApplication, but I can't, one of the error shows:
>
> CMake Error: Error in cmake code at
> C:/Program Files/CMake20/Modules/FindITK.cmake:80:
> INCLUDE Could not find include file: F:/ITK/ITKConfig.cmake
>
> what enviorment parameters should i set? I give either the ITK toolkit or the
> build directory, but it does not work.
>
> There are so many problems to built ITK, I am disappointed by using it.
>
> Hope you help.
>
> Best,
>
> aize
>
>
> Quoting Luis Ibanez <luis.ibanez at kitware.com>:
>
>
>>Hi Cao,
>>
>>Is "ITKApplication" a program that you wrote ?
>>
>>We don't have an application with that name in InsightApplications.
>>
>>Please be more specific.
>>
>>If this is your application, you may want to be more structured
>>when making typedefs. Most VS6 Internal Compiler Errors are due
>>to deficiencies in Visual Studio 6 for managing complex declaration
>>of types.
>>
>>If you do progressive typedefs, this may help VS6 to digest your
>>code.
>>
>>Just to give you an example, in Visual Studio 6 you cannot have
>>a methods of a class taking "std::ostream" as argument,... it
>>causes and ICE, ... however, if you do first a typedef for
>>std::ostream, and use that new type as the method argument, then
>>VS6 manages to compile the code fine.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Luis
>>
>>
>>-------------------
>>Cao, Aize wrote:
>>
>>>Dear All,
>>>
>>>I encounter one problem when I build ITKApplication. I'd like to say first
>>
>>>that I already install Service Pack 5 for Visual Studio in my computer.
>>>The error after I build ITKApplication is:
>>>
>>>INTERNAL COMPILER ERROR
>>> (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
>>> Please choose the Technical Support command on the Visual C++
>>> Help menu, or open the Technical Support help file for more
>>
>>information
>>
>>>Error executing cl.exe.
>>>
>>>Thanks for your kind help.
>>>
>>>Best,
>>>-----------------------------------------------------------------
>>>Cao, Aize
>>>Vanderbilt University
>>>Email: aize.cao at Vanderbilt.Edu
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>
>>
>
>
> -----------------------------------------------------------------
> Cao, Aize
> Vanderbilt University
> Email: aize.cao at Vanderbilt.Edu
>
>
More information about the Insight-users
mailing list