随笔- 98  文章- 2  评论- 67  阅读- 10万 
04 2015 档案
Linux 编译 websocket++
摘要:下载boost 库wget -O boost_last.zip http://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.zip?r=&ts=1430358339&use_mirror=jaist安装zipsud... 阅读全文
posted @ 2015-04-30 17:05 仰光 阅读(3377) 评论(0) 推荐(0) 编辑
Linux 编写c++程序之openssl
摘要:在使用openssl 库前,需检测是否安装openssl , shell 窗口输入:openssl version , 在openssl 安装完成之后, 可通过vi 编写测试代码 。本例中附上加密,解密代码,方法分别是: EncodeRSAKeyFile(...) , DecodeRSAKeyFil... 阅读全文
posted @ 2015-04-29 15:43 仰光 阅读(3179) 评论(0) 推荐(0) 编辑
vs2008编译openssl问题
摘要:运行openssl demo 时,debug 版本正常,release 版本报异常:OPENSSL_Uplink(585E6000,08): no OPENSSL_Applink 。demo 编译环境是vs2008 , openssl 库编译环境是 vs2010 , 用 depends 工具分析Li... 阅读全文
posted @ 2015-04-28 17:49 仰光 阅读(585) 评论(0) 推荐(0) 编辑
Linux gcc 编译日记
摘要:gcc 编译器是众多编译器组合入口,例如在编译 .cpp 文件时,使用c++ 编译器,编译.c 文件时,使用c编译器。 在编译c++程序时, 库文件与头文件可通过 -L[dir] 指定库目录 , -l[name] 指定库文件名称。指定库文件名称时,需按照指定范式。例如库文件 libabc.a , [... 阅读全文
posted @ 2015-04-27 17:54 仰光 阅读(485) 评论(0) 推荐(0) 编辑
Linux 环境变量配置
摘要:linux 环境,用户通过shell 操作时,系统会为用户初使化环境变量, 比如系统公共资源路径: path , include , bin 等目录。 shell 模式下,执行 export , 查看用户环境变量 , echo $key 查询某个环境变量。设置环境变量,有两种方式,分为临时设置,与永... 阅读全文
posted @ 2015-04-22 17:42 仰光 阅读(376) 评论(0) 推荐(0) 编辑
Linux gcc编译(动态库,静态库)
摘要:1. linux 库路径: /lib , /usr/lib , /usr/local/lib 2.linux 编译静态库a.编写源文件vi pr1.cvoid print1(){ printf("static print1() callback\n");}vi pr2.cvoid print2(){... 阅读全文
posted @ 2015-04-22 16:56 仰光 阅读(2261) 评论(0) 推荐(0) 编辑
近期C++编译问题汇总
摘要:编译c++ 代码中遇到几个问题,汇总一下:1.编译openssl 遇到问题如图 , 原因:不支持汇编编译,在perl编译指令中加入: no-asm , 如:perl Configure VC-WIN32 no-asm , 整体如下:a.perl Configure VC-WIN32 no-asmb.... 阅读全文
posted @ 2015-04-19 13:17 仰光 阅读(1007) 评论(0) 推荐(0) 编辑
websocket++编译过程
摘要:websocket++ 是一个开源 websocket 库,使用websocket++ 能够开发基于websocket 服务。 前一段时间成功编译 websocket++ ,分享一下,编译websocket++ 过程如下:1.安装Python , 本例安装 Python272.安装scons , 该... 阅读全文
posted @ 2015-04-19 12:18 仰光 阅读(6445) 评论(1) 推荐(0) 编辑
C++封装库
摘要:1.新建项目 -> Win32项目 选择DLL , 勾选 空项目 , 点击完成。2.本例程,使用一个CPP文件 , 及一个头文件。 其中头文件包含函数声明,CPP文件实现函数声明。3.头文件: SSLLib.h#pragma once // 避免重复编绎#ifndef __SSLLIB_H //与#... 阅读全文
posted @ 2015-04-07 14:17 仰光 阅读(1335) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示