ryerye

ryerye

I am on a Macbook M1 chip running Sequoia 15.7.4. I want to be able to use “observer” from Elixir. I installed wxwidgets with --enable-compat30. That installed fine and I can run wx-config as expected. When I use “asdf” to install Erlang I get the following errors:

gen/wxe_init.cpp:1311:78: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_STRING_VERBATIM_EOL'
 1311 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_STRING_VERBATIM_EOL", rt.make_int(wxSTC_VISUALPROLOG_STRING_VERBATIM_EOL) },
      |                                                                              ^
gen/wxe_init.cpp:1312:82: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_STRING_VERBATIM_SPECIAL'
 1312 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_STRING_VERBATIM_SPECIAL", rt.make_int(wxSTC_VISUALPROLOG_STRING_VERBATIM_SPECIAL) },
      |                                                                                  ^
gen/wxe_init.cpp:1313:74: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_STRING_VERBATIM'
 1313 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_STRING_VERBATIM", rt.make_int(wxSTC_VISUALPROLOG_STRING_VERBATIM) },
      |                                                                          ^
gen/wxe_init.cpp:1314:74: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_STRING_EOL_OPEN'
 1314 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_STRING_EOL_OPEN", rt.make_int(wxSTC_VISUALPROLOG_STRING_EOL_OPEN) },
      |                                                                          ^
gen/wxe_init.cpp:1318:81: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_CHARACTER_ESCAPE_ERROR'
 1318 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_CHARACTER_ESCAPE_ERROR", rt.make_int(wxSTC_VISUALPROLOG_CHARACTER_ESCAPE_ERROR) },
      |                                                                                 ^
gen/wxe_init.cpp:1319:77: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_CHARACTER_TOO_MANY'
 1319 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_CHARACTER_TOO_MANY", rt.make_int(wxSTC_VISUALPROLOG_CHARACTER_TOO_MANY) },
      |                                                                             ^
gen/wxe_init.cpp:1320:68: error: use of undeclared identifier 'wxSTC_VISUALPROLOG_CHARACTER'
 1320 |     { WXE_ATOM_define, "wxSTC_VISUALPROLOG_CHARACTER", rt.make_int(wxSTC_VISUALPROLOG_CHARACTER) },
      |                                                                    ^
gen/wxe_init.cpp:2434:55: error: use of undeclared identifier 'wxSTC_CSS_MEDIA'
 2434 |     { WXE_ATOM_define, "wxSTC_CSS_MEDIA", rt.make_int(wxSTC_CSS_MEDIA) },
      |                                                       ^
gen/wxe_wrapper_5.cpp:6950:3: warning: expression result unused [-Wunused-value]
 6950 |   wxString(title_bin.data, wxConvUTF8, title_bin.size);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/wxe_init.cpp:7177:18: error: invalid application of 'sizeof' to an incomplete type 'wxe_defs[]'
 7177 |   int sz = sizeof(defs) / sizeof(defs[0]);

I have tried installing different versions of Erlang built wxwidgets from source and lots of other thrashing about. I Does anyone have any insight on this? Thanks.

Showing Posts 1 to 5

pennychase

pennychase

I gave up on installing erlang through asdf because the builds broke. Now I install Erlang from homebrew and set the erlang version to system with asdf. Within asdf, make sure to install elixir versions that correspond to the OTP of the homebrew erlang. Not ideal for using asdf as intended, but observer works :slight_smile:

shishini

shishini

probably not the answer you are looking for
but maybe you should try mise https://mise.jdx.dev/

i tested on wsl linux and seem to work fine

and by tested, i mean, i just installed wxGTK-devel
and then installed erlang and it all went fine, mise didnt complain abut missing wxwidget , which it usually did when i didnt have wxGTK-devel installed

ryerye

ryerye OP

Thank you :slight_smile: I had not seen that before. I used that plugin for asdf and installed erlang with out problems and got observer! Thank you very much.

ryerye

ryerye OP

I was not aware of Mise. I will check it out. I used the solution provided by LostKobrakai, but thank you for responding and making me aware of Mise.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews