Compilation error (typedef Rectangle)
Issue #134
resolved
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)
-
Account Deleted reporter -
Account Deleted reporter - changed status to resolved
User error, sorry.
- Log in to comment
For some reason my locally checked out repo was not updated properly. After a![:slight_smile: 🙂](https://pf-emoji-service--cdn.us-east-1.prod.public.atl-paas.net/standard/a51a7674-8d5d-4495-a2d2-a67c090f5c3b/48x48/1f642.png)
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