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

Parag Chandra Parag_Chandra at med . unc . edu
Tue, 10 Jun 2003 13:35:14 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0012_01C32F55.1FCA1990
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I don't 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 doesn't seem to be any
vnl_c_vector.cxx file, so how do I build it?

 

Thanks,

-Parag Chandra


------=_NextPart_000_0012_01C32F55.1FCA1990
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I don&#8217;t 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</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp; #
vnl_matlab_print.txx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
vnl_matlab_print.h vnl_matlab_print.cxx</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>to</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;
vnl_matlab_print.cxx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
vnl_matlab_print.h</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Now all the objects in this library compile fine, but =
when
it comes time to link, I get</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>LINK : fatal error LNK1181: cannot open input file
&quot;.\Debug\vnl_c_vector.obj&quot;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I searched in the source tree and there doesn&#8217;t =
seem
to be any vnl_c_vector.cxx file, so how do I build it?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>-Parag Chandra</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0012_01C32F55.1FCA1990--