一、添加下面的库 并配置好路径
ws2_32.lib;Mswsock.lib;cppunit.lib;libapr-1.lib;libapriconv-1.lib;libaprutil-1.lib;libaprapp-1.lib;libactivemq-cppd.lib;%(AdditionalDependencies)
E:\cms\cmsTest\lib\myAprLib;E:\cms\cmsTest\lib;%(AdditionalLibraryDirectories)
二、添加第三方库的头文件路径
E:\cms\cmsTest\include\aprutilinclude;E:\cms\cmsTest\include\aprinclude;E:\cms\cmsTest\include\apiconvinclude;E:\cms\cmsTest\include\main;%(AdditionalIncludeDirectories)
以上mq所需的库文件在下面网址下载
http://download.csdn.net/detail/chentongxin321/7349751
原文地址:http://blog.csdn.net/ctxbloger/article/details/25874191