[Insight-users] Re: Re: Problem building 2.4 on .Net 2003

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 6 13:57:28 EST 2005


Hi Vicente,


Thanks for confirming that the .txx marked as compilable
was also the problem with your build.

I added this issue to the ITK FAQ in the Wiki:

http://www.itk.org/Wiki/ITK_FAQ#Highlighting_.txx_files_in_Visual_Studio

so hopefully it will be seen by future users.


  Enjoy ITK 2.4 !


    Regards


        Luis


-------------------
Vicente Grau wrote:
> Thanks Luis, I think you are right and my problem was only that the .txx 
> files were marked as compilable. This is what happened to me: I tried to 
> build the library and got lots of errors. The first ones were caused by 
> trying to redefine in iso/vcl* files symbols that were already defined 
> in emulation/vcl*. I found the patch I have mentioned before and applied 
> it. The first errors disappeared but the build still produced many 
> others. Then I realized that I had marked the .txx files as compilable, 
> fixed this and the build went just fine.
> That's why I assumed that I had both errors. However, I have just built 
> the library from the beginning, fixing only the '.txx' problem, and 
> everything works.
> 
> Sorry for the wrong information, and thanks very much for your help.
> 
> Vicente
> 
> 
> 
> 
> ------------------------------
> 
> 
> 
> 
> Hi John,
> 
> Thanks for letting us know that the build problem
> was due to having marked the .txx files as 'compilable'.
> 
> 
> It is likely that Vincents' problem is the same.
> 
> 
> Vincent:
> 
> 
>    Could you please confirm if this is the case ?
> 
> 
> 
> 
>    Thanks
> 
> 
>       Luis
> 
> 
> 
> -----------------------
> John Tourtellott wrote:
> 
>> Oh, I am one of those people who had tried (in vain) to get syntax 
>> highlighting of .txx files by putting them in the "VC++ Build" list 
>> (i.e., marking them as compilable). Once I undid that, a clean build 
>> was successful. Thanks very much for your help, Luis.
>>
>> john
>>
>>
> 
>>>> Date: Tue, 06 Dec 2005 07:51:05 -0500
>>>> From: Luis Ibanez <luis.ibanez at kitware.com>
>>>> Subject: Re: [Fwd: Re: [Insight-users] Re: Problem building 2.4 on
>>>>     .Net 2003]
>>>> To: Vicente Grau <vicente at robots.ox.ac.uk>
>>>> Cc: insight-users at itk.org
>>>> Message-ID: <43958939.5020007 at kitware.com>
>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>
>>>>
>>>> Hi Vicente,
>>>>
>>>> Are you sure that your .txx are not marked as "compilable" ?
>>>>
>>>> One easy way to verify it, is to go to the VS IDE and in
>>>> any project select the folder of "sources", then right-click
>>>> on any of the .txx files and check if "compile" appears as
>>>> an option.
>>>>
>>>>
>>>> BTW: The best way of getting syntax highlighting for .txx
>>>>      files under Windows is to use:
>>>>
>>>>           1) Vim    http://www.vim.org
>>>> or
>>>>           2) Emacs
>>>>
>>>> You can setup Vi as the default editor for Visual Studio.
>>>>
>>>>
>>>> You don't need to uninstall previous versions of ITK, as long
>>>> as you are sure that you are not mixing their directories
>>>> in your projects.
>>>>
>>>>
>>>> ---
>>>>
>>>> Important Question:
>>>>
>>>> 1) When you build ITK 1.8 or 2.0.1 in your system,
>>>>    Did you experienced any similar problem ?
>>>>
>>>> 2) When you build ITK 1.8 and 2.0.1 in your system,
>>>>    Did you used the same Version of CMake that you
>>>>    are using now for configuring ITK 2.4 ?
>>>>    (please do a formal verification, because the
>>>>     answer to this question is quite relevant.)
>>>>
>>>>    If you were using a different version of CMake,
>>>>    then, could you please (in a fresh build) configure
>>>>    ITK 2.0.1 with the CMake that you are using for
>>>>    ITK 2.4 and try to build it ?
>>>>
>>>>
>>>>
>>>>
>>>> Please let us know,
>>>>
>>>>
>>>>    Thanks
>>>>
>>>>
>>>>
>>>>       Luis
>>>>
>>>>  
>>>>
>>  
>>
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight
> 
> 
> 
>>  
>>
> _______________________________________________
> 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