Skip to content

malloc was not included error when using GLFW and ImGui #14965

@janekb04

Description

@janekb04

I recieved the following message when trying to compile a simple Imgui project using Emscripten:

(index):766 malloc was not included, but is needed in glfwGetMonitors. Adding "_malloc" to EXPORTED_FUNCTIONS should fix that. This may be a bug in the compiler, please file an issue.

As such, I am filing this issue.

The project in question is janekb04/emscripten-test. I will provide additional information if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions