[vtkusers] VTK and wxWindows

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Nov 16 10:17:06 EST 2005


Oliver,

	Could we follow the discussion on wxVTK ML ?
	-> http://sourceforge.net/projects/wxvtk

	In particular how did you built wxWidgets ?

Thanks
Mathieu

Oliver Frank wrote:
> Dear all,
>  
> 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...
>  
> In the root CMakeLists.txt is an entry like the following
>  
> #-----------------------------------------------------------------------------
> SET(WXWINDOWS_USE_GL 1)
> #When http://www.cmake.org/pipermail/cmake/2003-September/004263.html
> #will be solved VTK + wxWindows would hopefully fully collaborate  !
> FIND_PACKAGE(wxWindows)
> #INCLUDE(${wxVTKSample_SOURCE_DIR}/Modules/FindwxWindows.cmake)
> IF ( CMAKE_WX_CAN_COMPILE )
>  
> When using the line FIND_PACKAGE(wxWindows) i get the following error 
> (using Visual Studio .NET 7 2003):
> CMake Error: No static wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=.
>  
> When using the FindwxWindows.cmake with
> INCLUDE(${wxVTKSample_SOURCE_DIR}/Modules/FindwxWindows.cmake)
> I get a similar error... It can't set the WXWINDOWS_STATIC_LIBRARY
> 
> Apparently cmake is not able to detect the wx libraries either way...
>  
> 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?
>  
> Any help is very appreciated,
> Thank,
> Oli
>  
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list