Configuration wxWidgets on Mac | Erlang 25 | Elixir 1.15
git clone https://github.com/wxWidgets/wxWidgets.git
cd wxWidgets
git checkout v3.2.4
git submodule update --init --recursive
./configure \
--with-cocoa \
--prefix=/usr/local \
--enable-compat30 \
--with-macosx-version-min=13.0 \
--enable-debug \
--enable-clipboard \
--enable-controls \
--enable-dataviewctrl \
--enable-display \
--enable-dnd \
--enable-graphics_ctx \
--enable-svg \
--enable-webviewwebkit \
--with-expat \
--with-libjpeg \
--with-libpng \
--with-libtiff \
--with-opengl \
--with-zlib \
--disable-dependency-tracking \
--disable-tests \
--disable-precomp-headers \
--disable-monolithic \
--with-libiconv \
--disable-shared \
--with-libtiff=builtin
make
sudo make install
configuration environment
# ~/.config/fish/config.fish
set -gx CFLAGS " -O2 -g -fno-stack-check -Wno-error=implicit-function-declaration"
set -gx ERL_AFLAGS " -kernel shell_history enabled"
set -gx KERL_BUILD_DOCS " yes"
set -gx KERL_CONFIGURE_OPTIONS " --enable-wx --with-wx --enable-webview --disable-debug --with-wx-config=/usr/local/bin/wx-config -without-javac --with-ssl=/opt/homebrew/opt/openssl@1.1 --without-jinterface --without-odbc"
asdf install erlang and elixir
asdf install erlang 25.3.2.8
asdf global erlang 25.3.2.8
asdf install elixir 1.15.7-otp-25
asdf global elixir 1.15.7-otp-25
Enable observer on project
# mix.exs
def application do
[
extra_applications: [ :logger , :crypto , :wx , :observer , :runtime_tools ] ,
mod: { Jobber.Application , [ ] }
]
end