Re: [wxVTK] wxVTK/src wxVTKRenderWindowInteractor.cxx,1.52,1.53
Brought to you by:
malat
From: ABE H. <ha...@gm...> - 2013-10-02 05:10:53
|
Hi, Now I'm working wxGTK2.9.5 and wxVTK. I got the latest version of wxVTK from the CVS server. I tried to build my code on UBUNTU 12.10 and got error regarding win_gtk.h. The header file gtk/private/win_gtk.h is not in the installed directory, saying /usr/local/include/wx-2.9/wx/. WX_PIZZA doesn't seem to be defined in the wxGTK headers. As a workaround, just copy the file "win_gtk.h" in the wxGTK2.9 source to the /usr/local/include and it seems to be okay. But I don't think this would be a good idea. Hiroshi On 2013/10/02, at 2:03, Sander Niemeijer wrote: > Update of /cvsroot/wxvtk/wxVTK/src > In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18347 > > Modified Files: > wxVTKRenderWindowInteractor.cxx > Log Message: > Added missing includes that are needed for wx/gtk/private/win_gtk.h > > > Index: wxVTKRenderWindowInteractor.cxx > =================================================================== > RCS file: /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v > retrieving revision 1.52 > retrieving revision 1.53 > diff -C2 -d -r1.52 -r1.53 > *** wxVTKRenderWindowInteractor.cxx 7 Feb 2012 21:48:59 -0000 1.52 > --- wxVTKRenderWindowInteractor.cxx 1 Oct 2013 17:03:38 -0000 1.53 > *************** > *** 78,81 **** > --- 78,83 ---- > #if wxCHECK_VERSION(2, 9, 0) > // thanks to: http://thomasfischer.biz/?p=382 > + #include <gtk/gtkfixed.h> > + #include <gtk/gtkwidget.h> > #include <wx/gtk/private/win_gtk.h> > #define piz(wxwin) WX_PIZZA((wxwin)->m_wxwindow) > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the > most from > the latest Intel processors and coprocessors. See abstracts and > register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users ABE Hiroshi from Tokorozawa, JAPAN |