VS2013 Error LNK2011简易解决方案
来源:互联网 发布:技术推算法 编辑:程序博客网 时间:2024/06/06 16:34
去微软的MSDN搜,得到的是下面一大串英文:
precompiled object not linked in; image may not runIf you use precompiled headers, LINK requires that all of the object files created with precompiled headers must be linked in. If you have a source file that you use to generate a precompiled header for use with other source files, you now must include the object file created along with the precompiled header.For example, if you compile a file called STUB.cpp to create a precompiled header for use with other source files, you must link with STUB.obj or you will get this error. In the following command lines, line one is used to create a precompiled header, COMMON.pch, which is used with PROG1.cpp and PROG2.cpp in lines two and three. The file STUB.cpp contains only #include lines (the same #include lines as in PROG1.cpp and PROG2.cpp) and is used only to generate precompiled headers. In the last line, STUB.obj must be linked in to avoid LNK2011.
既然我说的是简易解决方案,也就懒得给你翻译上面这段了.
进入你的项目目录,在进入Debug
目录,Ctrl+A
全选,Del
删除之,进入VS2013,重新编译.
看,问题已经没有了.
0 0
- VS2013 Error LNK2011简易解决方案
- error LNK2011
- vs2013之错误 1 error C4996: 'fopen'的解决方案
- caffe,用VS2013生成解决方案error : CommonSettings.props not found!
- VS2013 简易安装
- error LNK2011: precompiled object not linked in; image may not run 问题解决方法
- error LNK2011: precompiled object not linked in; image may not run
- issue---bug fix---error LNK2011: precompiled object not linked in; image may not run
- vs2013 warning MSB8012解决方案
- VS2013 C4996解决方案
- vs2013 error:C4996
- VS2013 error 集
- win10 + vs2013 +caffe 简易CPUonly安装步骤
- VS2013+MFC 简易音乐播放器
- [VS2013]C++中调用Python脚本提示 error LNK2001: 无法解析的外部符号__imp_PyString_FromString等错误的解决方案
- VS2013 解决方案文件结构分析
- VS2013编译错误:-D_SCL_SECURE_NO_WARNINGS解决方案
- vs2013出现error C4996问题
- c++之运算符重载
- proe二次开发的第一个程序
- RESTful 接口规范
- sicily 1419(动态规划)
- Java程序员从笨鸟到菜鸟之(十一)多线程讲解
- VS2013 Error LNK2011简易解决方案
- golang导包
- C++Primer 笔记之----变量和函数
- 欧氏距离与马氏距离的优缺点是什么?
- MFC ClistCtrl控件添加右键操作
- 求得1-100里9出现的次数的c代码
- LeetCode Majority Element
- strcpy()、memcpy()、memmove()、memset()的实现
- 找出两个结点的第一个公共祖先(算法)