[wxVTK] Re: [vtkusers] VTK and wxWindows
Brought to you by:
malat
From: Mathieu M. <mat...@ki...> - 2005-11-17 14:38:59
|
Oliver, Ok I am getting a bit rusty with wxWidgets installation on Windows. But you should have the library somewhere on your system. Then when cmake complain you need to browse until you find them. The name of the lib should look like this: wx26*.lib (I believe they now put the full version of the lib in the name). Mathieu Ps: I don't have a windows box right now. hopefully another wxVTK user is more windows friendly than I am :) Oliver Frank wrote: > Mathieu, > > Thank you. I've posted it there already. > I've opened the msw build project that comes with the wxWidgets-2.6.2 > windows distribution and compiled it with Visual .Net 7 2003? > > In wx/msw/setup.h is an option wxUSE_GLCANVAS which I changed to 1 but > didn't make any difference... Do I have to install any OpenGl stuff first? > Sorry I'm new to OpenGl, VTK, wxWindows... > > Regards, > Oliver > > -----Original Message----- > From: Mathieu Malaterre [mailto:mat...@ki...] > Sent: Thursday, 17 November 2005 2:17 AM > To: Oliver Frank > Cc: vtk...@vt... > Subject: Re: [vtkusers] VTK and wxWindows > > 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 > > > > > |