Giter Club home page Giter Club logo

Comments (9)

raysan5 avatar raysan5 commented on June 30, 2024 1

oh, I see! Some user added it to build on MSVC I think... Thanks for reporting!

Actually, I haven't tested raygui on RPI just yet...

from raygui.

raysan5 avatar raysan5 commented on June 30, 2024 1

Just note that controls_review.c example has been reviewed for a better look and cleaner code.

Closing this issue for now.

from raygui.

raysan5 avatar raysan5 commented on June 30, 2024

Actually, raygui is intended to be just manually added to your raylib project. Just copy the raygui.h file into your project folder and include it using:

#define RAYGUI_IMPLEMENTATION
#include "raygui.h"

Those two lines, include the library header + implementation into your code. Super simple.

To build the example, you can use the same method used to build any raylib example.

Lately we're working hard on raygui... but I agree there is a bit lack of documentation.

from raygui.

JamesDunne avatar JamesDunne commented on June 30, 2024

It was failing to build on Raspberry Pi Linux because of the __declspec(dllexport) in RAYGUIDEF. After removing that, the examples compiled smoothly.

from raygui.

JamesDunne avatar JamesDunne commented on June 30, 2024

No worries. I got it figured out after an hour or so. The controls_review.c example worked well on the RPI 3B with the official 7" touchscreen. I just redefined it to 800x480 instead of 800x600, and one or two controls overlapped, but all in all it was functional. Great work!

from raygui.

raysan5 avatar raysan5 commented on June 30, 2024

oh! that's great! Thanks for the feedback! :D

controls_review.c is the latest test bench, controls overlapping was for testing... the rest of the examples need to be reviewed... well, several things need review... keep working on it...

Please, keep me updated with your progress!

from raygui.

JamesDunne avatar JamesDunne commented on June 30, 2024

Will do. I'm planning to build a shared library on the RPI to use with the C# bindings (raylib-cs).

20181024_143111

Does that appear to be correct? I haven't even run the controls_review test on a desktop yet for a baseline lol.

from raygui.

raysan5 avatar raysan5 commented on June 30, 2024

Yes, it is, same as desktop, well, a couple of controls are out of the window... Actually, it's a quite ugly testing sample... sorry...

Wow! raylib-cs running on the RPI? Is that possible? what about performance?

from raygui.

JamesDunne avatar JamesDunne commented on June 30, 2024

Should be possible as long as I have a .so to PInvoke to. Not sure about performance yet which is why I wanted to try it out first :D

from raygui.

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.