Skip to content

Problem running the examples/3d_picking/ on macos with M3 #13

Description

@iacobson

First of all thanks for creating this project. I think it's the only option for Elixir close to a game engine.
My plan was to try to use it together with my state management library: https://hexdocs.pm/ecspanse/Ecspanse.html

I try to run examples/3d_picking/ on Mac M3 but getting this:

INFO: Initializing raylib 5.0
INFO: Platform backend: DESKTOP (GLFW)
INFO: Supported raylib modules:
INFO:     > rcore:..... loaded (mandatory)
INFO:     > rlgl:...... loaded (mandatory)
INFO:     > rshapes:... loaded (optional)
INFO:     > rtextures:. loaded (optional)
INFO:     > rtext:..... loaded (optional)
INFO:     > rmodels:... loaded (optional)
INFO:     > raudio:.... loaded (optional)
2024-09-14 18:24:09.384 beam.smp[16057:38327876] *** Assertion failure in -[NSMenu _setMenuName:], NSMenu.m:777

I tried also to create a release. The error is the same.

I am getting the same error when I try to test in the console:

init_window(200, 200, "window name")

I managed to run a sample raylib project separately and it worked.

Update 1

I tried the solution proposed in the pinned issue, but getting another error:

iex(1)> require Unifex.CNode
Unifex.CNode
iex(2)> Unifex.CNode.start_link(:rayex)
** (MatchError) no match of right hand side value: {:error, {:error, :enoent}}
    (bundlex 1.5.3) lib/bundlex/cnode.ex:93: Bundlex.CNode.do_start/3
    iex:2: (file)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions