Skip to content

Compiling help: How do I compile with Imgui? #1110

Open

Description

@KirbyKid256

Which target are you using?

[x] Windows
[ ] Linux
[ ] Mac

Explain your issue

Please check first if your issue haven't already been reported yet, and make sure you ran the update.bat file before building.

I can't compile the latest commit of Codename Engine and it seems to be because of imgui. I added all the libraries via setup-windows.bat and when I run lime build windows, it says to run lime rebuild cpp. But when I run THAT, it gives a fatal error message relating to imgui. I also tried running lime rebuild tools and try to rebuild C++ after that, but I'm still getting the same error message.

Image Image

Activity

  1. r6915ee commented on Sep 14, 2026

    @r6915ee
    Contributor

    Which target are you using?

    [x] Windows
    [ ] Linux
    [ ] Mac

    Explain your issue

    Please check first if your issue haven't already been reported yet, and make sure you ran the update.bat file before building.

    I can't compile the latest commit of Codename Engine and it seems to be because of imgui. I added all the libraries via setup-windows.bat and when I run lime build windows, it says to run lime rebuild cpp. But when I run THAT, it gives a fatal error message relating to imgui. I also tried running lime rebuild tools and try to rebuild C++ after that, but I'm still getting the same error message.

    Image Image

    On my end, it seems that it's because cne-lime's Dear ImGui submodule isn't being cloned correctly. project/lib/imgui is added as a directory in the cloned source code for Lime, but it isn't populated.

  2. KirbyKid256 commented on Sep 14, 2026

    @KirbyKid256
    ContributorAuthor

    On my end, it seems that it's because cne-lime's Dear ImGui submodule isn't being cloned correctly. project/lib/imgui is added as a directory in the cloned source code for Lime, but it isn't populated.

    Yup, that seems to be the problem on mine as well. I had to grab those files by going through the cne-lime repository, then the imgui submodule at the location you said.

  3. MRK2009 commented on Oct 8, 2026

    @MRK2009
    Contributor

    Read this, hope you'll understand how to fix it without adding those files manually.

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

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions