码迷,mamicode.com
首页 > 其他好文 > 详细

vc6.0编译出错,删除多余的文件,清空重新编译

时间:2016-01-04 23:46:15      阅读:731      评论:0      收藏:0      [点我收藏+]

标签:

楼主  你第一次编译链接成功后,有没有F5调试运行,我也碰到过这个问题,调试运行后,过了设的断点就进入了CMDTARG.CPP,然后关编辑器是应该会提示保存对CMDTARG.CPP的修改,我点了保存,之后也出现上面的错误。后来我试过不点保存就没有

Release版的程序编译出现"LINK : warning LNK4089: all references to "ADVAPI32.dll" discarded by /OPT:REF"该如何解决??

 

我没遇到过~
你改一下编译器选项~
把 /OPT:REF去掉~

 

Linker Tools Warning LNK4089
all references to "dynamic-link library" discarded by /OPT:REF

The linker discarded all packaged functions that referenced exports in dynamic-link library. As a result, dynamic-link library and its import library are unneeded.

 

在c++中经常看到#include <commctrl.h> 请问这个头文件是干什么用的?

包含window编程中的控件API的定义

在用SDK编程时使用控件时使用

主要包含 win 下一些通用控件的接口

 

在#include <wingdi.h>前必须有一句#include "windows.h",因为wingdi.h中的好多标识符是在windows.h中定义的…
解决方案:
  1,查找文件中是否多了一个文件,删除。
  2,Clear
  3,删除debug文件夹重新编译。
 

 warning C4652: compiler option ‘Generate Browser Info‘ inconsistent with precompiled header; current command-line option will override that defined in the precompiled head


 


1.可能你在stdafx.h中定义的文件,又在#include "stdafx.h"后面定义了;
2.将‘Generate Browser Info‘选项打勾去掉


 

vc6.0编译出错,删除多余的文件,清空重新编译

标签:

原文地址:http://www.cnblogs.com/rechen/p/5100546.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!