Skip to content

Not compiling #443

@JetSetIlly

Description

@JetSetIlly

Hi,

I'm taking another look at this project after a couple of years. I'm still using a fork of inkyblackness/imgui-go but will be looking to move to cimgui-go for a new project.

I was surprised that the most version of the project des not compile on my Linux machine. I've ran a git bisect and the first problem commit is this one 17bd6d5

It looks to be a C++ problem, rather than a Go problem.

To identify the problem commit I ran make in the examples/glfw directory. The fail message when making glfw at commit 17bd6d5 is

go build -v -o example-glfw .
github.com/AllenDang/cimgui-go/imgui
# github.com/AllenDang/cimgui-go/imgui
../../imgui/funcs.go:1591:31: could not determine what C.ImGuiFreeType_GetBuilderForFreeType refers to
make: *** [Makefile:4: build] Error 1

As far as I can tell there are no good commits between 17bd6d5 and a2fc4c0 (tag v1.3.1)

The fail message when compiling a2fc4c0 is extensive:

a2fc4c0_errors.txt

I am using gcc (Debian 12.2.0-14+deb12u1) 12.2.0

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