主题:vs2012编译Qwt
-------------------------------------------------------------------------
参照网络地址:
http://blog.sina.com.cn/s/blog_a6fb6cc90101gks5.html
http://blog.csdn.net/czyt1988/article/details/11999985
-------------------------------------------------------------------------
以下是自己遇到的问题:
【错误1】:error MSB6006: "cmd.exe" exited with code 255.
现象:F7 提示 moc_xxxx.h 命令错误 (原话忘了)
追踪错误:
发现【Properties】->【Configuration】->【Custom Build Tool】->【General】->【Command Line】 的内容比我以往建立的Qt项目多出了几个内容:【%40echo moc qwt_abstract_legend.h &&"(后续是对的内容)】
解决:删除掉【"】 之前的内容,即【%40echo moc qwt_abstract_legend.h &&】。
未理解:搜项目配置信息的文件,没有搜到【%40echo】只搜到了【%echo】,那么是什么引起变更的呢?64位机器导致?
【错误2】:LINK : fatal error LNK1117: syntax error in option ‘manifest:embed‘
解决:(好吧关闭它)【Properties】->【Configuration Properties】->【Manifest Tool】->【Input and Output】->【Embed Manifest】-> 【Yes 改 No】。
未理解:为什么一定要关了呢?哪错了?
原文:http://www.cnblogs.com/LiuxuLisa/p/3582157.html