0xc0150002

xxxxllll 2012-05-29 10:35:23
我在用vs2005 编译 2008的tesseract-3.01时,编译无问题,release也没有问题,但是debug的时候总是出现0xc0150002 初始化错误的问题,但是改成2005版本的代码在别人的机器上用VS2005就没有问题,谁知道问题出在了哪里?

装了好多补丁,问题还是没有解决,拷贝vc下面的库也试了,还是没有解决,求助


debug时,错误如下
'tesseract.exe': Loaded 'D:\vs2005work\tesseract-3.01\vs2008\bin.dbg\tesseract.exe', Symbols loaded.
'tesseract.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'tesseract.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'tesseract.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'tesseract.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'tesseract.exe': Loaded 'D:\vs2005work\tesseract-3.01\vs2008\bin.dbg\liblept168d.dll', No symbols loaded.
LDR: LdrpWalkImportDescriptor() failed to probe d:\vs2005work\tesseract-3.01\vs2008\bin.dbg\liblept168d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3628] tesseract.exe: Native' has exited with code -1072365566 (0xc0150002).
...全文
1919 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
wangyantfzw 2013-02-04
  • 打赏
  • 举报
回复
问题解决了吗?我也遇到这个问题,求解答 'AutoMark.exe': Loaded 'D:\Visul2010\期刊标引\output\binDebug\AutoMark.exe', Symbols loaded. 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\mfc100ud.dll', Symbols loaded. 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded. 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\msimg32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded. 'AutoMark.exe': Loaded 'D:\Visul2010\期刊标引\output\binDebug\cximaged.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file 'AutoMark.exe': Loaded 'D:\Visul2010\期刊标引\output\binDebug\Include.dll', Symbols loaded. 'AutoMark.exe': Loaded 'D:\Visul2010\期刊标引\output\binDebug\AnalysePst2ud.dll', Cannot find or open the PDB file The program '[3108] AutoMark.exe: Native' has exited with code -1072365566 (0xc0150002).
kyotrue 2012-05-29
  • 打赏
  • 举报
回复
是不是把系统DLL的加载地址给占用了
三条猫 2012-05-29
  • 打赏
  • 举报
回复
是不是系统环境变量设置有问题,
你的系统安装路径不是c:\windows?
'tesseract.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
...
这些dll都没读到
enight0000 2012-05-29
  • 打赏
  • 举报
回复
我大一学生,这两天也在做tesseract的使用,咱们交流下吧。我是直接通过cmd调用的,你的编译是什么思路?我的程序现在也有问题,就是调用一次可以,再此调用就崩溃了,也不知道什么问题。
oyljerry 2012-05-29
  • 打赏
  • 举报
回复
LDR: LdrpWalkImportDescriptor() failed to probe d:\vs2005work\tesseract-3.01\vs2008\bin.dbg\liblept168d.dll for its manifest, ntstatus 0xc0150002
---- 还是这个dll以及它的manifest文件有问题。到可以的机器上看是否生成了manifest
xxxxllll 2012-05-29
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

是不是系统环境变量设置有问题,
你的系统安装路径不是c:\windows?
'tesseract.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
...
这些dll都没读到
[/Quote]

这些dll都在C:\WINDOWS\system32下面,没问题
xxxxllll 2012-05-29
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 的回复:]

是不是把系统DLL的加载地址给占用了
[/Quote]
?怎么看?新系统直接装VS2005 都不可以

15,473

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧