
编译环境
niitlcj
认真第一,聪明第二!
展开
-
在win32平台下面编译OpenSSL
要在WIN下安装及编译openssl,就必须安装ActivePerl-5.8.0.806-MSWin32,所以首先安装ActivePerl-5.8.0.806-MSWin32安装方法是:1。下在openssl的安装包并解压下载地址:http://www.openssl.org/source/openssl-0.9.8.tar.gz2。安装vc63。下载ActivePerl-5.8.0.806-MS原创 2007-11-18 09:24:00 · 2914 阅读 · 1 评论 -
在Windows下使用gcc
最近,想将linux机 器上的一个程序拿到Windows下用。直接将souWindowsrce codes拷贝到Windows下无法用Windows的C编译器编译,大概是缺少一些库吧。后来,想到Linux下那些文件是用ccgcc编译的,因 此,觉得要是有Windows版本的或ccgcc编译器那就很值得一试了。 后来在网上搜了半天,似乎没有现成的Windows版本的cc或gcc编译器。不过原创 2008-01-14 17:07:00 · 1959 阅读 · 0 评论 -
#pragma once与 #ifndef的区别
#pragma once与 #ifndef的区别 为了避免同一个文件被include多次1 #ifndef方式2 #pragma once方式在能够支持这两种方式的编译器上,二者并没有太大的区别,但是两者仍然还是有一些细微的区别。 方式一: #ifndef __SOMEFILE_H__ #define __SOMEFILE_H__ ... ... /原创 2009-11-05 09:36:00 · 528 阅读 · 0 评论 -
long long 在64位系统下.
#include using namespace std; int main() { cout cout cout int n1 = 8998211; int n2 = 2原创 2011-08-23 14:01:08 · 3243 阅读 · 0 评论 -
安装zeromq-2.2.0
安装zeromq-2.2.0 centos安装编译时需要用的程序 yum install gcc yum install gcc-c++ yum install make yum install uuid-devel yum install libuuid-devel yum install python-devel # 安装python-zmq时需要 1.下载 p转载 2012-08-09 11:43:38 · 10807 阅读 · 0 评论 -
VS 2010 - error LNK1123: failure during conversion to COFF: file invalid or corrupt
VS 2010 - error LNK1123: failure during conversion to COFF: file invalid or corrupt Try to re-install Visual Studio 2010 SP1, it will fix it. If you do not want to do it, try this w原创 2012-12-01 16:23:43 · 2982 阅读 · 1 评论 -
VS2010 这个warning怎么解决?
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(298,5): warning MSB8004: Intermediate Directory does not end with a trailing slash. This build instance will add the sla原创 2012-11-20 10:04:41 · 25842 阅读 · 4 评论 -
C++ Unicode SBCS 函数对照表
因为项目碰到了国际化的问题,自己整理了一下, 主要是从tchar.h里面导出的 包括类型和各类字符相关的处理函数,大部分都应该是用不到的。如果有想用自动化工具替换字符升级到unicode版本的,这个列表就比较全了。至于转换工具的替换规则,以后再发 Generic SBCS UNICODE TCHAR char wchar_t转载 2012-12-20 10:45:44 · 1057 阅读 · 0 评论