Where do I get MinGW 3.2 ?
I am using MinGW 3.0.0.1, Qt 4.2 and VS 2005.
Is MinGW required?
While installing Qt, I get a warning that it needs MinGW 3.2 which I am not finding it on the internet. I continue with the installation.
My simple hello world program doesn’t compile.
I have set the path, added lib, exe and includes path in the VS environment.
Could you please help me with this issue. I am using the open source version of Qt.
Thanks for all in advance
shwetha
Re: Where do I get MinGW 3.2 ?
There is MinGW bundled with Qt4, but you can get it from this site: http://www.mingw.org/download.shtml
Re: Where do I get MinGW 3.2 ?
yes, I download MinGW-3.0.0-1.exe from the same website.
But now finding 3.2 for Windows there.
Re: Where do I get MinGW 3.2 ?
Re: Where do I get MinGW 3.2 ?
I downloaded 3.2 and it give an warning while installing Qt.
But, when compiling my simple app.
I get a link error which states
c:\mingw\include\stddef.h(6)
fatal error:C 1021:invalid preprocessor command 'include_next'
I have set the path, linker options in VC 2005
Please help
Thansk in advance
SD
Re: Where do I get MinGW 3.2 ?
Quote:
Originally Posted by Shwetha
I have set the path, linker options in VC 2005
Which compiler do you use?
Re: Where do I get MinGW 3.2 ?
Re: Where do I get MinGW 3.2 ?
Quote:
Originally Posted by Shwetha
Visual C++ 2005
Qt Open Source edition doesn't support Visual C++ --- only MinGW.
Re: Where do I get MinGW 3.2 ?
I am still unsuccessful. could you please tell me if I am following the right steps
1. Set the PATH
2. Run 'configure ' from \Qt4.1.2
3. mingw32-make which fails with error messages related to C:\Qt\4.1.2\src\gui
( assuming this step will not effect :) )
4. go to tutorial directrory and type qmake -project -main.cpp
5. qmake which will generate the exe in release folder
Please let me kwow where I am going wrong.
Thanks
Shwetha
Re: Where do I get MinGW 3.2 ?
What error do you get exactly?
You can find all MinGW releases here: http://prdownloads.sourceforge.net/mingw/
but better try the version that is bundled with Qt.
Re: Where do I get MinGW 3.2 ?
yes, I installed
MinGW-3.2.0-rc-1.exe
MinGW-3.2.0-rc-2.exe
MinGW-3.2.0-rc-3.exe
from the website you mentioned.
The error I get is
[tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
C:\qt\4.1.2\src\gui
Cannot find QtGuid4
thansk again for responding so quickly :)
Re: Where do I get MinGW 3.2 ?
Is that the first error you get?
Re: Where do I get MinGW 3.2 ?
No, while I run my step 3, I get a bunch of errors.
But it aborts and display this message at the end
mingw32-make: ***[tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
leaving directory C:\Qt\4.1.2\src\gui
***[ debug_all]Error 2 Leaving directory c:\Qt\4.1.2\src\gui
*** [ sub_gui_make_default_ordered] Error 2
Leaving directory C:\Qt\4.1.2\src
***[sub-src-make-default ordered] Error 2
Re: Where do I get MinGW 3.2 ?
And what was the first error message?
Re: Where do I get MinGW 3.2 ?
styles\qwindowsxpstyle.cpp 2469: error 'ABS_UPPRESSED'
undeclared<first use this function>
Re: Where do I get MinGW 3.2 ?
Have you replaced the include and lib directories from MinGW installation with contents of w32api-3.2.tar.gz (or later)?
Re: Where do I get MinGW 3.2 ?
Re: Where do I get MinGW 3.2 ?
Quote:
Originally Posted by Shwetha
No, Should I do it ?
Yes, that's what the installer was complaining about.
Re: Where do I get MinGW 3.2 ?
No. It didnt help.
Can you point me to the downloads of QT, mingw ( even an older version is fine)
where they are all known to work ?
Re: Where do I get MinGW 3.2 ?