各位大牛,小弟准备学习asio。但是被asio和boost搞晕了脑。根据个人对官网资料的阅读,asio可以独立于boost编译试用。但是当我在控制台输入
G:\asio-1.4.1\asio-1.4.1\src>nmake -f Makefile.msc
老是出错,提示为:
g:\asio-1.4.1\asio-1.4.1\include\asio/basic_datagram_socket.hpp(22) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
NMAKE : fatal error U1077: '"D:\Microsoft Visual Studio 8\VC\bin\cl.EXE"' : return code '0x2'
而安装boost也是出错,提示为:
Unable to load Boost.Build: could not find "boost-build.jam"
我快疯了~~谁有经验的救救我啊~~~