PTT
Submit
Submit
选择语言
正體中文
简体中文
PTT
C_and_CPP
[问题] vc++ cannot open shared object file
楼主:
yshihyu
(yshihyu)
2016-02-19 23:29:54
开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
我编译后执行档案出现 error while loading shared libraries: ?: cannot open shared object file: No
such file or direct
这是DEBUG mode 会出现这样 , 但是 Release mode 不会可以正常运行
这样感觉是debug mode 编译过程少编译什么dll档案吗?
因为我平常都用linux , linux 通常会显示少了什么so 档案 ,
windows 有办法知道少了哪个dll 吗? 或是有什么 tool 类似linux ldd 查询
谢谢
作者:
EdisonX
(卡卡兽)
2016-02-21 01:38:00
2013 年出版的产品会安装 2015 年的产品... 额 ...
作者:
LPH66
(-6.2598534e+18f)
2016-02-20 18:23:00
vs2013 怎么可能会有 vs2015 的 runtime...
楼主:
yshihyu
(yshihyu)
2016-02-20 15:03:00
debug mode 执行后出现少了 vcrumtime140d.dll
http://imgur.com/wgpvhHK
我去下载回来安装又出现另外无法找到输入点... 可是另外一台电脑可以跑那闷是什么软件把 vcruntime140d.dll 装进去?后来又安装 vs2015 才可以~感觉是少了2015 runtime lib可是我记的另台电脑我只安装 vs2013 就会有2015 runtime
作者: LiloHuang (十年一刻)
2016-02-20 00:14:00
推荐使用 Process Monitor 观察
https://goo.gl/iExiSC
猜测应该是少了 debug 版的某些 runtime DLL 才会这样
楼主:
yshihyu
(yshihyu)
2016-02-20 00:51:00
请问一下是什么原因会造成缺少debug 需要的runtime dll因为我安装vs2013 步骤都跟另台电脑一样,另一台没问题
作者:
EdisonX
(卡卡兽)
2016-02-20 03:26:00
有用其他library?
楼主:
yshihyu
(yshihyu)
2016-02-20 03:56:00
depends22_x64 ... 我用这查看发现少了都是vc要有的dll例如 vcruntime140.dll, 那闷这dll 感觉应该安装vs2013 要有有第三方lib , 可是不是缺第三方的dll,,
作者:
Killercat
(杀人猫™)
2016-02-20 11:15:00
我先确认一下,你是拷贝debug .exe到其他电脑跑吗?缺的东西可以用dumpbin看 但是没办法知道在哪个档案dumpbin就是linux的ldd
继续阅读
[问题] 指标阵列 传递问题?想了超久
kai5566
[问题] 浮点数比较问题
popular10347
Re: [问题] printf & 型态转换
drag
[问题]学习unique_ptr遇到的compile error
shaopin
[问题] SDL2 RenderPresent 的叙述看不太懂
ResolaQQ
[问题] 关于用win32 API 开启档案
jyhchyunlu
[问题] intersect Ray box and Triangle
bjk
[问题] 能强化c/c++演算或逻辑的书..
mistborn82
[问题关于建构式的小问题
a2318aa
[问题] 蚂蚁书 C++ How to Program版本
ununnihao
Links
booklink
Contact Us: admin [ a t ] ucptt.com