trying to compile freeimage without MSYS2 I get
[ 0%] Building CXX object CMakeFiles/FreeImage.dir/Source/FreeImage/FreeImage.cpp.obj
In file included from C:/mingws/i686-7.2.0-release-posix-dwarf-rt_v5-rev1/mingw32/i686-w64-mingw32/include/windows.h:9:0
,
from C:\LuaGL\gitsources\FreeImageORIG\Source\FreeImage\FreeImage.cpp:28:
C:/mingws/i686-7.2.0-release-posix-dwarf-rt_v5-rev1/mingw32/i686-w64-mingw32/include/unknwnbase.h: In member function 'H
RESULT IUnknown::QueryInterface(Q)':
C:/mingws/i686-7.2.0-release-posix-dwarf-rt_v5-rev1/mingw32/i686-w64-mingw32/include/unknwnbase.h:74:29: error: '__mingw
_uuidof' was not declared in this scope
return QueryInterface(__uuidof(Q), (void )pp);
Last time I asked (some years ago) I was told to use MSYS2 to solve it so I did post to them
https://github.com/msys2/MINGW-packages/issues/6514
They said that maybe my toolchain is too old but I think it is not ...