链接:致命错误LNK1104:无法打开文件'MSCOREE.lib' [英] LINK : fatal error LNK1104: cannot open file 'MSCOREE.lib'

查看:1197
本文介绍了链接:致命错误LNK1104:无法打开文件'MSCOREE.lib'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

LINK:致命错误LNK1104:无法打开文件'MSCOREE.lib'



在我的机器上,

mscoree.lib不会t位于C:\Program Files \ Mysoftoft SDKs \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\ v5.0 \Lib\IA64

我已经添加了

工具 - >选项 - >项目和解决方案 - > VC目录



请帮助我:confused:

LINK : fatal error LNK1104: cannot open file 'MSCOREE.lib'

On my machine,
mscoree.lib doesn't locate in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
It is located in C:\Program Files\Microsoft SDKs\Windows\v5.0\Lib\IA64
I've already add under
Tools->Option->Projects and solution->VC Directories

Please Help me:confused:

推荐答案

我刚检查了我的系统,它在 C :\ Program Files \ MicroSoft SDKs\ Windows \\\\\\\\\\\\\\\\\\\\也许你的系统已经被破坏了。
I just checked my system and it is in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib. Maybe your system has been corrupted somehow.


I just solved this by adding the library folder of windows SDK (...\lib\x64) in the linker property : Additional Libary Directories (Project => Properties => Linker => Additional Libary Directories)

Regards,
Tennirva


添加此代码#pragma comment(lib,MSCOREE.lib)
add this code #pragma comment(lib, "MSCOREE.lib")


这篇关于链接:致命错误LNK1104:无法打开文件'MSCOREE.lib'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆