windows VS2013 编译安装QWT6.1和QWTPolar1.1.1
QWT的编译和配置
1. 下载QWT从官网
For getting a snapshot with all bugfixes for the latest 5.2 release:
svn export svn://svn.code.sf.net/p/qwt/code/branches/qwt-5.2
For getting a snapshot with all bugfixes for the latest 6.1 release:
svn export svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.1
2. 利用visual studio 2013打开qwt.pro工程,编译时候出现问题
Moc’ing qwt_abstract_legend.h…命令语法不正确。error MSB6006: “cmd.exe”已退出,代码为 255。
3.关闭项目,打开文件 qwt.vcxproj 和 qwt_designer_plugin.vcxproj,将所有的 “ %40echo moc .* && ”文件删除,或者使用另外一种方式There was a bug in the Visual Studio add-in when using subdirs. Try to change this in the qwt.pro file before importing:
SUBDIRS = \ src \ textengines
修改成为
SUBDIRS = src textengines
Then, do the import again. You could also use a fixed version of the Visual Studio add-in. Here you can find the corresponding issue on the Qt bug tracker: Qt Visual Studio Add-in 1.1.0 doesn't parse QTDIR correctly in a project with SUBDIRs
但是测试时候发现直接修改次级目录的方式还是不能使用,或许安装Visual studio add-in 插件有效,但是我直接删除了里面的 %40echo moc .* &&
4. 编译之后,进行配置
QWTPolar的编译和配置
由于QWTPolar的构建依赖于QWT,所以必须先将QWT配置好之后可以编译、链接。
1. 官网下载QWTPolar
2. VS2013打开.pro文件,添加QWT头文件和库目录,并将Debug版本qwtd.lib和Release版本qwt.lib添加到相应的配置环境中,必须对照好,不然编译的example程序不能运行。
3. 编译过程中也会报相同的错误
error MSB6006: “cmd.exe”已退出,代码为 255。
相关文章
- 用 Windows 7 的同学明天就能用 IE10 了
- 使用nssm将命令行启动的应用程序(.exe,.bat等)注册成windows后台服务
- Windows添加.NET Framework 3.0 NetFx3 失败 - 状态为:0x800f0950
- windows环境下ElasticSearch5以上版本安装head插件
- windows 下安装使用ipython
- Windows中 RabbitMQ安装与环境变量配置
- 【解决】word复制windows live writer没有图片
- 转 windows查看端口占用命令
- MFC Windows 程序设计[205]之文档的简单编辑(附源码)
- Windows 环境下 Python 环境安装
- windows环境里React-Native运行失败,找不到Nullable的原因分析
- windows 环境下使用 Node.js 访问 SAP OData 遇到 unable to get local issuer certificate
- 一键安装 redmine on windows 和发邮件设置
- Rsync 实现 Windows 与 CentOS 之间数据同步
- 【错误记录】Windows 控制台程序编译报错 ( WINDOWS.H already included. MFC apps must not #include <Windows.h> )
- windows下vmware10.0 安装centos7
- windows中Linux ubuntu子系统 安装talib 编译talib python 安装 talib 报错 - 简书
- 恶意代码分析实战 IDA 分析windows恶意程序 lab 7-1 7-2
- Windows server——部署DHCP服务(2)
- 【C++ 科学计算】在Windows下编译安装Armadillo库(亲测有效)
- Zookeeper 安装(Windows)