[Insight-users] Problems with Insight/Utilities/vxl/vnl/CMakeLists.txt
Parag Chandra
Parag_Chandra at med . unc . edu
Wed, 11 Jun 2003 13:27:51 -0400
Yeah, that was the problem. I just blindly followed the instructions =
listed
in that MSDN article to enable syntax highlighting, and in the process I
made the change that caused this problem. Thanks Bill.
-----Original Message-----
From: Bill Hoffman [mailto:bill . hoffman at kitware . com]=20
Sent: Wednesday, June 11, 2003 10:33 AM
To: Parag Chandra; insight-users at public . kitware . com
Subject: Re: [Insight-users] Problems with
Insight/Utilities/vxl/vnl/CMakeLists.txt
That is working here and on several dashboards. =20
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
>
>=20
>
> # vnl_matlab_print.txx vnl_matlab_print.h =
vnl_matlab_print.cxx
>
>=20
>
>to
>
>=20
>
> vnl_matlab_print.cxx vnl_matlab_print.h
>
>=20
>
>Now all the objects in this library compile fine, but when it comes =
time to
link, I get
>
>=20
>
>LINK : fatal error LNK1181: cannot open input file
".\Debug\vnl_c_vector.obj"
>
>=20
>
>I searched in the source tree and there doesnt seem to be any
vnl_c_vector.cxx file, so how do I build it?
>
>=20
>
>Thanks,
>
>-Parag Chandra