Hi to all!

I've downloaded Qwt 4.2.0 and tried to compiled according to steps in its INSTALL file:
Qt Code:
  1. qmake
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. mingw32-make
To copy to clipboard, switch view to plain text mode 
After invokling mingw, i get following errors:
Qt Code:
  1. C:\Qwt>qmake qwt.pro && mingw32-make
  2. mingw32-make -f Makefile.Debug
  3. mingw32-make[1]: Entering directory `C:/Qwt'
  4. g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -
  5. DQT_DLL -DQWT_DLL -DQWT_MAKEDLL -DQT_THREAD_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_C
  6. ORE_LIB -I"..\Qt\2009.03\qt\include\QtCore" -I"..\Qt\2009.03\qt\include\QtGui" -
  7. I"..\Qt\2009.03\qt\include" -I"include" -I"..\Qt\2009.03\qt\include\ActiveQt" -I
  8. "src\moc" -I"..\Qt\2009.03\qt\mkspecs\win32-g++" -o src\obj\qwt_autoscl.o src\qw
  9. t_autoscl.cpp
  10. In file included from src\qwt_autoscl.cpp:10:
  11. include/qwt_math.h: In function `void qwtShiftArray(T*, int, int)':
  12. include/qwt_math.h:162: error: there are no arguments to `QABS' that depend on a
  13. template parameter, so a declaration of `QABS' must be available
  14. include/qwt_math.h:162: error: (if you use `-fpermissive', G++ will accept your
  15. code, but allowing the use of an undeclared name is deprecated)
  16. In file included from include/qwt_scldiv.h:14,
  17. from include/qwt_autoscl.h:14,
  18. from src\qwt_autoscl.cpp:11:
  19. include/qwt_array.h:25:23: qmemarray.h: No such file or directory
  20. In file included from include/qwt_autoscl.h:14,
  21. from src\qwt_autoscl.cpp:11:
  22. include/qwt_scldiv.h: At global scope:
  23. include/qwt_scldiv.h:18: error: `QMemArray' is not a template
  24. include/qwt_scldiv.h:18: error: explicit instantiation of non-template type `QMe
  25. mArray'
  26. include/qwt_scldiv.h:128: error: `QMemArray' is not a template
  27. include/qwt_scldiv.h:128: error: field `d_majMarks' has incomplete type
  28. include/qwt_scldiv.h:129: error: `QMemArray' is not a template
  29. include/qwt_scldiv.h:129: error: field `d_minMarks' has incomplete type
  30. include/qwt_scldiv.h: In member function `uint QwtScaleDiv::minCnt() const':
  31. include/qwt_scldiv.h:91: error: `d_minMarks' was not declared in this scope
  32. include/qwt_scldiv.h:91: warning: unused variable 'd_minMarks'
  33. include/qwt_scldiv.h: In member function `uint QwtScaleDiv::majCnt() const':
  34. include/qwt_scldiv.h:96: error: `d_majMarks' was not declared in this scope
  35. include/qwt_scldiv.h:96: warning: unused variable 'd_majMarks'
  36. include/qwt_scldiv.h: In member function `double QwtScaleDiv::majMark(int) const
  37. ':
  38. include/qwt_scldiv.h:105: error: `d_majMarks' was not declared in this scope
  39. include/qwt_scldiv.h:105: warning: unused variable 'd_majMarks'
  40. include/qwt_scldiv.h: In member function `double QwtScaleDiv::minMark(int) const
  41. ':
  42. include/qwt_scldiv.h:107: error: `d_minMarks' was not declared in this scope
  43. include/qwt_scldiv.h:107: warning: unused variable 'd_minMarks'
  44. In file included from src\qwt_autoscl.cpp:11:
  45. include/qwt_autoscl.h: At global scope:
  46. include/qwt_autoscl.h:114: error: `QMemArray' is not a template
  47. src\qwt_autoscl.cpp:131: error: `QMemArray' is not a template
  48. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::adjust(const QMemArr
  49. ay&, int)':
  50. src\qwt_autoscl.cpp:133: error: invalid use of undefined type `const struct QMem
  51. Array'
  52. include/qwt_scldiv.h:18: error: forward declaration of `const struct QMemArray'
  53. src\qwt_autoscl.cpp:133: error: invalid use of undefined type `const struct QMem
  54. Array'
  55. include/qwt_scldiv.h:18: error: forward declaration of `const struct QMemArray'
  56. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::adjust(double, doubl
  57. e, int)':
  58. src\qwt_autoscl.cpp:152: error: `QMAX' was not declared in this scope
  59. src\qwt_autoscl.cpp:153: error: `QMIN' was not declared in this scope
  60. src\qwt_autoscl.cpp:152: warning: unused variable 'QMAX'
  61. src\qwt_autoscl.cpp:153: warning: unused variable 'QMIN'
  62. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::buildLinScale()':
  63. src\qwt_autoscl.cpp:241: error: `QABS' was not declared in this scope
  64. src\qwt_autoscl.cpp:241: error: `QMAX' was not declared in this scope
  65. src\qwt_autoscl.cpp:241: warning: unused variable 'QMAX'
  66. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::buildLogScale()':
  67. src\qwt_autoscl.cpp:315: error: `QMAX' was not declared in this scope
  68. src\qwt_autoscl.cpp:315: warning: unused variable 'QMAX'
  69. src\qwt_autoscl.cpp:332: error: `QABS' was not declared in this scope
  70. src\qwt_autoscl.cpp:332: warning: unused variable 'QABS'
  71. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::setMargins(double, d
  72. ouble)':
  73. src\qwt_autoscl.cpp:463: error: `QMAX' was not declared in this scope
  74. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::setMaxMajor(int)':
  75. src\qwt_autoscl.cpp:479: error: `QMAX' was not declared in this scope
  76. src\qwt_autoscl.cpp:480: error: `QMIN' was not declared in this scope
  77. src\qwt_autoscl.cpp:479: warning: unused variable 'QMAX'
  78. src\qwt_autoscl.cpp:480: warning: unused variable 'QMIN'
  79. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::setMaxMinor(int)':
  80. src\qwt_autoscl.cpp:491: error: `QMAX' was not declared in this scope
  81. src\qwt_autoscl.cpp:491: error: `QMIN' was not declared in this scope
  82. src\qwt_autoscl.cpp:491: warning: unused variable 'QMAX'
  83. src\qwt_autoscl.cpp:491: warning: unused variable 'QMIN'
  84. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::setRange(double, dou
  85. ble)':
  86. src\qwt_autoscl.cpp:512: error: `QMIN' was not declared in this scope
  87. src\qwt_autoscl.cpp:513: error: `QMAX' was not declared in this scope
  88. src\qwt_autoscl.cpp: In member function `void QwtAutoScale::setReference(double)
  89. ':
  90. src\qwt_autoscl.cpp:675: error: `QMIN' was not declared in this scope
  91. src\qwt_autoscl.cpp:675: warning: unused variable 'QMIN'
  92. mingw32-make[1]: *** [src/obj/qwt_autoscl.o] Error 1
  93. mingw32-make[1]: Leaving directory `C:/Qwt'
  94. mingw32-make: *** [debug] Error 2
  95.  
  96. C:\Qwt>
To copy to clipboard, switch view to plain text mode 

What is wrong?