Results 1 to 4 of 4

Thread: Problems compiling Qwt 6.1-rc3 with Qt5 and VC++ 2010

  1. #1
    Join Date
    May 2013
    Posts
    4
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Post Problems compiling Qwt 6.1-rc3 with Qt5 and VC++ 2010

    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\includ e" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtOpenGL" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtSvg" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtPrintSupport" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtWidgets" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtConcurrent" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtGui" -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\includ e\QtCore" -I"moc" -I"." -I"..\..\..\Qt\Qt5.0.2\5.0.2\msvc2010_opengl\mkspec s\win32-msvc2010" -Forelease\ @C:\Users\KoVi\AppData\Local\Temp\nm1C7C.tmp' too long

    Please help me to compile this project!

    Thanks,
    Viktor

  2. #2
    Join Date
    Nov 2012
    Posts
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems compiling Qwt 6.1-rc3 with Qt5 and VC++ 2010

    Are you shadow building?

  3. #3
    Join Date
    May 2013
    Posts
    4
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Problems compiling Qwt 6.1-rc3 with Qt5 and VC++ 2010

    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?
    Last edited by KoVi; 14th May 2013 at 08:46.

  4. #4
    Join Date
    Nov 2012
    Posts
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems compiling Qwt 6.1-rc3 with Qt5 and VC++ 2010

    Quote Originally Posted by KoVi View Post
    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.

  5. The following user says thank you to Seamus for this useful post:

    KoVi (14th May 2013)

Similar Threads

  1. Problems building Qt 5 static with MSVC 2010
    By prophetofreason in forum Installation and Deployment
    Replies: 1
    Last Post: 28th January 2013, 17:45
  2. Replies: 2
    Last Post: 26th November 2012, 08:09
  3. Replies: 4
    Last Post: 13th November 2012, 21:46
  4. Problem compiling QT 4,8,0 in windows 7 x64 with visual studio 2010
    By phate89 in forum Installation and Deployment
    Replies: 0
    Last Post: 11th January 2012, 17:14
  5. Replies: 13
    Last Post: 10th May 2010, 20:39

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.