<div dir="ltr">wxWidgets-3.0.2 should work out of the box.<div><br></div><div>If you use wxWidgets-3.1 you need to compile wxWidgets with --enable-compat28</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 3, 2016 at 7:44 AM Felix Gallo <<a href="mailto:felixgallo@gmail.com">felixgallo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">With a bog standard wx 3.0 installation that had worked for the 17 and 18 series on a mac and hadn't changed for about a year, I was able to compile a wx-aware 19.0, but running observer caused obscure wx crashes when I clicked on any buttons.<div><br></div><div>I figured maybe, since the release notes mention wx 3.1, that the HOWTO/INSTALL.md doc hadn't been updated, and so I tried to install wx 3.1.0 and compile with that. However, the wx application refuses to compile, because in its config.log we see:</div><div><br></div><div><div>conftest.cc:54:33: error: no matching constructor for initialization of 'wxGLCanvas'</div><div> wxGLCanvas * bar = new wxGLCanvas((wxWindow *) NULL, -1,</div><div> ^ ~~~~~~~~~~~~~~~~~~~~~~</div><div>/usr/local/include/wx-3.1/wx/osx/glcanvas.h:69:5: note: candidate constructor not viable: no known conversion from 'const wxPoint' to 'const int *' for 3rd argument</div><div> wxGLCanvas(wxWindow *parent,</div><div> ^</div><div>/usr/local/include/wx-3.1/wx/osx/glcanvas.h:60:5: note: candidate constructor not viable: no known conversion from 'int' to 'const wxGLAttributes' for 2nd argument</div><div>...</div><div><br></div><div>which results in a failure to link, and so wx is skipped.</div><div><br></div><div>That looks like the configure script is not wx-3.1 aware or something of that nature, so I'm now backpedalling to 3.0.0.</div><div><br></div><div>Is anyone aware of the proper combination of sigils, incantations, and cargo cult mumbo jumbo necessary to properly compile a wx-aware 19.0 on a mac in such a way that the resulting wx doesn't crash?</div><div><br></div><div>F.</div><div><br></div></div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>