如何解决“无法打开文件‘LIBCD.lib’"在 Visual Studio 2008 中? [英] How to solve "cannot open file 'LIBCD.lib' " in visual studio 2008?

查看:34
本文介绍了如何解决“无法打开文件‘LIBCD.lib’"在 Visual Studio 2008 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试编译我下载的一些代码时,出现链接错误 LNK1104:无法打开文件LIBCD.lib".我在电脑上的任何地方都找不到这个文件.它是什么,我可以从某个地方下载它吗?有没有另一种方法可以让代码工作?

trying to compile some code i downloaded, i get link error LNK1104: cannot open file 'LIBCD.lib'. i cant find this file anywhere on my computer. what is it, and can i download it from somewhere? is there another way to get the code to work?

推荐答案

首次在 Google 上搜索 libcd 说:

这个文件是调试单线程版本的静态库C 运行时.Visual Studio 2005 不再支持此版本C 运行时:相反,您需要使用多线程版本(libcmtd.lib) 或动态链接 (DLL) 版本 (msvcrtd.lib).

This file is the static library for the debug single threaded version of the C runtime. Visual Studio 2005 no longer supports this version of the C runtime: instead you need to use the multi-threaded version (libcmtd.lib) or the dynamically linked (DLL) version (msvcrtd.lib).

要解决此问题,您需要更改附带的 makefile使用 GLUI 使其使用不同版本的库.

To fix this problem you will need to change the makefile that comes with GLUI to get it to use a different version of the library.

以及其他一些可能对您有帮助的事情.

and some other things that might help you.

这篇关于如何解决“无法打开文件‘LIBCD.lib’"在 Visual Studio 2008 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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