一、加入以下的库 并配置好路径
ws2_32.lib;Mswsock.lib;cppunit.lib;libapr-1.lib;libapriconv-1.lib;libaprutil-1.lib;libaprapp-1.lib;libactivemq-cpp.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