编译SmartFox2X_Cpp_Examples\SimpleChat(VS2012)

1. 先编译SFS2X_API_Cpp_v0.9.8;

$ls SFS2X_API_Cpp_v0.9.8/Deploy/VisualStudio2012/Debug
SmartFoxClientApi.dll  
SmartFoxClientApi.lib  
zlibwapi.dll

2.  打开SFS2X_Cpp_Examples/SimplChar(VS2012)/SimpleChat.sln

3. 将代码中的“..\..\..\trunk_api”全部改成“..\..\SFS2X_API_Cpp_v0.9.8“如图所示

4. SimpleChat属性页/配置属性/C/C++/常规/附加包含目录/添加:

..\..\SFS2X_API_Cpp_v0.9.8\Core\BoostAsio\Windows

..\..\SFS2X_API_Cpp_v0.9.8\Deploy\VisualStudio2012\Debug


你可能感兴趣的:(编译SmartFox2X_Cpp_Examples\SimpleChat(VS2012))