野百合也有春天

导航

04 2011 档案

编译Boost Python
摘要:编译前提是安装Python2.2以上: (1)将$(BOOST)\tools\jam\src\bin.ntx86下的bjam.exe拷贝至$(BOOST)目录下。 (2)编译:bjam –-toolset=msvc –-with-python –-build-type=complete stage。 (3)编译结果是生成dll和lib文件。 阅读全文

posted @ 2011-04-09 22:38 flydream 阅读(709) 评论(0) 推荐(0)

使用BOOST异常
摘要:// BoostEx.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <boost/exception/all.hpp>#include <boost/exception/get_error_info.hpp>#include <boost/current_function.hpp>#include <string>#include <iostr... 阅读全文

posted @ 2011-04-02 21:53 flydream 阅读(858) 评论(0) 推荐(0)