Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Open 'builds\msvc\msvc10.sln' in VC++ 2010
- 2. Use below settings for 'libzmq' project in both Debug and Release build modes:
- Debug:
- Configuration Properties > General > Target Name > $(ProjectName)_d
- Configuration Properties > General > Configuration Type > Dynamic Library (.dll)
- Configuration Properties > General > Character Set > Use Unicode Character Set
- Configuration Properties > C/C++ > Code Generation > Runtime Library > Multi-threaded Debug DLL (/MDd)
- Configuration Properties > C/C++ > Output Files > Program Database File Name > $(OutDir)$(ProjectName)_d.pdb
- Release:
- Configuration Properties > General > Configuration Type > Dynamic Library (.dll)
- Configuration Properties > General > Character Set > Use Unicode Character Set
- Configuration Properties > C/C++ > Code Generation > Runtime Library > Multi-threaded DLL (/MD)
- Configuration Properties > C/C++ > Output Files > Program Database File Name > $(OutDir)$(ProjectName).pdb
- 3. Bulid 'libzmq' project then grab these files and copy them to our lib folder:
- Debug: bin\Win32\libzmq_d.dll bin\Win32\libzmq_d.pdb lib\Win32\libzmq_d.exp lib\Win32\libzmq_d.lib
- Release: bin\Win32\libzmq.dll bin\Win32\libzmq.pdb lib\Win32\libzmq.exp lib\Win32\libzmq.lib
- 4. Don't forget to define WIN32_LEAN_AND_MEAN or _WINSOCKAPI_ in your own projects in order to be able to build them successfully:
- Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions > WIN32_LEAN_AND_MEAN
- // OR
- Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions > _WINSOCKAPI_
Advertisement
Add Comment
Please, Sign In to add comment