Giter VIP home page Giter VIP logo

Comments (4)

SpaiR avatar SpaiR commented on May 20, 2024 1

I see. The idea was that imgui-app.jar will be like the only dependency to run the app. And it is actually does, but only when using maven/gradle. The jar itself doesn't include imgui/lwjgl. I'll fix it in future release and will make it a proper fatjar. Until then, if you're using raw jars, you should also add other dependecies, like: imgui-java, imgui-lwjgl3 and lwjgl itself. Or follow the video https://youtu.be/Xq-eVcNtUbw

from imgui-java.

SpaiR avatar SpaiR commented on May 20, 2024 1

Let it be open until I'll fix the problem.

from imgui-java.

SpaiR avatar SpaiR commented on May 20, 2024

imgui-app should be enough. Why do you think it isn't? Look at the example module. There is only one dependency toimgui-app.

from imgui-java.

 avatar commented on May 20, 2024

imgui-app should be enough. Why do you think it isn't? Look at the example module. There is only one dependency toimgui-app.

Have a look at this example code:

import imgui.ImGui;
import imgui.app.Application;

public class Main extends Application {
    @Override
    protected void configure(Configuration config) {
        config.setTitle("Dear ImGui is Awesome!");
    }

    @Override
    public void process() {
        ImGui.text("Hello, World!");
    }

    public static void main(String[] args) {
        launch(new Main());
    }
}

You see, it also imports imgui.ImGui, don't you? Without this import, ImGui.text will definitely not work. Also, where is Configuration defined? The Configuration class in imgui-app definitely not accepted, type mismatch. Thanks.

from imgui-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.