Rangi42 / tilemap-studio

A tilemap editor for Game Boy, Color, Advance, DS, and SNES projects. Written in C++ with FLTK.
https://hax.iimarckus.org/topic/7691/
Other
381 stars 30 forks source link

compilation error with FLTK 1.3.8 #73

Closed ghost closed 1 year ago

ghost commented 1 year ago

can't compile on ArchLinux with gcc 12.2.0, FLTK 1.3.8 (natively installed via pacman from the official repos)

on tilemap studio 4.0.1, when compiling with make (on the unzipped directory, zipfile from github), I get several errors like this:

src/widgets.cpp:195:9: error: ‘Fl_Input Fl_Spinner::input_’ is private within this context                                                                                          
  195 |         input_.box(OS_INPUT_THIN_DOWN_BOX);

I attach full output from make 4.0.1_make_output.txt

Similar errors happen on the latest commit (69b1d9a).

Rangi42 commented 1 year ago

Yeah, follow the https://github.com/Rangi42/tilemap-studio/blob/master/INSTALL.md#install-and-build-tilemap-studio steps to build with the new ABI.

ghost commented 1 year ago

yeah, that did the trick, thanks 😀

On Tue, Sep 27, 2022 at 12:31 AM Rangi @.***> wrote:

Closed #73 https://github.com/Rangi42/tilemap-studio/issues/73 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Rangi42/tilemap-studio/issues/73#event-7464210467, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYMDXC3CDBQOVTSCJQOUK3WAJTAJANCNFSM6AAAAAAQWLFYOQ . You are receiving this because you authored the thread.Message ID: @.***>