![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vs各种报错
文章平均质量分 60
liujiancheng815
这个作者很懒,什么都没留下…
展开
-
应用程序无法启动,因为应用程序的并行配置不正确(转载)
应用程序事件日志中:“C:\windows\system32\test.exe”的激活上下文生成失败。 找不到从属程序集 Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"。 请使用转载 2013-07-03 15:15:06 · 997 阅读 · 0 评论 -
应用程序无法启动,应用程序的并行配置不正确
应用程序事件日志中:“C:\windows\system32\test.exe”的激活上下文生成失败。 找不到从属程序集 Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"。 请使用 sxstrace.exe转载 2013-07-09 19:13:24 · 776 阅读 · 0 评论 -
there is no source code available for the current location 解决方案
1.Clean and then rebuild solution,可能可以解决2.Tools>Options,选择Debugging>General 却掉 Enable address-level debugging 选项,再去掉 Require source files to exactly match the original version.3. Tools | Optio原创 2013-07-02 17:17:58 · 967 阅读 · 0 评论 -
one or more mulitdefied symbolsfound
one or more mulitdefied symbolsfound 申明全局变量,全局函数一定要在cpp中申明其他类引用该全局变量就include该cpp的h文件然后extern一下就好了否则容易出现该重复定义错误这个"容易"是如何解释的呢?例如A.h中如果申明了全局变量int Global;在B.h中include "A.h"转载 2013-03-19 14:52:31 · 682 阅读 · 0 评论 -
工程在release下报错,但是在debug下正常执行
Debug 和 Release 编译方式的本质区别 Debug 通常称为调试版本,它包含调试信息,并且不作任何优化,便于程序员调试程序。Release 称为发布版本,它往往是进行了各种优化,使得程序在代码大小和运行速度上都是最优的,以便用户很好地使用。 Debug 和 Release 的真正秘密,在转载 2013-07-09 19:10:59 · 882 阅读 · 0 评论 -
fatal error C1083: Cannot open precompiled header file: 'Debug/xxoo.pch': No such file or directory
这个错误的根源在于,编译器发现有源文件(CPP,C……)带有/Yu编译选项,但是找不到一个源文件带有/Yc选项,解决方法也就很明显了,至少有两个:1、把所有源文件都设置为不使用预编译头,如果文件少还好说,如果多而且还在不同的Filter里面的话,那就坑爹了。2、随意设定一个源文件为创建预编译头属性。当然最好还是加入 stdafx.cpp文件,并对其进行设置。注意到设置Precomp转载 2013-07-08 16:52:17 · 1325 阅读 · 0 评论 -
无法打开文件"LIBC.lib",Failed to save the updated manifest to the file "Debug\fern-demo.exe.embed.m
1.无法打开文件"LIBC.lib"问题解决如果将用低版本的VC开发的项目,拿到高版本的VC开发环境上去编译,链接时也许会触发LNK1104错误。解决方案是链接时忽略此库,在此提供两种解决方案:Project | Properties | Configuration Properties | Linker | InputIgnore Specific Library: libc.lib或#原创 2013-07-10 15:16:44 · 1058 阅读 · 8 评论 -
run-time check failure,stack around the variable “ ” was corrupted
当工程比较大的时候容易出现这种问题,可能是对堆栈的占用量比较大。但是具体真正的原因不明,暂时解决这种问题方法为:project->配置属性->c/c++->代码生成->基本运行时检查 设置为默认值原创 2013-07-10 15:08:55 · 599 阅读 · 0 评论