树莓PI交叉编译BOOST库(asio网络例子)

环境搭建参考上一篇文章【http://www.cnblogs.com/yuliyang/p/4023758.html】

 

客户端(use boost.asio on raspberry pi )client

服务器端(writen in python) server

 

 

 

添加静态库依赖

/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/regex/build/gcc-arm/release/link-static/threading-multi/libboost_regex.a

/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/system/build/gcc-arm/release/link-static/threading-multi/libboost_system.a

/home/leeyoung/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/libpthread.a

/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/thread/build/gcc-arm/release/link-static/threading-multi/libboost_thread.a

 

运行效果:(result)

服务器端:(server)

(client)

posted @ 2014-10-14 15:32  小菜鸟_yang  阅读(671)  评论(0编辑  收藏  举报