PDA

View Full Version : Problems compiling Qwt 6.1-rc3 with Qt5 and VC++ 2010



KoVi
13th May 2013, 15:38
Hello,

I've tried to compile Qwt 6.1 width Qt5 and Visual Studio 2010 C++.

The Qmake ran succesfully, but the nemake provide the following error message at build:



NMAKE : fatal error U1095: expanded command line 'echo compiling ..\..\qwt-6.1-rc3\src\qwt_abstract_scale_draw.cpp ..\..\qwt-6.1-rc3\src\qwt_clipper.cpp ..\..\qwt-6.1-rc3\src\qwt_color_map.cpp ..\..\qwt-6.1-rc3\src\qwt_column_symbol.cpp ..\..\qwt-6.1-rc3\src\qwt_date.cpp ..\..\qwt-6.1-rc3\src\qwt_date_scale_draw.cpp ..\..\qwt-6.1-rc3\src\qwt_date_scale_engine.cpp ..\..\qwt-6.1-rc3\src\qwt_dyngrid_layout.cpp ..\..\qwt-6.1-rc3\src\qwt_event_pattern.cpp ..\..\qwt-6.1-rc3\src\qwt_graphic.cpp ..\..\qwt-6.1-rc3\src\qwt_interval.cpp ..\..\qwt-6.1-rc3\src\qwt_interval_symbol.cpp ..\..\qwt-6.1-rc3\src\qwt_math.cpp ..\..\qwt-6.1-rc3\src\qwt_magnifier.cpp ..\..\qwt-6.1-rc3\src\qwt_null_paintdevice.cpp ..\..\qwt-6.1-rc3\src\qwt_painter.cpp ..\..\qwt-6.1-rc3\src\qwt_painter_command.cpp ..\..\qwt-6.1-rc3\src\qwt_panner.cpp ..\..\qwt-6.1-rc3\src\qwt_picker.cpp ..\..\qwt-6.1-rc3\src\qwt_picker_machine.cpp ..\..\qwt-6.1-rc3\src\qwt_pixel_matrix.cpp ..\..\qwt-6.1-rc3\src\qwt_point_3d.cpp ..\..\qwt-6.1-rc3\src\qwt_point_polar.cpp ..\..\qwt-6.1-rc3\src\qwt_round_scale_draw.cpp ..\..\qwt-6.1-rc3\src\qwt_scale_div.cpp ..\..\qwt-6.1-rc3\src\qwt_scale_draw.cpp ..\..\qwt-6.1-rc3\src\qwt_scale_map.cpp ..\..\qwt-6.1-rc3\src\qwt_spline.cpp ..\..\qwt-6.1-rc3\src\qwt_scale_engine.cpp ..\..\qwt-6.1-rc3\src\qwt_symbol.cpp ..\..\qwt-6.1-rc3\src\qwt_system_clock.cpp ..\..\qwt-6.1-rc3\src\qwt_text_engine.cpp ..\..\qwt-6.1-rc3\src\qwt_text_label.cpp ..\..\qwt-6.1-rc3\src\qwt_text.cpp ..\..\qwt-6.1-rc3\src\qwt_transform.cpp ..\..\qwt-6.1-rc3\src\qwt_widget_overlay.cpp ..\..\qwt-6.1-rc3\src\qwt_curve_fitter.cpp ..\..\qwt-6.1-rc3\src\qwt_abstract_legend.cpp ..\..\qwt-6.1-rc3\src\qwt_legend.cpp ..\..\qwt-6.1-rc3\src\qwt_legend_data.cpp ..\..\qwt-6.1-rc3\src\qwt_legend_label.cpp ..\..\qwt-6.1-rc3\src\qwt_plot.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_renderer.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_xml.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_axis.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_curve.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_dict.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_directpainter.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_grid.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_histogram.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_item.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_abstract_barchart.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_barchart.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_multi_barchart.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_intervalcurve.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_zoneitem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_tradingcurve.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_spectrogram.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_spectrocurve.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_scaleitem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_legenditem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_seriesitem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_shapeitem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_marker.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_textlabel.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_layout.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_canvas.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_panner.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_rasteritem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_picker.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_zoomer.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_magnifier.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_rescaler.cpp ..\..\qwt-6.1-rc3\src\qwt_point_mapper.cpp ..\..\qwt-6.1-rc3\src\qwt_raster_data.cpp ..\..\qwt-6.1-rc3\src\qwt_matrix_raster_data.cpp ..\..\qwt-6.1-rc3\src\qwt_sampling_thread.cpp ..\..\qwt-6.1-rc3\src\qwt_series_data.cpp ..\..\qwt-6.1-rc3\src\qwt_point_data.cpp ..\..\qwt-6.1-rc3\src\qwt_scale_widget.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_svgitem.cpp ..\..\qwt-6.1-rc3\src\qwt_plot_glcanvas.cpp ..\..\qwt-6.1-rc3\src\qwt_abstract_slider.cpp ..\..\qwt-6.1-rc3\src\qwt_abstract_scale.cpp ..\..\qwt-6.1-rc3\src\qwt_arrow_button.cpp ..\..\qwt-6.1-rc3\src\qwt_analog_clock.cpp ..\..\qwt-6.1-rc3\src\qwt_compass.cpp ..\..\qwt-6.1-rc3\src\qwt_compass_rose.cpp ..\..\qwt-6.1-rc3\src\qwt_counter.cpp ..\..\qwt-6.1-rc3\src\qwt_dial.cpp ..\..\qwt-6.1-rc3\src\qwt_dial_needle.cpp ..\..\qwt-6.1-rc3\src\qwt_knob.cpp ..\..\qwt-6.1-rc3\src\qwt_slider.cpp ..\..\qwt-6.1-rc3\src\qwt_thermo.cpp ..\..\qwt-6.1-rc3\src\qwt_wheel.cpp && cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -w34100 -w34189 -GR -EHsc -DUNICODE -DWIN32 -DQT_DLL -DQWT_DLL -DQWT_MAKEDLL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtOpenGL" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtSvg" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtPrintSupport" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtWidgets" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtConcurrent" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtGui" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\include\ QtCore" -I"moc" -I"." -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\mkspecs\ win32-msvc2010" -Forelease\ @C:\Users\KoVi\AppData\Local\Temp\nm1C7C.tmp' too long

Please help me to compile this project!

Thanks,
Viktor

Seamus
14th May 2013, 06:31
Are you shadow building?

KoVi
14th May 2013, 08:46
Yes, I've tired with shadow build option.

Added after 14 minutes:

Thank you for your idea/advice!
The compileing was successful without shadow building.

Do you know what is the problem with shadow building?

Seamus
14th May 2013, 09:06
Do you know what is the problem with shadow building?
The problem is not shadow building, the problem is the Windows Command Prompt. If you really want to shadow build Qwt, build from inside Qt Creator, but note that the Qwt project files are not setup for shadow building, the compiled libs always get copied to the source directory, keep that in mind if your doing 32 and 64-bit builds from the same source tree.