<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>My system info:</p>
OS: Arch Linux<br>
GRASS: 7.8.5<br>
wxgtk3: 3.0.5.1<br>
python-wxpython: 1:4.0.7.2
<p>To compile GRASS I have python-wxpython set as a dependency and
it builds fine but I always get this warning on startup of GRASS:</p>
<blockquote>
<p>% grass78 --gui<br>
Starting GRASS GIS...<br>
12:54:21: Warning: Mismatch between the program and library
build versions detected.<br>
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx
containers,compatible with 2.8),<br>
and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1016,wx
containers,compatible with 2.8).</p>
</blockquote>
<p>Recently, the GUI started to crash without any error or warning.
It launches a location/project and as soon as the two windows load
(map and layer windows) they just crash after a few seconds. No
output in terminal to indicate the cause. Can still execute
command line GRASS no problem though, so it doesn't crash the
entire program just the GUI.<br>
</p>
<p>I've never really understood what causes the warning and now this
crash - do I need to re-compile wxgtk3[1] and python-wxpython[2]
to fix it? They do take a little bit of time to compile so curious
if anyone has encountered this as well and has some insight before
I dive in!<br>
</p>
<p>I'm thinking the error is because the compiler used has some
differences to it as seen from C++ ABI 1014 and 1016.<br>
</p>
<p>The wxgtk package in Arch Linux has a 6 year old patch[3] applied
that has that exact warning in it and the comment for the patch in
the PKGBUILD is:</p>
<blockquote>
<p><span class="pl-c"><span class="pl-c">#</span> C++ ABI check is
too strict and breaks with GCC 5.1</span><br>
<span class="pl-c"><span class="pl-c"><span class="pl-c">#</span>
<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1200611">https://bugzilla.redhat.com/show_bug.cgi?id=1200611</a></span></span></p>
</blockquote>
<p><span class="pl-c"><span class="pl-c"><br>
</span></span></p>
<p><span class="pl-c"><span class="pl-c"><br>
</span></span></p>
<p>Thanks,</p>
Donovan (saultdon)
<p><br>
</p>
[1]
<a class="moz-txt-link-freetext" href="https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/PKGBUILD">https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/PKGBUILD</a><br>
[2]
<a class="moz-txt-link-freetext" href="https://github.com/archlinux/svntogit-community/blob/packages/python-wxpython/trunk/PKGBUILD">https://github.com/archlinux/svntogit-community/blob/packages/python-wxpython/trunk/PKGBUILD</a><br>
[3]
<a class="moz-txt-link-freetext" href="https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/make-abicheck-non-fatal.patch">https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/make-abicheck-non-fatal.patch</a><br>
</body>
</html>