<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>

<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=563573914-06122007>Has anyone encountered the following error? I'm 
confused sisnce there is no Lib.obj file!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=563573914-06122007>-----------------------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2><SPAN class=563573914-06122007>
<P><FONT face=Arial color=#0000ff size=1>------ Rebuild All started: Project: 
vtk50ForSept05, Configuration: Debug Win32 ------</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Deleting intermediate and output files 
for project 'vtk50ForSept05', configuration 'Debug|Win32'</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Compiling...</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Cone.cpp</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Cylinder.cpp</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Generating Code...</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Compiling manifest to 
resources...</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Linking...</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>LINK : fatal error LNK1104: cannot open 
file 'H:\vtk50\lib.obj'</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>Build log was saved at 
"file://h:\vtk50\Examples\CylinderAndLineForvtk50\Debug\BuildLog.htm"</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>vtk50ForSept05 - 1 error(s), 0 
warning(s)</FONT></P>
<P><FONT face=Arial color=#0000ff size=1>========== Rebuild All: 0 succeeded, 1 
failed, 0 skipped ==========</FONT></P>
<P><SPAN class=563573914-06122007><FONT face=Arial color=#0000ff 
size=1>BR</FONT></SPAN></P>
<P><SPAN class=563573914-06122007><FONT face=Arial color=#0000ff size=1>&nbsp; 
Bob</FONT></SPAN></P></SPAN></FONT></DIV><FONT face=Arial color=#0000ff 
size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
vtkusers-bounces+srfpala=earthlink.net@vtk.org 
[mailto:vtkusers-bounces+srfpala=earthlink.net@vtk.org] <B>On Behalf Of 
</B>Philippe Bruyant<BR><B>Sent:</B> Thursday, December 06, 2007 1:12 
AM<BR><B>To:</B> VTK Users<BR><B>Subject:</B> Fw: [vtkusers] vtk under visual 
studio 2005<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV 
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV 
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV 
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Hi 
Radu,<BR>Maybe the paths to .h files must be separately entered for Debug<BR>and 
Release modes (same suggestion for VTK libs) ? I know it's the <BR>case for 
Visual Studio 6.0.<BR>HTH,<BR>Philippe<BR><BR>
<DIV 
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">----- 
Original Message ----<BR>From: "Ilinca, Radu" 
&lt;rilinca@cg.tuwien.ac.at&gt;<BR>To: vtkusers@vtk.org<BR>Sent: Wednesday, 
December 5, 2007 6:28:26 PM<BR>Subject: [vtkusers] vtk under visual studio 
2005<BR><BR>Hi !<BR><BR>I am not that good in libraries but I want to get 
started with VTK 5.0 <BR>under Visual Studio 2005 , win xp. I did all the steps 
from the book <BR>(CMake, build the solution) , I copy-pasted the Cone example 
in a new <BR>solution, set the project properties accordingly to the one in the 
demo <BR>project and I ran in in the debug mode. I got the cone moving. However, 
<BR>when I switched to Release, I got compiling erros , obviously the VS 
<BR>could not include the .h files. Here are the compiling errors. I do not 
<BR>understand :<BR>a) Why didn't it work<BR>b) If I was not good at specifying 
paths, then why does it work in the <BR>debug mode ?<BR><BR>I would appreciate a 
step by step solution since I am not a programming <BR>guru.<BR><BR>------ 
Rebuild All started: Project: Intro, Configuration: Release Win32 
<BR>------<BR>Deleting intermediate and output files for project 'Intro', 
<BR>configuration 
'Release|Win32'<BR>Compiling...<BR>stdafx.cpp<BR>Compiling...<BR>Intro.cpp<BR>.\Intro.cpp(40) 
: error C2065: 'vtkConeSource' : undeclared identifier<BR>.\Intro.cpp(40) : 
error C2065: 'cone' : undeclared identifier<BR>.\Intro.cpp(40) : error C2064: 
term does not evaluate to a function <BR>taking 0 arguments<BR>.\Intro.cpp(41) : 
error C2227: left of '-&gt;SetHeight' must point to 
<BR>class/struct/union/generic type<BR>&nbsp; &nbsp; &nbsp; &nbsp; type is 
''unknown-type''<BR>.\Intro.cpp(42) : error C2227: left of '-&gt;SetRadius' must 
point to <BR>class/struct/union/generic type<BR>&nbsp; &nbsp; &nbsp; &nbsp; type 
is ''unknown-type''<BR>.\Intro.cpp(43) : error C2227: left of 
'-&gt;SetResolution' must point to <BR>class/struct/union/generic type<BR>&nbsp; 
&nbsp; &nbsp; &nbsp; type is ''unknown-type''<BR>.\Intro.cpp(52) : error C2065: 
'vtkPolyDataMapper' : undeclared identifier<BR>.\Intro.cpp(52) : error C2065: 
'coneMapper' : undeclared identifier<BR>.\Intro.cpp(52) : error C2064: term does 
not evaluate to a function <BR>taking 0 arguments<BR>.\Intro.cpp(53) : error 
C2227: left of '-&gt;SetInputConnection' must point <BR>to 
class/struct/union/generic type<BR>&nbsp; &nbsp; &nbsp; &nbsp; type is 
''unknown-type''<BR>.\Intro.cpp(53) : error C2227: left of '-&gt;GetOutputPort' 
must point to <BR>class/struct/union/generic type<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
type is ''unknown-type''<BR>.\Intro.cpp(62) : error C2065: 'vtkActor' : 
undeclared identifier<BR>.\Intro.cpp(62) : error C2065: 'coneActor' : undeclared 
identifier<BR>.\Intro.cpp(62) : error C2064: term does not evaluate to a 
function <BR>taking 0 arguments<BR>.\Intro.cpp(63) : error C2227: left of 
'-&gt;SetMapper' must point to <BR>class/struct/union/generic type<BR>&nbsp; 
eric type<BR>&nbsp; <BR>========== Rebuild All: 0 succeeded, 1 failed, 0 skipped 
==========<BR><BR><BR>_______________________________________________<BR>This is 
the private VTK discussion list. <BR>Please keep messages on-topic. Check the 
FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank 
rel=nofollow>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>Follow this link to 
subscribe/unsubscribe:<BR><A href="http://www.vtk.org/mailman/listinfo/vtkusers" 
target=_blank 
rel=nofollow>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR></DIV><BR></DIV></DIV><BR>
<HR SIZE=1>
Never miss a thing. <A 
href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs" target=_blank 
rel=nofollow>Make Yahoo your homepage.</A> </DIV><BR></DIV></DIV><BR>
<HR SIZE=1>
Looking for last minute shopping deals? <A 
href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">Find 
them fast with Yahoo! Search.</A></BODY></HTML>