致命错误LNK1181:不可能ouvrir le fichierenentrée'ws2_32.lib' [英] Fatal error LNK1181: impossible d'ouvrir le fichier en entrée 'ws2_32.lib'

查看:120
本文介绍了致命错误LNK1181:不可能ouvrir le fichierenentrée'ws2_32.lib'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我的电脑已经从WinXP 32位升级到Win7 64位并重新安装了VS2008。

不幸的是,我无法建立我的电脑使用Winsock的C ++项目了! :-(

ws2_32.lib引用在链接器/输入/依赖项中输入但是我收到链接错误!

我们欢迎您的帮助。

问候。

Hello,
My computer has been upgraded from WinXP 32-bit to Win7 64-bit and VS2008 was reinstalled.
Unfortunately, I can''t build my C++ project using Winsock anymore! :-(
ws2_32.lib reference is typed in "linker/inputs/dependencies but" I get a link error!
Your help is welcome.
Regards.

推荐答案





您是否尝试链接ws2_32.lib文件(在您的应用程序依赖项设置中)64位机器?
Hi,

Did you try to link the ws2_32.lib file(in your application dependency settings) in your 64 bit machine ?


由于您从32位机器移动到64位机器,您需要将大多数应用程序从32位升级到64位这包括32位winsock库。你可能会发现其他需要升级的东西......
Since you moved from a 32 bit machine to 64 bit machine, you need to upgrade most of your apps from 32 to 64 bit as well. This includes the 32 bit winsock library. You will probably find other things needing upgrade as well...


我在Win7 64位上安装了一个带有32位XP的虚拟机。这对我来说是最简单,最快捷的方法!
I installed a virtual machine with XP 32 bit on my Win7 64 bit. That was the easiest and the most quick way for me!


这篇关于致命错误LNK1181:不可能ouvrir le fichierenentrée'ws2_32.lib'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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