putty 编译问题
来源:互联网 发布:迅捷网络的登录密码 编辑:程序博客网 时间:2024/05/24 20:08
http://www.cnblogs.com/xianqingzh/archive/2011/07/25/2116578.html
编译putty等程序,遇到一个问题:
c:\program files\microsoft visual studio\vc98\include\sspi.h(65) : fatal error C1189: #error : You must define one of SECURITY_WIN32, SECURITY_WIN16, SECURITY_KERNEL
Error executing cl.exe.
解决方案:
我在winstuff. h 中加了红色的那个语句,搞定
#ifndef PUTTY_WINSTUFF_H
#define PUTTY_WINSTUFF_H
#ifndef AUTO_WINSOCK
#include <winsock2.h>
#endif
#include <windows.h>
#include <stdio.h> /* for FILENAME_MAX */
#include "tree234.h"
#include "winhelp.h"
#define SECURITY_WIN32
Win7安vc2008编译报LINK : fatal error LNK1000: Internal error during IncrBuildImage
2010-09-17 22:21
安装了VS2008+sp1后出现链接错误: >Copyright (C) Microsoft Corporation. All rights reserved. 1>LINK : fatal error LNK1000: Internal error during IncrBuildImage 1> Version 9.00.21022.08 1> ExceptionCode = C0000005 1> ExceptionFlags = 00000000 1> ExceptionAddress = 0111FCF7 (010A0000) "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\link.exe" 1> NumberParameters = 00000002 1> ExceptionInformation[ 0] = 00000000 1> ExceptionInformation[ 1] = 00EBD670 1>CONTEXT: 1> Eax = 401CACDC Esp = 001BF294 1> Ebx = 40008160 Ebp = 001BF2BC 1> Ecx = 00EBD670 Esi = 401CAB58 1> Edx = 001BF2AC Edi = 010AD6C0 1> Eip = 0111FCF7 EFlags = 00010246 1> SegCs = 0000001B SegDs = 00000023 1> SegSs = 00000023 SegEs = 00000023 1> SegFs = 0000003B SegGs = 00000000 1> Dr0 = 00000000 Dr3 = 00000000 1> Dr1 = 00000000 Dr6 = 00000000 1> Dr2 = 00000000 Dr7 = 00000000 ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== 一、下微软的补丁:KB948127补丁来解决,http://code.msdn.microsoft.com/KB948127。貌似安装了也不起作用 二、如果下载的补丁没安装成功或下载失败,可以用下面的方法手工来改工程设置 项目(Project)->属性(Property)->链接器(Linker)->常规(General) 下面的“启用增量链接(Enable Incremental Linking)”,将“是(/INCREMENTAL)”改为“否(/INCREMENTAL:NO)”。不过这又引入了另外一个警 告:FormatCom.obj : warning LNK4075: 忽略“/EDITANDCONTINUE”(由于“/INCREMENTAL:NO”规范) 选择项目,属性(Property pages)->配置属性(Configuration Properties) ->C/C++,修改“调试信息格式(Debug Information Format)”为“程序数据库(Program Database(/Zi))”即可。
- putty 编译问题
- putty 编译问题
- putty 编译问题
- VS2008 putty 源码编译问题
- Putty编译
- 编译putty时遇到怪异的链接问题
- putty编译VC6.0
- putty 并行编译
- linux Putty 乱码问题
- Putty中文乱码问题
- Putty 小键盘乱码问题
- putty 回滚问题
- Putty自动关闭问题
- Putty的使用问题
- msvc6.0 编译 putty 0.63
- putty乱码问题及解决
- putty 中文乱码问题处理
- putty中文字符乱码问题
- Spring AOP 实现原理与 CGLIB 应用
- Python模块安装与setup.py解析
- Regionals 2011, Asia (KMP,字符串哈希)
- 一个shell脚本执行出错的问题
- 2013移动APP界面设计趋势与设计理念
- putty 编译问题
- 关于浏览器状态栏不能隐藏的设置
- MS SQL 显示进程执行的脚本
- C#泛型集合—Dictionary<TKey,TValue>使用方法
- Adaboost理解:人脸检测
- 深度神经网络学习资料整理
- Convert Sorted Array/list to Binary Search Tree
- Linux使用dd命令测试硬盘读写速度
- Linux LVM学习