<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>Dear 
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>I'm trying to use 
VTK with wxWindows. I found a package wxVTK which is meant to support that. I'm 
struggling with cmake issues...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>In the root 
CMakeLists.txt is an entry like the following</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005>#-----------------------------------------------------------------------------<BR>SET(WXWINDOWS_USE_GL 
1) <BR>#When <A 
href="http://www.cmake.org/pipermail/cmake/2003-September/004263.html">http://www.cmake.org/pipermail/cmake/2003-September/004263.html</A><BR>#will 
be solved VTK + wxWindows would hopefully fully collaborate&nbsp; 
!<BR>FIND_PACKAGE(wxWindows)<BR>#INCLUDE(${wxVTKSample_SOURCE_DIR}/Modules/FindwxWindows.cmake)<BR>IF 
( CMAKE_WX_CAN_COMPILE )<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>When using the line 
FIND_PACKAGE(wxWindows) i get the following error (using Visual Studio .NET 7 
2003):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>CMake Error: No 
static wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>When using the 
FindwxWindows.cmake&nbsp;with </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005>INCLUDE(${wxVTKSample_SOURCE_DIR}/Modules/FindwxWindows.cmake)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>I get a similar 
error... It can't set the WXWINDOWS_STATIC_LIBRARY</DIV>
<DIV><BR></DIV></SPAN></FONT><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>Apparently cmake is 
not able to detect the wx libraries either way...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>So I started to look 
for them manually on my system (Windows XP) (hint from the FindwxWindows.cmake 
file about the names i have to look for: wx, wxmsw, wxd, wxmswd, wx23_2, wx22_9, 
wxmsw240, wx23_2d, wx22_9d, wxmsw240d) but can't find them... I guess I must 
have done anything wrong when compiled wxWindows?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=985065502-16112005>Any help is very 
appreciated,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005>Thank,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005>Oli</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=985065502-16112005>&nbsp;</DIV></SPAN></FONT></BODY></HTML>