<DIV>Hello,</DIV>
<DIV>I don't know the problem, but I think it is an issue of the point I have just developed.</DIV>
<DIV>The problem is Win32 specific and is due to macros definitions in &lt;windows.h&gt;</DIV>
<DIV>The problem, In my opinion, is that including vtk includes windows.h, and I think it should not be the case.</DIV>
<DIV>Actually, GetClassName, GetProp, SetProp, RemoveProps and certainly others does not exist ! These functions are translated to GetClassNameA, GetPropA, SetPropA and RemovePropA because of the inclusion of &lt;windows.h&gt;</DIV>
<DIV>In a normal case, this is not a problem since your RemoveProp call is also translated to RemovePropA.</DIV>
<DIV>But, if you have defined UNICODE, your call is translated to RemovePropW. And you have an error...</DIV>
<DIV>More details about windows.h header:</DIV>
<DIV><A href="http://msdn.microsoft.com/library/en-us/intl/unicode_8zzn.asp">http://msdn.microsoft.com/library/en-us/intl/unicode_8zzn.asp</A><BR></DIV>
<DIV>The easy solution : undef UNICODE or change your RemoveProp call to RemovePropA...</DIV>
<DIV>The right solution : remove windows.h from vtk headers !!!</DIV>
<DIV><BR><B><I>Matt Schmiermund &lt;matt@plasticflow.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Anyone?????<BR><BR>This problem is in the archives, but no one ever<BR>posted a solution. I changed from using RemoveActor()<BR>to RemoveProp() and I am still getting the same error.<BR>Any help would be appreciated.<BR><BR>-Matt Schmiermund<BR><BR>--- Matt Schmiermund <MATT@PLASTICFLOW.COM>wrote:<BR>&gt; I get the following error after adding some<BR>&gt; RemoveActor lines to my program. <BR>&gt; <BR>&gt; Error: Unresolved external<BR>&gt; 'vtkViewport::RemovePropW(vtkProp *)' referenced<BR>&gt; from<BR>&gt; C:\DOCUMENTS AND SETTINGS\ALL<BR>&gt; USERS\DOCUMENTS\PELDOMFLOW\VTKWIDGET.OBJ<BR>&gt; <BR>&gt; <BR>&gt; This looked similar to what happened when I didn't<BR>&gt; have the librarys linking properly, so I have linked<BR>&gt; to all of the following libraries (some of which I<BR>&gt; think are probably unnecessary) and I am still<BR>&gt; getting<BR>&gt; the same error.<BR>&gt;
 <BR>&gt; vtkFiltering<BR>&gt; vtkRendering <BR>&gt; vtkCommon <BR>&gt; vtkGraphics <BR>&gt; vtkIO <BR>&gt; vtkImaging <BR>&gt; vtkHybrid <BR>&gt; vtkParallel <BR>&gt; vtkPatented<BR>&gt; vtkqt <BR>&gt; vtkexpat <BR>&gt; vtkfreetype <BR>&gt; vtkftgl <BR>&gt; vtkjpeg <BR>&gt; vtkpng <BR>&gt; vtktiff <BR>&gt; vtkzlib <BR>&gt; <BR>&gt; If anyone knows what I am doing wrong I would<BR>&gt; appreciate any help.<BR>&gt; <BR>&gt; -Matt Schmiermund<BR>&gt; _______________________________________________<BR>&gt; This is the private VTK discussion list. <BR>&gt; Please keep messages on-topic. Check the FAQ at:<BR>&gt; <HTTP: vtkfaq cgi-bin public.kitware.com><BR>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: <HTTP: vtkfaq cgi-bin public.kitware.com><BR>Follow this link to
 subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers</BLOCKQUOTE><BR><BR>Aurélien REGAT-BARREL<p>
                <hr size=1>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/">Créez votre Yahoo! Mail</a>
<br><br>
Dialoguez en direct avec vos amis grâce à <a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/">Yahoo! Messenger !</a>