error C2039: 'serial_port' : is not a member of 'boost::asio'
2015-03-18 18:47
543 查看
预编译中不能定义 _WIN32_WINDOWS 宏。
以下宏可以定义。
WIN32
_DEBUG
_USRDLL
UMF_EXPORTS
_BIND_TO_CURRENT_CRT_VERSION
_WINDOWS
可以
add -D_WIN32_WINNT=0x0501 to the compiler command line
以下宏可以定义。
WIN32
_DEBUG
_USRDLL
UMF_EXPORTS
_BIND_TO_CURRENT_CRT_VERSION
_WINDOWS
可以
add -D_WIN32_WINNT=0x0501 to the compiler command line
相关文章推荐
- 今日download工程的奇怪问题error C2039: 'readStdErr' : is not a member of 'Programer',
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误
- error: âmt19937â is not a member of âboostâ boost::mt19937 gen;
- error : 'AddString' : is not a member of 'CWnd'
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误
- cocos2d-x-2.2.5 Eclipse编译报错 error: 'transform' is not a member of 'std' (IOS没有问题)
- Blitz++ error: 'labs' is not a member of 'std'
- shared_ptr.hpp(321) : error C2039: 'type_info' : is not a member of 'std' 错误修正
- 'find_if’ is not a member of ‘std'
- 'numeric_limits' is not a member of 'std'
- cocos2dx ant编译'atoi' is not a member of 'std'
- 'WriteHuge' : is not a member of 'CFile'
- error C2039: 'foreground_regions' : is not a member of 'CvGaussBGModel'
- error C2039: 'wstring' : is not a member of 'std'(转)
- error C2039: 'bitset' : is not a member of 'std'
- 错误:'bad_alloc' : is not a member of 'stlp_std'
- 'GetCurSel' : is not a member of 'CTime'
- error C2039: 'SetPoint' : is not a member of 'CPoint'
- 'Operation is not valid due to the current state of the object' error during postback
- 'SetWindowTextA' : is not a member of 'CString'