https://bugs.kde.org/show_bug.cgi?id=398582
--- Comment #78 from caulier.gil...@gmail.com --- Hi Maik, The GraphicsMagick relevant code from the plugin loader do not compile under Windows... as expected of course : dimgtiffexportsettings.cpp Generating Code... mocs_compilation_RelWithDebInfo.cpp glviewertimer.cpp Automatic MOC for target Generic_SmugMug_Plugin mocs_compilation_RelWithDebInfo.cpp atkinspagelayoutnode.cpp mediawiki_generalinfo.cpp Creating library E:/b/dktemp/digikam-master/build/lib/RelWithDebInfo/RawImport_Native_Plugin.lib and object E:/b/dktemp/digikam-master/build/lib/RelWithDebInfo/RawImport_Native_Plugin.exp freerotationtool.cpp E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(47,17): error C2871: 'MagickCore': a namespace with this name does not exist [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(47,17): error C2065: 'MagickCore': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(69,5): error C3861: 'MagickCoreGenesis': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(81,5): error C3861: 'MagickCoreTerminus': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(152,9): error C2065: 'ExceptionInfo': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(152,23): error C2146: syntax error: missing ';' before identifier 'ex' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(152,23): error C2065: 'ex': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(152,38): error C3861: 'AcquireExceptionInfo': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(154,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(154,25): error C2143: syntax error: missing ';' before '*' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(154,28): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(154,65): error C2065: 'ex': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(154,37): error C3861: 'GetMagickInfoList': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(156,14): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(164,29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(164,29): error C2143: syntax error: missing ';' before '*' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(164,31): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(164,37): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(166,17): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(176,41): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(183,63): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(184,50): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(187,50): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,24): error C2665: 'QMap<QString,QStringList>::insert': no overloaded function could convert all the argument types [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\dk\x64-windows\include\Qt6\QtCore/qmap.h(733,10): message : could be 'void QMap<QString,QStringList>::insert(QMap<QString,QStringList> &&)' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,24): message : 'void QMap<QString,QStringList>::insert(QMap<QString,QStringList> &&)': cannot convert argument 1 from 'QString' to 'QMap<QString,QStringList> &&' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,32): message : Reason: cannot convert from 'QString' to 'QMap<QString,QStringList>' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,32): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\dk\x64-windows\include\Qt6\QtCore/qmap.h(710,10): message : or 'void QMap<QString,QStringList>::insert(const QMap<QString,QStringList> &)' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,24): message : 'void QMap<QString,QStringList>::insert(const QMap<QString,QStringList> &)': cannot convert argument 1 from 'QString' to 'const QMap<QString,QStringList> &' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,32): message : Reason: cannot convert from 'QString' to 'const QMap<QString,QStringList>' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,32): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(182,24): message : while trying to match the argument list '(QString)' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(196,14): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(279,9): error C2065: 'ExceptionInfo': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(279,23): error C2146: syntax error: missing ';' before identifier 'ex' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(279,23): error C2065: 'ex': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(279,38): error C3861: 'AcquireExceptionInfo': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(281,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(281,25): error C2143: syntax error: missing ';' before '*' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(281,28): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(281,65): error C2065: 'ex': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(281,37): error C3861: 'GetMagickInfoList': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(283,14): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(291,29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(291,29): error C2143: syntax error: missing ';' before '*' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(291,31): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(291,37): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(293,17): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(293,24): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(302,48): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(309,14): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(342,9): error C2065: 'ExceptionInfo': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(342,23): error C2146: syntax error: missing ';' before identifier 'ex' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(342,23): error C2065: 'ex': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(342,38): error C3861: 'AcquireExceptionInfo': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(344,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(344,25): error C2143: syntax error: missing ';' before '*' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(344,28): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(344,65): error C2065: 'ex': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(344,37): error C3861: 'GetMagickInfoList': identifier not found [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(346,14): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(354,29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(354,29): error C2143: syntax error: missing ';' before '*' [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(354,31): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(354,37): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(356,17): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(356,24): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(365,52): error C2065: 'inf': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] E:\b\dktemp\digikam-master\core\dplugins\dimg\imagemagick\dimgimagemagickplugin.cpp(372,14): error C2065: 'inflst': undeclared identifier [E:\b\dktemp\digikam-master\build\core\dplugins\dimg\imagemagick\DImg_ImageMagick_Plugin.vcxproj] dimgimagemagickloader.cpp It's also reproducible under Linux of course. I think we must well separate both backends in this plugin, and do not mix the implementations. Gilles -- You are receiving this mail because: You are watching all bug changes.