weixin_39957186
2021-01-11 21:27Disable 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 color.xml
, etc.
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?
该提问来源于开源项目:ImageMagick/ImageMagick
- 点赞
- 回答
- 收藏
- 复制链接分享
14条回答
为你推荐
- NGINX- PHP下载index.php而不是执行它
- magento
- php
- nginx
- 2个回答
- 无法构建pthreads:对'zend_hash_index_insert'的未定义引用
- pthreads
- php
- compilation
- 1个回答
- 在nginx上设置rutorrent和owncloud
- owncloud
- torrent
- php
- nginx
- 2个回答
- PHPcs xml config禁用一些规则
- php
- 3个回答
- MSSQL_CONNECT什么也不返回 - 没有错误但没有响应
- iis
- php
- 3个回答
换一换