On Mon, 6 Mar 2023, Alec Leamas wrote:
In file included from /usr/include/wx-3.2/wx/defs.h:550,
from /usr/include/wx-3.2/wx/wxprec.h:12,
from /home/mk/OpenCPN/OpenCPN/src/chartsymbols.cpp:27:
/usr/include/wx-3.2/wx/matrix.h:44:1: error: expected identifier before
‘__attribute__’
44 | WXDLLIMPEXP_CORE wxTransformMatrix: public wxObject
| ^~~~~~~~~~~~~~~~
In file included from /home/mk/OpenCPN/OpenCPN/include/bbox.h:9,
from /home/mk/OpenCPN/OpenCPN/include/s52s57.h:31,
from /home/mk/OpenCPN/OpenCPN/include/s52plib.h:31,
from /home/mk/OpenCPN/OpenCPN/include/chartsymbols.h:28,
from /home/mk/OpenCPN/OpenCPN/src/chartsymbols.cpp:36:
/usr/include/wx-3.2/wx/matrix.h:44:35: error: expected initializer before ‘:’
token
44 | WXDLLIMPEXP_CORE wxTransformMatrix: public wxObject
Are you 100% positive that you're using the latest Debian package, and not
an older package, or self-compiled wxWidgets? I ask because the error
message above showing line 44 of matrix.h doesn't match line 44 in the
latest Debian package. See here:
https://sources.debian.org/src/wxwidgets3.2/3.2.2%2Bdfsg-2/include/wx/matrix.h/
Regards,
Scott