安装qwt时在qt的命令行qmake、nmake,nmake时出现错误

Hi-Lu 2013-12-19 12:54:54
compiling .\qwt_clipper.cpp .\qwt_painter.cpp .\qwt_plot.cpp .\qwt_plot_renderer
.cpp .\qwt_plot_directpainter.cpp .\qwt_plot_intervalcurve.cpp .\qwt_plot_spectr
ogram.cpp .\qwt_plot_layout.cpp .\qwt_series_data.cpp
NMAKE : fatal error U1077: 'echo' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"G:\Program Files\vs10.0\VC\bin\nmake.exe"' : return
code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
...全文
328 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
lei129210 2015-05-20
  • 打赏
  • 举报
回复
怎样配置才能编译QWT通过?
Hi-Lu 2013-12-19
  • 打赏
  • 举报
回复
还是qt和vs的配置不到位,重新配置了下再装qwt就通过了,在qt designer里面可以看到qwt插入的一些控件,但是vs2008这边没看出什么变化,而且运行examples不知道为什么还会有错误。明天继续调一下吧!
Hi-Lu 2013-12-19
  • 打赏
  • 举报
回复
在vs2010的命令行里nmake时有如下错误:(请教大家,看看这是什么情况?
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd src\ && ( if not exist Makefile G:\QT\Qt5.0.2\5.0.2\msvc2010_opengl\b
in\qmake.exe G:\QT\Qt5.0.2\5.0.2\msvc2010_opengl\qwt-6.0.1\src\src.pro -o Makefi
le ) && "g:\Program Files\vs10.0\VC\BIN\nmake.exe" -f Makefile

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        "g:\Program Files\vs10.0\VC\BIN\nmake.exe" -f Makefile.Release all

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

compiling .\qwt_clipper.cpp .\qwt_painter.cpp .\qwt_plot.cpp .\qwt_plot_renderer
.cpp .\qwt_plot_directpainter.cpp .\qwt_plot_intervalcurve.cpp .\qwt_plot_spectr
ogram.cpp .\qwt_plot_layout.cpp .\qwt_series_data.cpp
qwt_clipper.cpp
.\qwt_clipper.cpp(232) : error C3861: 'qMemCopy': identifier not found
        .\qwt_clipper.cpp(214) : while compiling class template member function
'QPolygon QwtPolygonClipper<Polygon,Rect,Point,T>::clipPolygon(const Polygon &,b
ool) const'
        with
        [
            Polygon=QPolygon,
            Rect=QRect,
            Point=QPoint,
            T=int
        ]
        .\qwt_clipper.cpp(448) : see reference to class template instantiation '
QwtPolygonClipper<Polygon,Rect,Point,T>' being compiled
        with
        [
            Polygon=QPolygon,
            Rect=QRect,
            Point=QPoint,
            T=int
        ]
qwt_painter.cpp
.\qwt_painter.cpp(234) : error C2039: 'intersect' : is not a member of 'QRectF'
        G:\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\QtCore/qrect.h(457) : see de
claration of 'QRectF'
.\qwt_painter.cpp(408) : error C3861: 'qMemCopy': identifier not found
qwt_plot.cpp
.\qwt_plot.cpp(377) : error C2039: 'subtract' : is not a member of 'QRegion'
        G:\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\QtGui/qregion.h(66) : see de
claration of 'QRegion'
.\qwt_plot.cpp(379) : error C2039: 'subtract' : is not a member of 'QRegion'
        G:\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\QtGui/qregion.h(66) : see de
claration of 'QRegion'
qwt_plot_renderer.cpp
.\qwt_plot_renderer.cpp(26) : fatal error C1083: Cannot open include file: 'qpri
nter.h': No such file or directory
qwt_plot_directpainter.cpp
.\qwt_plot_directpainter.cpp(198) : error C2039: 'WA_PaintOutsidePaintEvent' : i
s not a member of 'Qt'
.\qwt_plot_directpainter.cpp(198) : error C2065: 'WA_PaintOutsidePaintEvent' : u
ndeclared identifier
qwt_plot_intervalcurve.cpp
.\qwt_plot_intervalcurve.cpp(414) : error C3861: 'qMemCopy': identifier not foun
d
.\qwt_plot_intervalcurve.cpp(419) : error C3861: 'qMemCopy': identifier not foun
d
qwt_plot_spectrogram.cpp
.\qwt_plot_spectrogram.cpp(23) : fatal error C1083: Cannot open include file: 'q
tconcurrentrun.h': No such file or directory
qwt_plot_layout.cpp
.\qwt_plot_layout.cpp(1093) : error C2039: 'subtract' : is not a member of 'QReg
ion'
        G:\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\QtGui/qregion.h(66) : see de
claration of 'QRegion'
.\qwt_plot_layout.cpp(1093) : error C2228: left of '.boundingRect' must have cla
ss/struct/union
qwt_series_data.cpp
.\qwt_series_data.cpp(326) : error C3861: 'qMemCopy': identifier not found
.\qwt_series_data.cpp(329) : error C3861: 'qMemCopy': identifier not found
Generating Code...
NMAKE : fatal error U1077: 'echo' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"g:\Program Files\vs10.0\VC\BIN\nmake.exe"' : return
 code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Hi-Lu 2013-12-19
  • 打赏
  • 举报
回复
你这些都是什么啊?

16,215

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧