Fabien-Chouteau / lvgl-ada

An Ada binding for the lvgl embedded GUI library: https://github.com/littlevgl/lvgl
Other
9 stars 0 forks source link

Example compile error #2

Closed MarcusE1W closed 4 years ago

MarcusE1W commented 4 years ago

Hi.

First of all, thanks. this looks like a great project.

During the build with alr build I get this error:

==============Error messages for file: /home/rock64/prog/ada/tst/3/lvgl_ada_examples_0.1.0_8267a841/alire/cache/projects/lvgl_ada_simulator_0.1.0_f4132af3/lvgl_ada_simulator.gpr
     1. with "gnat/sdlada.gpr";
             |
        >>> unknown project file: "gnat/sdlada.gpr"

The path for gnat/sdlada.gpr is not quite right, it should be build/gnat/sdlada.gpr, then it works.

Maybe there was a change in package sdlada ?

Fabien-Chouteau commented 4 years ago

Hi @MarcusE1W,

I actually think that this is related to a bug that is now fixed in Alire: https://github.com/alire-project/alire/pull/280

The project file should probably have with "sdlada.gpr" now. Thank you for the report, I will try to fix this and make a new release as soon as possible.

It's nice to see someone interested in this project, I would happy to know what you plan to do with it :)

Fabien-Chouteau commented 4 years ago

In the meantime you can edit alire/cache/projects/lvgl_ada_simulator_0.1.0_f4132af3/lvgl_ada_simulator.gpr to change with "gnat/sdlada.gpr"; to with "sdlada.gpr";.

Fabien-Chouteau commented 4 years ago

Alright @MarcusE1W I published a fix in Alire: https://github.com/alire-project/alire-index/pull/79

Since this is holiday season it might take some time to be integrated into the index (the process is not automated yet).

MarcusE1W commented 4 years ago

Thanks for the feedback.

I am looking for a solution to use Ada with the PineTime Dev Kit.

The display is naturally quite small. Could vlgl still fit?

Fabien-Chouteau commented 4 years ago

I am looking for a solution to use Ada with the PineTime Dev Kit.

Nice! I remember someone else looking at running Ada on this watch, maybe it was you.

The display is naturally quite small. Could vlgl still fit?

lvgl can fit on any screen I think.

MarcusE1W commented 4 years ago

Happy to confirm that all works now :-D

Fabien-Chouteau commented 4 years ago

Awesome, thanks for the update!