摘要:Issue:error MSB6006: "mt.exe" exited with code 31Solution:project options, linker, manifest, Generate Manifest-> NO.Link:http://connect.microsoft.com/VisualStudio/feedback/details/682867/error-msb6006-mt-exe-exited-with-code-31
阅读全文
摘要:Issue:LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-1_44.lib'Solution:Define preprocessor macro BOOST_ALL_NO_LIB in your project.
阅读全文
摘要:Issue:编译一个InDesign CS6 Plug-in,用到boost时遇到如下编译错误:WinSock.h has already been included原因是Windows 有WinSock.h和WinSock2.h两个版本,windows.h默认include的是WinSock.h。而InDesign CS6 SDK 里用的1.44版本的boost要求WinSock2.h.Solution:1. 在一般的C++ project 中可以通过定义宏WIN32_LEAN_AND_MEAN 来解决,或者在#include <windows.h>之前加入#include &l
阅读全文
摘要:Issue:今天在用boost 1.44时,在VS2010中遇到如下编译错误:error C2440 : cannot convert from 'boost::interprocess::mapped_region' to 'boost::interprocess::mapped_region &&'You cannot bind an lvalue to an rvalue referenceSolution:在project property中定义宏BOOST_NO_RVALUE_REFERENCES。
阅读全文
摘要:http://blog.csdn.net/zhangyafengcpp/article/details/6847821
阅读全文