Problem creating Xw_Window in Ubuntu 11.10

Hello.I execute my application, based in OCE 0.3, in ubuntu 11.10 but it finish when try to create a Xw_Window. It work well in Ubuntu 10.04. Here, a fragment of code, the viewer and view seem create correctly.

view = Handle_V3d_Viewer::DownCast(viewer)->CreateView();

int windowHandle = (int) winId();
short hi, lo;
lo = (short) windowHandle;
hi = (short) (windowHandle >> 16);

#ifdef WNT
hWnd = new WNT_Window(Handle(Graphic3d_WNTGraphicDevice)::DownCast(viewer->Device()), (int) hi,(int) lo);
hWnd = new Xw_Window(Handle(Graphic3d_GraphicDevice)::DownCast(viewer->Device()),(int) hi,(int) lo,Xw_WQ_SAMEQUALITY);
#endif // WNT

Thanks in advance.

Denis Barbier's picture

Please do not report problems with OCE on this forum, use our mailing-list instead.