Compilation error (typedef Rectangle)

Issue #134 resolved
Former user created an issue

Currently compilation on Windows is broken due to the following problem in perspective.cc:

In file included from C:/msys64/home/Roel/art/rtgui/perspective.cc:19:
C:/msys64/home/Roel/art/rtgui/controllines.h:25:9: error: 'Rectangle' does not name a type; did you mean 'AtkRectangle'?
   25 | typedef Rectangle EditRectangle; // workaround to compilation errors with exiv2 0.27.3 on windows
      |         ^~~~~~~~~
      |         AtkRectangle

I encountered the same issue when resolving merge conflicts with the exiv2 branch in RawTherapee yesterday. I ended up renaming the class (for ART inedit.cc) and replacing all occurrences in the code.

Comments (2)

  1. Former user Account Deleted reporter

    For some reason my locally checked out repo was not updated properly. After a git reset --hard the code now compiles correctly. Sorry for the noise.
    This does raise the question why I ran into trouble yesterday… but that’s not your concern 🙂

  2. Log in to comment