Disable config xml files (on Mac/Windows)
I built an application that statically links
magick++ with all of its dependencies into a single program. I got it to work on both mac and windows. The application does not include any xml configuration files, I just want to use the default settings.
However on windows, the first time I try to read an image it throws a c++ exception. The same happens the first time it looks for
Magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/709
The funny thing is this only happens once. If I try again it works (with the default settings). How can I configure
magick++ to always use the default settings, without throwing an exception when there are no xml configuration files?