FET Forum

FET Support (English) => Get Help => Topic started by: didit on May 01, 2008, 04:12:01 PM

Title: Error Compile
Post by: didit on May 01, 2008, 04:12:01 PM
I try to compile fet but keep failed after qmake fet.pro ; make on ui_fetmainform_template.h. Am I missing this file.

Thanks
Title: Re: Error Compile
Post by: Volker Dirr on May 01, 2008, 04:36:36 PM
can you please try this commands:

make distclean
qmake fet.pro
qmake
make

if this doesn't help, please tell me the file that you downloaded. (latest 5.5.5 source or my unofficial 5.5.2 beta source or ...)
Title: Re: Error Compile
Post by: donjon on May 01, 2008, 06:40:37 PM
The above error looks familiar....
are you certain you have the right version of QT?
Title: Re: Error Compile
Post by: didit on May 02, 2008, 10:53:27 AM
I got latest version 5.5.5  source and qt-win-opensource-4.3.3-mingw.exe. I try compile again as Mr Volker Dirr suggestion and keep fail on the same file. Now i'm downloading your unofficial 5.5.2 beta  and try to compile.


Title: Re: Error Compile
Post by: Volker Dirr on May 02, 2008, 11:49:29 AM
ok. please let me know if that work.

i just downloaded the official 5.5.5 release again and i am able to compile it.
i have "only" qt 4.3.2 installed.

hmm...
you didn't change something at the source and i don't think that the new qt version is buggy.

maybe you just didn't install a c++ compiler or you c++ compiler doesn't work correct.

during installing qt, the qt installer ask you to install gcc. Have you done that? Or did you use an other compiler? Or did you forgot to set the path? (the easiest is to install it with qt at the same time, but you need to check a button "install gcc" during installing qt.)

you can check it also by writing this command:
gcc --v

do you get a short message, that this command is unknown?
Or did you get a longer phrase with the version number of gcc?
Title: Re: Error Compile
Post by: Liviu Lalescu on May 02, 2008, 10:34:32 PM
The file ui_fetmainform_template.h is generated by uic.exe from fetmainform_template.ui. Please check that uic.exe from Qt is in path. You are not missing file ui_fetmainform_template.h, it is automatically generated.