摘要: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。
阅读全文
摘要:Issue:我的project 的prebuild里用到了一个自己写的exe,之前用在VS2005和08中都没有问题,在升级到VS10后,在一台win7出现如下编译错误:Error 1 error MSB3073: The command "my.exe:VCEnd" exited with code 14001The application has failed to start because the side by side configuration is incorrect please see the application event log or use t
阅读全文
摘要:命令提示符及批处理下字符串的最大长度:Microsoft Windows XP 或更高版本 : 8191 个字符。Microsoft Windows 2000 或 Windows NT 4.0 : 2047个字符。Solution:将参数放在文本文件中Link:http://support.microsoft.com/kb/830473
阅读全文