FET Forum

FET Support (English) => Programming Help => Topic started by: hassanalizadeh on January 11, 2017, 09:25:55 PM

Title: MinGW-get-setup Error
Post by: hassanalizadeh on January 11, 2017, 09:25:55 PM
Hi,
I want to install MinGW on my windows 7 64bit.
I follow your instruction wrote in Readme file, but I have problem in step 2.
//----------------------------------------------------------------------------------------------------------------------
1. download mingw-get-setup.exe from http://sourceforge.net/projects/mingw/files
2. run mingw-get-setup.exe
3. check msys-base to be installed, Apply Changes from Installation menu and close MinGW Installation Manager
4. run C:\MinGW\msys\1.0\msys.bat
5. $ cd to the directory where the .tar.bz2 file is
6. $ tar -jxvf fet-v.v.v.bz2
//-----------------------------------------------------------------------------------------------------------------------

Error screenshot has been sent for you, please see and help me.

Best Regard.
Title: Re: MinGW-get-setup Error
Post by: Liviu Lalescu on January 11, 2017, 09:29:52 PM
On Windows, I use the MinGW-5.3-32-bit that comes with Qt-5.7.1-32-bit. Select also to install MinGW when you install Qt. And don't mind that it is 32-bit, because you are losing nothing compared to 64-bit.
Title: Re: MinGW-get-setup Error
Post by: hassanalizadeh on January 11, 2017, 10:43:17 PM
Thank you for your attention.
I do this, But:

1- When I extract file fet-5.30.8.tar.bz2 with 7-zip, some file extensions is .u instead of .ui
2- when complie fet in Qt creator some file extensions is .o instead of .obj

What is the problem?
Title: Re: MinGW-get-setup Error
Post by: Liviu Lalescu on January 12, 2017, 07:04:24 AM
1. See http://lalescu.ro/liviu/fet/forum/index.php?topic=3001.0
2. This is normal
Title: qrc Error
Post by: hassanalizadeh on January 14, 2017, 07:14:00 PM
Hi, Dear Lalescu,
Thank you. problem was solved. I compiled FET successfully!
Then I created a Resourse.qrc file for storing button images.
I assigned images to main form's button and compiled program again, Now I have 2017 warning and one qrc error.
please see screen shots and help me.

Best Regard.
Title: Re: MinGW-get-setup Error
Post by: Volker Dirr on January 15, 2017, 05:39:56 AM
did you add the qrc file in the pro files (in both files)?
did your execute qmake after that ones again?
Title: Re: MinGW-get-setup Error
Post by: hassanalizadeh on January 15, 2017, 04:27:25 PM
Hi,
Problem was solved.
Thank you for your help.