[erlang-questions] Impossible to get wxErlang running on Ubuntu/MacOSX x64 platform

Dan Gudmundsson dgud@REDACTED
Tue May 25 09:12:50 CEST 2010


The packages needed to build erlang (including wx) on ubuntu can be found here:
 http://wiki.github.com/erlang/otp/installation

/Dan

On Tue, May 25, 2010 at 1:40 AM, dae2010 <dougedmunds@REDACTED> wrote:
> I followed the instructions below for installing Erlang into Ubuntu.
> All the choices in the wx:demo() run, except one.  If I select 'gl' from the
> list, it crashes, with this information in the shell:
>
> ** Reason for termination ==
> ** {function_clause,[{wxSizer,add,
>                              [{wx_ref,64,wxStaticBoxSizer,[]},
>                               {error,{no_gl_context,{gl,viewport,0}}},
>                               [{proportion,1},{flag,8192}]]},
>                     {demo,handle_event,2},
>                     {wx_object,handle_msg,5},
>                     {proc_lib,init_p_do_apply,3}]}
>
> =ERROR REPORT==== 24-May-2010::16:18:48 ===
> WX INTERNAL ERROR: Failed to send return or event msg
>
> How do I interpret this? If something is not installed, what is the apt-get
> for it?
>
> The Ubuntu system: running Vbox within XP host, LinuxMint guest.
>
> -- Doug Edmunds
>
> On 5/21/2010 6:29 AM, caio ariede wrote:
>>
>> Ops, just forgot that I needed to run apt-get update between
>> add-apt-repository and apt-get install.
>>
>> Caio Ariede
>> http://caioariede.com/
>>
>>
>>
>> On Fri, May 21, 2010 at 10:28 AM, caio ariede<caio.ariede@REDACTED>
>>  wrote:
>>>
>>> Just got it to run on Ubuntu machine.
>>>
>>> First I removed the current installation, and installed all again:
>>>
>>> sudo add-apt-repository ppa:erlang-dev/ppa
>>> sudo apt-get install erlang libwxgtk2.8-dbg wx2.8-headers
>>>
>>> wx:new() ran like a charm :)
>>>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list