[Insight-users] Problems with Insight/Utilities/vxl/vnl/CMakeLists.txt

Bill Hoffman bill . hoffman at kitware . com
Wed, 11 Jun 2003 11:33:07 -0400


That is working here and on several dashboards.  
My guess is that you changed some registry values for
visual studio 6 to make it do syntax highlighting for
.txx files, and it is now not only highlighting them, but
it is trying to compile them.

If you run visual studio:

go to file view.

itkvnl files
   Header Files
       vnl_c_vector.txx  -> if you click right on this, is compile an option?

-Bill


At 01:35 PM 6/10/2003, Parag Chandra wrote:

>I dont normally use the CVS version, but today I did a checkout and tried to build it. I am using VisualC++ 6, and when compiling itkvnl.lib, it complains about 2 source files being set to build the same object file. I fixed this (I think) by changing
>
> 
>
>  # vnl_matlab_print.txx         vnl_matlab_print.h vnl_matlab_print.cxx
>
> 
>
>to
>
> 
>
>  vnl_matlab_print.cxx         vnl_matlab_print.h
>
> 
>
>Now all the objects in this library compile fine, but when it comes time to link, I get
>
> 
>
>LINK : fatal error LNK1181: cannot open input file ".\Debug\vnl_c_vector.obj"
>
> 
>
>I searched in the source tree and there doesnt seem to be any vnl_c_vector.cxx file, so how do I build it?
>
> 
>
>Thanks,
>
>-Parag Chandra