FET Forum

FET Support (English) => Get Help => Topic started by: Tasnim on January 21, 2010, 05:37:40 AM

Title: compile program
Post by: Tasnim on January 21, 2010, 05:37:40 AM
How should I compile this program do?
If you need a special program, please give the link.
In addition, one algorithm as the program is schematic.
Thanks, thanks friend
Title: Re: compile program
Post by: Liviu Lalescu on January 21, 2010, 07:07:11 AM
To compile: see README file. If you have problems, write them.

Algorithm: see Documentation on FET webpage and directory fet-x.x.x/doc/algorithm/ . Again, write on forum if you have specific questions.
Title: Re: compile program
Post by: Tasnim on January 28, 2010, 12:39:41 PM
hello my friend
I download and install Qt
Qt Creator 1.3.1
Based on Qt 4.6.1 (32 bit)
Built on Jan 17 2010

but i cant compile fet
plz help me
Title: Re: compile program
Post by: Liviu Lalescu on January 28, 2010, 12:44:47 PM
Quotehello my friend
I download and install Qt
Qt Creator 1.3.1
Based on Qt 4.6.1 (32 bit)
Built on Jan 17 2010

but i cant compile fet
plz help me

Are you getting a bug like that: "Internal compiler error"? For file timetableexport.cpp?

It is a bug of MinGW, not of FET, which I "solved" in FET-5.12.2, which will be released hopefully today (I made a change to skip this problem of MinGW).

I want to ask you this: please get the latest snapshot (tar.bz2 from http://lalescu.ro/liviu/fet/download/test/ ) and try to compile, and let me know as soon as possible if you can compile (asap, because I want to release today and I want to make sure there are no problems).
Title: Re: compile program
Post by: Tasnim on January 28, 2010, 01:23:18 PM
Friend's, maybe the steps to compile the program tell me.
Thanks!
Title: Re: compile program
Post by: Liviu Lalescu on January 28, 2010, 01:36:36 PM
QuoteFriend's, maybe the steps to compile the program tell me.
Thanks!

So I understand you have other problems than I assumed.

Please see the README file in FET distribution for compilation instructions. Ask again if you don't understand something.
Title: Re: compile program
Post by: Tasnim on February 02, 2010, 06:12:58 AM
i compile fet but qt show this Error plz help.

No valid Qt version set. Set one in Tools/Options
Error while building project fet
When executing build step 'QMake'
Canceled build.
Title: Re: compile program
Post by: Liviu Lalescu on February 02, 2010, 06:26:57 AM
Quotei compile fet but qt show this Error plz help.

No valid Qt version set. Set one in Tools/Options
Error while building project fet
When executing build step 'QMake'
Canceled build.

I never met this problem. Try to follow the advice. Or try to open the Qt Command Prompt and qmake from there.
Title: Re: compile program
Post by: Tasnim on February 02, 2010, 07:15:29 AM
i use this program for compile

Qt Creator 1.3.1
Based on Qt 4.6.1 (32 bit)

Built on Jan 17 2010 at 02:23:59

From revision 8de178a067

Copyright 2008-2009 Nokia Corporation. All rights reserved.
Title: Re: compile program
Post by: Liviu Lalescu on February 02, 2010, 07:18:46 AM
I don't use Qt Creator. I simply go to fet-x.x.x and type qmake and mingw32-make.
Title: Re: compile program
Post by: Tasnim on February 02, 2010, 08:43:12 AM
QuoteI don't use Qt Creator. I simply go to fet-x.x.x and type qmake and mingw32-make.

where is fet-x.x.x
Title: Re: compile program
Post by: Liviu Lalescu on February 02, 2010, 09:35:40 AM
Quote
QuoteI don't use Qt Creator. I simply go to fet-x.x.x and type qmake and mingw32-make.

where is fet-x.x.x

I mean fet-5.12.2.
Title: Re: compile program
Post by: Tasnim on February 02, 2010, 10:17:33 AM
i download fet-5.12.1.tar.bz2 and extract.
however i  can compile fet?
plz halp
Title: Re: compile program
Post by: Liviu Lalescu on February 02, 2010, 10:27:09 AM
I have written exact compilation steps in the README. You need to unpack fet-5.12.2.tar.bz2, enter fet-5.12.2 directory and type qmake and mingw32-make. You need to add in PATH: C:\Qt\2010.01\qt\bin and C:\Qt\2010.01\mingw\bin and maybe you need to add an environmental variable QMAKESPEC=win32-g++.
Title: Re: compile program
Post by: Tasnim on February 02, 2010, 10:58:28 AM
Friend's
I downloaded the fet-5.12.2.tar.bz2.
My OS is Windows.
I want to change some of the program, then compile it to.
Now do what I need to have tools.
Title: Re: compile program
Post by: Liviu Lalescu on February 02, 2010, 11:22:14 AM
QuoteFriend's
I downloaded the fet-5.12.2.tar.bz2.
My OS is Windows.
I want to change some of the program, then compile it to.
Now do what I need to have tools.

You need a text editor to change the sources. Maybe Qt Creator has a text editor. Then compile FET.