<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="371511" data-post-id="371511">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="4k1k0" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/4k1k0/120/27797_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  4k1k0
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Macos M1 15.6<br>
mise 2025.8.10 macos-arm64 (2025-08-14)<br>
Homebrew 4.6.3<br>
wx-config 3.3.1</p>
<p>I installed wx-config using brew but apparently the binary was not compiled with a flag:</p>
<p>wxwidgets was not compiled with --enable-compat30</p>
<p>So after checking github issues I found this</p>
<p><a href="https://github.com/asdf-vm/asdf-erlang/issues/203#issuecomment-846602541" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/asdf-vm/asdf-erlang/issues/203#issuecomment-846602541</a></p>
<p>Were you can find instructions to compile wx yourself. After compiling using the enable-compat30 flag and using mise to install erlang again the installation process fails due to a compilation error.</p>
<p>I can’t figure out how to install properly erlang with support for wx so I can run the observer and table visualizer in a MacOs machine.</p>
<p>has anyone this out yet?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="371511" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/install-erlang-with-asdf-on-m1-macbook/40009/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-371511" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="371511"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="380092" data-post-id="380092">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="4k1k0" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/4k1k0/120/27797_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  4k1k0
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>A quick update:</p>
<p>I get to install <code>wxwidgets</code> with <code>--enable-compat30</code> using a custom <code>homebre tap</code>.</p>
<p>First add the compilation flag to the file:</p>
<pre data-code-wrap="shell"><code class="lang-shell">$ vim /opt/homebrew/opt/wxwidgets/.brew/wxwidgets.rb
</code></pre>
<p>And then create a custom copy to install.</p>
<pre data-code-wrap="shell"><code class="lang-shell">$ brew tap-new wako/local
$ cp /opt/homebrew/opt/wxwidgets/.brew/wxwidgets.rb $(brew --repository wako/local)/Formula/wxwidgets.rb
</code></pre>
<p>Using mise to install erlang gets the error:</p>
<pre data-code-wrap="shell"><code class="lang-shell">~ ❯ mise install erlang@28.1
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]);
      |                  ^~~~~~
 CXX    aarch64-apple-darwin25.1.0/wxe_gl.o
4 warnings and 9 errors generated.
make[3]: *** [aarch64-apple-darwin25.1.0/wxe_init.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
mise ERROR ~/.local/share/mise/plugins/erlang/bin/install failed
[asdf-erlang] 🛟 No CC found. Setting CC to: /usr/bin/clang -I/opt/homebrew/opt/unixodbc/include
[asdf-erlang] 🛟 No LDFLAGS found. Setting LDFLAGS to: -L/opt/homebrew/opt/unixodbc/lib
[asdf-erlang] 🛟 OpenJDK has been added to PATH for this terminal session: /opt/homebrew/opt/openjdk/bin
[asdf-erlang] Please ensure this is included in your shell's dot files (.zshrc, .bashrc, etc.)
[asdf-erlang] 📦 Building with KERL_CONFIGURE_OPTIONS=--disable-debug --without-javac --with-odbc=/opt/homebrew/opt/unixodbc  --with-ssl=/opt/homebrew/opt/openssl
[asdf-erlang] ❄️ No kerl installation to cleanup for asdf_28.1
[asdf-erlang] ❄️ No kerl build to cleanup for asdf_28.1
APPLICATIONS DISABLED (See: /Users/wako/.local/share/mise/plugins/erlang/kerl-home/builds/asdf_28.1/otp_build_28.1.log)
 * jinterface     : Java compiler disabled by user

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]);
      |                  ^~~~~~
 CXX    aarch64-apple-darwin25.1.0/wxe_gl.o
4 warnings and 9 errors generated.
make[3]: *** [aarch64-apple-darwin25.1.0/wxe_init.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
mise ERROR Failed to install asdf:erlang@28.1: ~/.local/share/mise/plugins/erlang/bin/install exited with non-zero status: exit code 1
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
~ ❯ 
</code></pre>
<p>And I used</p>
<pre data-code-wrap="shell"><code class="lang-shell">export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac --with-odbc=/opt/homebrew/opt/unixodbc --with-ssl=/opt/homebrew/opt/openssl"
export CFLAGS="-O2 -g"
</code></pre>
<p>in my <code>.zshrc</code> file.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="380092" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/install-erlang-with-asdf-on-m1-macbook/40009/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-380092" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="380092"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>