VS2017社区 - 新项目 - 链接:致命错误LNK1104:无法打开文件'gdi32.lib' [英] VS2017 Community - new project - LINK : fatal error LNK1104: cannot open file 'gdi32.lib'

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

问题描述

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


我在新安装的Visual中创建并构建新的Win32控制台应用程序时得到此信息Studio 2017社区。

Microsoft Visual Studio社区2017
$
版本15.1(26403.3)发布

VisualStudio.15.Release / 15.1。 0 + 26403.3

Microsoft .NET Framework

版本4.7.02046


获取如果我在我以前版本的Visual Studio(VS 2015 Express)中创建和构建一个相同的项目,则会出现问题。


如果我打开(我会遇到问题在VS2017中)一个旧项目(早先使用VS2015创建)。


我做 甚至如果我打开就会出现问题(在VS2017)一个旧项目(之前使用VS2015创建)并将项目重新定位到最新的Windows SDK(10.0.15063.0)和Platform Toolset(v141)。


我只遇到问题创建一个全新的项目f在我的新版VS(2017社区)中划伤。


谢谢


解决方案

您好Colin,


感谢您在MSDN论坛上发帖。


此论坛正在讨论有关视觉效果的信息。 Studio安装和安装,因为您的问题与C ++相关,我帮助您将此案例移至C ++论坛以获得专业支持。


感谢您的理解。


最诚挚的问候,


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

I get this when I create and build a new Win32 Console Application in my new installation of Visual Studio 2017 Community.

Microsoft Visual Studio Community 2017
Version 15.1 (26403.3) Release
VisualStudio.15.Release/15.1.0+26403.3
Microsoft .NET Framework
Version 4.7.02046

I do not get the problem if I create and build an identical project in my previous version of Visual Studio (VS 2015 Express).

I do not get the problem if I open (in VS2017) an old project (created earlier using VS2015).

I do not even get the problem if I open (in VS2017) an old project (created earlier using VS2015) and retarget the project to the latest Windows SDK (10.0.15063.0) and Platform Toolset (v141).

I only get the problem when I create a completely new project from scratch in my new version of VS (2017 Community).

Thanks

解决方案

Hi Colin,

Thank you for posting in MSDN forum.

This forum is discussing about Visual Studio Setup and Installation, since your issue related to C++, I help you move this case to C++ forum for a much professional support.

Thanks for your understanding.

Best Regards,


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

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