[Insight-users] How to use the file for .txx&.h
Luis Ibanez
luis.ibanez at kitware.com
Thu Sep 8 18:59:12 EDT 2005
Hi Wordon,
You don't need to compile the .txx files. Those files
get included in your code when you include their
associated .h file into your applications. You shouldn't
add them to your CMakeLists.txt file either.
Please don't try to skip the tutorials, nor avoid to
read the Software Guide. What you are confronting is
a very basic aspect of C++ Templates that is independent
of ITK.
If you follow the instructions of the tutorials and
those of the Software Guide, you will find how easy
is to use the Insight Toolkit.
You *MUST* read the tutorial:
http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf
and the first chapters of the ITK Software Guide:
http://www.itk.org/ItkSoftwareGuide.pdf
Regards,
Luis
------------
陳政煒 wrote:
> Hi, Luis,
> Regard to your reply.
> I have already done some thing about compile a .cxx file
> (ex:HelloWorld.cxx) in VC6.0.
> Now :
> If a situation only about compile .cxx file,i can make it correct.
> But if has a '.txx' file ,i don't know how to process it.
>
> Should I add it into CMake? or, Should I write a .cxx file and include
> .txx? or,
> Should I compile .txx file directly in VC6.0?
>
> My English is not good ,so can not explain problem very clear.
> It's so sorry, and thanks your help.
>
>
>
>>---------- Forwarded message ----------
>>From: Luis Ibanez <luis.ibanez at kitware.com>
>>Date: 2005/8/31 下午 10:41
>>Subject: Re: [Insight-users] How to use the file for .txx&.h
>>To:insight-users at itk.org
>>
>>
>>
>>Hi Wordon,
>>
>>
>>Welcome to ITK !!
>>
>>Please follow the instructions in the Welcoming package:
>>
>> http://www.itk.org/HTML/Welcome.htm
>>
>>In particular you want to read the Tutorials
>>
>> http://www.itk.org/HTML/Tutorials.htm
>>
>>and the ITK Software Guide
>>
>> http://www.itk.org/ItkSoftwareGuide.pdf
>>
>>
>>
>>These documents will guide step-by-step on how to
>>configure ITK and how to use the filters from your
>>applications.
>>
>>
>> Regards,
>>
>>
>> Luis
>>
>>
>>---------------
>>Wordon wrote:
>>
>>>Hi , all ITK user :
>>>I new to ITK,and have some problem to it.
>>>Now,I attempt to run the
>>>insight/code/IO/itkRawImageIO.h & itkRawImageIO.txx ,
>>>but i don't know how to compile it in CMake & VC 6.0.
>>>
>>>I think it is a simple problem,but it's perplexing me long time.
>>>Have any body give me a hand?
>>>
>>>Thanks for help.
>>> Wordon
>>>_______________________________________________
>>>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