Readme.txt 1.3 KB

123456789101112131415161718192021222324252627
  1. *** HP-Socket 源码编译 ***
  2. ----------------------------------------
  3. 1、项目工程(编译环境: VS2010):
  4. Project/HPSocketDLL -> HP-Socket DLL
  5. Project/HPSocketDLL4C -> HP-Socket 4C DLL
  6. Project/HPSocketLIB -> HP-Socket LIB
  7. Project/HPSocketLIB4C -> HP-Socket 4C LIB
  8. 2、VS2015 编译方法:
  9. 1) 复制项目工程(如:把 Project/HPSocketDLL4C 复制为 Project/HPSocketDLL4C-2015)
  10. 2) 用 VS2015 打开复制出来的工程,根据提示确认升级工程文件
  11. 3) 修改项目属性
  12. (Configuration Properties -> VC++ Directories)
  13. * Platform: Win32
  14. * Configuration: Debug-SSL,uDebug-SSL,Release-SSL,uRelease-SSL
  15. > Include Directories => ..\..\..\Common\Lib\openssl\$(VisualStudioVersion)\x86\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);
  16. > Library Directories => ..\..\..\Common\Lib\openssl\$(VisualStudioVersion)\x86\lib;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(NETFXKitsDir)Lib\um\x86
  17. * Platform: x64
  18. * Configuration: Debug-SSL,uDebug-SSL,Release-SSL,uRelease-SSL
  19. > Include Directories => ..\..\..\Common\Lib\openssl\$(VisualStudioVersion)\x64\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);
  20. > Library Directories => ..\..\..\Common\Lib\openssl\$(VisualStudioVersion)\x64\lib;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64