[Insight-users] including the txx files as part of the ITK project

Daniel Mace dlm19 at duke.edu
Wed May 9 15:59:07 EDT 2007


Mark,

Just to add onto this, set the highlighting on, but don't set VS to 
directly compile the txx files (it doesn't by default).  You run the 
possibility of generating a whole bunch of Multiple instantiation (or 
something along those lines) errors.  I made that mistake originally.

Cheers,
Dan

Dan Mueller wrote:
> Hi Mark,
>
> The .txx files will be compiled if they are excluded or included from 
> the project.
>
> I have found it easiest to leave the project as CMake creates it. The 
> .txx files can be easily accessed by opening the associated .h file, 
> scrolling to the bottom, right-clicking the ITK_MANUAL_INSTANTIATION 
> #include line, and selecting "Open Document xxxxxx.txx". In Visual 
> Studio 2005 you can enable syntax highlighting by navigating to Tools 
> > Options > Text Editor > File Extensions and then adding the txx 
> extension with the C++ editor.
>
> HTH
>
> Cheers, Dan
>
> Mark Wyszomierski wrote:
>> Hi,
>> I just built a version of ITK for visual studio 2005. The project does
>> not seem to include the txx files which are sitting in the project
>> folder. I need to modify the txx files and have them compiled as well.
>> How do I get CMake or ITK to include the txx files as part of the
>> project?
>>
>> Thanks,
>> Mark
>> _______________________________________________
>> 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