boost多线程_pRawDllMain already defined编译错误解决
2016-01-20 09:10
615 查看
MFC扩展DLL使用boost多线程会报_pRawDllMain already defined编译错误
使用示例:
#include <boost/thread/thread.hpp>
boost::thread test;
解决方法:
dllmain.cpp中的注释afxdllx.h头文件包含
//#include <afxdllx.h>
使用示例:
#include <boost/thread/thread.hpp>
boost::thread test;
解决方法:
dllmain.cpp中的注释afxdllx.h头文件包含
//#include <afxdllx.h>
相关文章推荐
- 人工智能和机器学习领域开源项目
- 属性设置@property之retain,assign,weak,strong,copy
- BZOJ1175 : [Balkan2007]The stairways of Saharna
- 11. Container With Most Water
- spark pair RDD
- LeetCode Climbing Stairs
- Daily Scrum – 1/19
- leetcode之Contains Duplicate
- 70. Climbing Stairs
- Codeforces 196 C. Paint Tree
- Debug Assertion Failed! Expression: _pFirstBlock == pHead
- hadoop下运行mapreduce程序Failed to set permissions of path:的解决
- FTP error : 451 Failure writing to local file
- 生产者消费者例子-采用wait()和notify()
- Command /usr/bin/codesign failed with exit code 1
- What floating point types are available in .NET?
- Could not find the main class:
- adi_osal_Init_failure
- main函数传参数以及执行过程
- usb mode waiting