[Debichem-devel] Bug#1019819: qutemol: Please transition to wxwidgets3.2
Graham Inggs
ginggs at debian.org
Sun Oct 23 08:05:17 BST 2022
Control: tags -1 + help
Hi Scott
Thanks for driving the transition to wxwidgets3.2.
I've tried switching the Build-Depends from libwxgtk3.0-gtk3-dev to
libwxgtk3.2-dev in qutemol, but the build fails with the output below.
Any hints would be appreciated.
Regards
Graham
src/main.cpp: In constructor ‘TestGLCanvas::TestGLCanvas(wxWindow*,
wxWindowID, const wxPoint&, const wxSize&, long int, const
wxString&)’:
src/main.cpp:628:78: error: no matching function for call to
‘wxGLCanvas::wxGLCanvas(wxWindow*&, wxWindowID&, const wxPoint&, const
wxSize&, long int, const wxString&)’
628 | : wxGLCanvas(_parent, id, pos, size,
style|wxFULL_REPAINT_ON_RESIZE, name)
|
^
In file included from /usr/include/wx-3.2/wx/glcanvas.h:328,
from src/main.h:11,
from src/main.cpp:44:
/usr/include/wx-3.2/wx/gtk/glcanvas.h:42:5: note: candidate:
‘wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const int*, const
wxPoint&, const wxSize&, long int, const wxString&, const wxPalette&)’
42 | wxGLCanvas(wxWindow *parent,
| ^~~~~~~~~~
/usr/include/wx-3.2/wx/gtk/glcanvas.h:44:27: note: no known
conversion for argument 3 from ‘const wxPoint’ to ‘const int*’
44 | const int *attribList = NULL,
| ^
/usr/include/wx-3.2/wx/gtk/glcanvas.h:32:5: note: candidate:
‘wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLAttributes&, wxWindowID,
const wxPoint&, const wxSize&, long int, const wxString&, const
wxPalette&)’
32 | wxGLCanvas(wxWindow *parent,
| ^~~~~~~~~~
/usr/include/wx-3.2/wx/gtk/glcanvas.h:33:38: note: no known
conversion for argument 2 from ‘wxWindowID’ {aka ‘int’} to ‘const
wxGLAttributes&’
33 | const wxGLAttributes& dispAttrs,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
src/main.cpp: In member function ‘void TestGLCanvas::OnPaint(wxPaintEvent&)’:
src/main.cpp:664:10: error: ‘GetContext’ was not declared in this
scope; did you mean ‘EGLContext’?
664 | if (!GetContext()) return;
| ^~~~~~~~~~
| EGLContext
src/main.cpp:667:15: error: no matching function for call to
‘TestGLCanvas::SetCurrent()’
667 | SetCurrent();
| ~~~~~~~~~~^~
/usr/include/wx-3.2/wx/glcanvas.h:224:10: note: candidate: ‘bool
wxGLCanvasBase::SetCurrent(const wxGLContext&) const’
224 | bool SetCurrent(const wxGLContext& context) const;
| ^~~~~~~~~~
/usr/include/wx-3.2/wx/glcanvas.h:224:10: note: candidate expects 1
argument, 0 provided
src/main.cpp: In member function ‘void TestGLCanvas::OnSize(wxSizeEvent&)’:
src/main.cpp:706:17: error: ‘OnSize’ is not a member of ‘wxGLCanvas’
706 | wxGLCanvas::OnSize(event);
| ^~~~~~
src/main.cpp:713:10: error: ‘GetContext’ was not declared in this
scope; did you mean ‘EGLContext’?
713 | if ( GetContext() )
| ^~~~~~~~~~
| EGLContext
src/main.cpp:716:19: error: no matching function for call to
‘TestGLCanvas::SetCurrent()’
716 | SetCurrent();
| ~~~~~~~~~~^~
/usr/include/wx-3.2/wx/glcanvas.h:224:10: note: candidate: ‘bool
wxGLCanvasBase::SetCurrent(const wxGLContext&) const’
224 | bool SetCurrent(const wxGLContext& context) const;
| ^~~~~~~~~~
/usr/include/wx-3.2/wx/glcanvas.h:224:10: note: candidate expects 1
argument, 0 provided
More information about the Debichem-devel
mailing list