Windows 7 64位
我已经下载了与Opengl和DevIl一起工作的Tao框架。问题是当我尝试使用devIl库时,我在64位平台(设置>构建>平台目标)下得到这个错误
Unable to load DLL 'DevIL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)当我尝试在32位平台下使用这个库时,我得到了这个错误
Unable to load DLL 'DevIL.dll': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)我怎么才能修复它?
发布于 2011-06-22 01:34:28
最新的TaoFramework在其源代码中没有DevIL绑定。
我搜索了一下,发现了一个更老的版本,就是here。在那里,您可以编译Tao.DevIL库,它需要DevIL 1.6.8 RC2,您可以在here中找到它;下载二进制文件,或者从源代码中编译您自己的项目。
确保DLL在您的路径中。
如果你想在Windows上运行,我想你应该修改源代码,以便正确地指向DLL文件;如果你在64位平台上运行,我想你应该指向64位版本的DevIL。
(你很幸运,我刚刚调查过了)。
https://stackoverflow.com/questions/6027204
复制相似问题