Giter Site home page Giter Site logo

Comments (9)

MGlolenstine avatar MGlolenstine commented on September 26, 2024 1

@Dominaezzz I have a free Raspberry Pi 2B+, so I can test out Arm32 builds with no problem.

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

I don't have access to my computer at the moment but the sample won't immediately work for arm32hfp, because kgl (used for OpenGL and GLFW) doesn't target raspberry pi yet, so the implementations will have to be created for raspberry pi.

from kotlin-imgui.

MGlolenstine avatar MGlolenstine commented on September 26, 2024

Whenever you'll manage to, please let me know I'll be watching this repo anyways!

I'd do it myself, but I don't understand Gradle at all...

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

I've gotten to my laptop now. You seem to have only edited the samples build.gradle.kts file and left the ones for imgui and cimgui. They each have to be configured for linuxArm32Hfp.
I've made some changes and pushed it to the raspberrypi branch. It should allow you to run the sample via JVM but Native will require you to do cinterop for OpenGL( ES?) and GLUT/GLFW/SDL. I don't know enough about raspberry pi to set it up in CI.
I can try and assist you through Gradle issues if you make a PR or something.

from kotlin-imgui.

MGlolenstine avatar MGlolenstine commented on September 26, 2024

I'll test that branch out for JVM and will try to make the cinterop work with the RPi!
Thanks for the good work!

from kotlin-imgui.

msink avatar msink commented on September 26, 2024

At least SDL2 is available in K/N prebuilt sysroot for RPi, see samples/Tetris in K/N repo.
Should work on any host, including CI.

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

Ah, I forgot about that. Thought should make things easier.

from kotlin-imgui.

msink avatar msink commented on September 26, 2024

Just checked samples/tetris - it's a little bit broken, did PR JetBrains/kotlin-native#3813

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

@MGlolenstine Are you still interested in this? Particularly in testing builds?

from kotlin-imgui.

Related Issues (17)

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.