[erlang-questions] compiling R14B02 with WX support on Ubuntu 11.04
Mon May 16 11:37:07 CEST 2011
It seems to be a Ubuntu 11.04 problem with (proprietary) drivers.
In my case /usr/lib/libGL.so is linked to mesa/libGL.so and not to
which erlang-wx uses for dynamically loading all functions and extensions.
But wxWidgets (and SDL) loads and creates the context with
two different GL implementations are used.
Link /usr/lib/libGL.so to point to the correct nvidia-current/libGL.so
and it works.
IMHO this is a bug in (atleast) the nvidia package in ubuntu 11.04.
I googled a bit and it seems other GL wrappers have the same problem
in 11.04, so maybe someone
should tell the ubuntu guys.
2011/5/13 Cyryl Płotnicki-Chudyk <>:
> 2011/5/13 Boris Mühmer <>:
>> Besides, could you check "wx:demo()", please?
>> Especially the "gl" part... It crashes on my system.
>> If it crashes on Your system as well, I would submit a bug report...
> works, except the gl part
> wchich crashes the whole emulator
> 1> wx:demo().
> (Erlang:24191): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
> to allocate widget with width -5 and height 17
> Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
> with width -5 and height 17
> (Erlang:24191): Gtk-WARNING **:
> gtk_widget_size_allocate(): attempt to allocate widget with width -5
> and height 17
> Segmentation fault
> erlang-questions mailing list
More information about the erlang-questions