[Insight-users] Build ITK1.8.1

Luis Ibanez luis.ibanez at kitware.com
Wed Nov 24 18:17:27 EST 2004


Hi Yan,


What compiler are you using ?



Your compiler failed one of the basic VNL tests
from template capabilities.

It is quite likely that your compiler has a
configuration problem related to the way it
compiles templates when they are found in the
code.


In general, compilers manage two types of
template instantiations:

        - Explicit
        - Implicit

In the first case, the templates are instatiated
only when you directly instruct the compiler to
do it.

In the second case, templates are instantiated as
soon as they are found by the compiler, and their
code is put in the current compilation unit.

Implicit instantiation results in duplication of code
but easier consistency.


----


What happens after you get the warning in CMake ?

Can you finish the configuration process ?

Can you start the build process ?

Do you get other error/warning messages after this one ?



Please let us know,



    Thanks



        Luis



------------------
Yan Yang wrote:
> Hi Luis,
> 
> I met another problem when building ITK1.8.1 using CMake2.0.5. There is an
> error message dialog in the beginning of configuring process, which is as
> the following,
> 
> Warning: turning off implicit template instantiation
> (Press Cancel to suppress any further message.)
> 
> Thanks in advance!
> 
> Regards,
> 
> Yan
> 
> 
> -----Original Message-----
> From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org]
> On Behalf Of Luis Ibanez
> Sent: 22 November 2004 21:38
> To: y.yang at apu.ac.uk
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] Build ITK1.8.1
> 
> 
> Hi Yan,
> 
> 
> What compiler are you using ?
> 
> If it is Visual Studio 6.0...
> did you installed the Service Pack 6 ?
> 
> 
> This seems to be a problem with the installation of your compiler.
> ITK 1.8.1 has been tested with Visual Studio 6.0, 7.0 and 7.1
> 
> 
> Have you used that compiler before in order to build
> any serious size project ?
> 
> 
> 
> Please let us know,
> 
> 
>     Thanks
> 
> 
> 
>        Luis
> 
> 
> -----------------
> Yan Yang wrote:
> 
> 
>>Hi all,
>>
>> 
>>
>>I downloaded ITK1.8.1, I met the following error in building ITK. I 
>>would be very grateful if someone can help me solve the error.
>>
>> 
>>
>>Generating Code...
>>
>>Linking...
>>
>>   Creating library D:\ITK-new\Build\bin\Debug/itkAlgorithmsTests.lib 
>>and object D:\ITK-new\Build\bin\Debug/itkAlgorithmsTests.exp
>>
>>ITKMetaIO.lib(metaObject.obj) : error : Internal error during Pass2
>>
>>  ExceptionCode            = C0000005
>>
>>  ExceptionFlags           = 00000000
>>
>>  ExceptionAddress         = 1030C9DE
>>
>>  NumberParameters         = 00000002
>>
>>  ExceptionInformation[ 0] = 00000000
>>
>>  ExceptionInformation[ 1] = 00000014
>>
>>CONTEXT:
>>
>>  Eax    = 00000000  Esp    = 0012F0B0
>>
>>  Ebx    = 00371D90  Ebp    = 0012F0C0
>>
>>  Ecx    = 00000000  Esi    = 00371D90
>>
>>  Edx    = 00001006  Edi    = 00001003
>>
>>  Eip    = 1030C9DE  EFlags = 00010257
>>
>>  SegCs  = 0000001B  SegDs  = 00000023
>>
>>  SegSs  = 00000023  SegEs  = 00000023
>>
>>  SegFs  = 0000003B  SegGs  = 00000000
>>
>>  Dr0    = 0012F0B0  Dr3    = 00371D90
>>
>>  Dr1    = 0012F0C0  Dr6    = 00000000
>>
>>  Dr2    = 00000000  Dr7    = 00000000
>>
>>Error executing link.exe.
>>
>>Tool execution canceled by user.
>>
>> 
>>
>>Thanks in advance!
>>
>> 
>>
>>Yan
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 
> 
> 
> _______________________________________________
> 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