Geometric_tools_Engine “unable to create WIC imaging factory“” 问题解决
来源:互联网 发布:index=0 c语言 编辑:程序博客网 时间:2024/06/06 13:59
该Tools可以从官网处https://www.geometrictools.com/下载获得。
我在运行其目录下samples/Imagics/Convolution例子时到
ComObject<IWICImagingFactory> wicFactory;
HRESULT hr = ::CoCreateInstance(CLSID_WICImagingFactory, nullptr,
CLSCTX_INPROC_SERVER, IID_IWICImagingFactory,
reinterpret_cast<LPVOID*>(&wicFactory));
处时会报错,出现下图报错信息:
发现是下图处CLSID_WICImagingFactory的宏定义有问题
将 #define CLSID_WICImagingFactory CLSID_WICImagingFactory1改为#define CLSID_WICImagingFactory CLSID_WICImagingFactory或者CLSID_WICImagingFactory2即可,成功出现:
0 0
- Geometric_tools_Engine “unable to create WIC imaging factory“” 问题解决
- Unable to Create Process
- Imaging Library not available, unable to import bitmaps only jpegs
- Build forge unable to create
- unable to create native thread
- Unable to create the pidfile.
- Unable to create Debug Bridge
- Unable to create positive samples
- QOCIDriver: unable to create environment
- cloudera-scm-agent 启动失败 'Unable to create the pidfile'问题解决
- ERROR:Fatal error in launcher: Unable to create process using '"'问题解决
- Unable to to create media player
- Unable to locate packet 问题解决
- Unable to load annotation processor factory
- Unable to create Debug Bridge:Unable to start adb server
- Unable to create Debug Bridge:Unable to start adb server
- Unable to create Debug Bridge: Unable to start adb server
- Unable to create Debug Bridge:Unable to start adb server
- 学习运维——网络管理基础
- 在linux 上安装chrome 谷歌浏览器
- 【深度学习:CNN】Dropout解析(1)
- Java Thread线程
- Python Selenium 启动新版本Firefox失败问题解决方案
- Geometric_tools_Engine “unable to create WIC imaging factory“” 问题解决
- 【C/C++】关于修饰函数关键字 __declspec,__cdecl,__stdcall,__declspec
- NYOJ 43 24 Point game
- RecyclerView 点击位置错乱问题
- 简单记录 gitlab 本地安装过程
- ===如何测试直播软件===
- 我的生活(-)-童年回顾
- jvm参数(调优)+jvm内存的年轻代/老年代/持久代
- Android Data Binding(转)