FET Forum

FET Support (English) => Get Help => Topic started by: Marcostt on April 29, 2021, 05:55:55 PM

Title: Compilation problem
Post by: Marcostt on April 29, 2021, 05:55:55 PM
Hi. I've downloaded last version of FET (I use last Ubuntu version) but I can't compilate. After extract I execute ./configure and "there is no file or directory"... Is there a deb file to download, please?
Title: Re: Compilation problem
Post by: Liviu Lalescu on April 29, 2021, 06:02:52 PM
Hello!

1) There is no deb package, I have no skills for this.

2) There is a GNU/Linux executable made by me, but it uses the a bit old Qt 5.15.2 instead of the latest Qt 6.0.3. See the Downloads page.

3) To compile FET, you need to install Qt (I recommend the latest, 6.0.3), from https://www.qt.io/ . Then "qmake" and "make -j 4" (if you have 4 threads). You can find more details in the README file, open it with a text viewer.

I am here if you need more help.
Title: Re: Compilation problem
Post by: Marcostt on April 29, 2021, 06:18:53 PM
Thank you.

I've downloaded the executable version but I can not installe it, Seems I have not enought skills to do it. Anyway, I¡ll keep working with 5 version.
Title: Re: Compilation problem
Post by: Liviu Lalescu on April 29, 2021, 06:26:51 PM
Just download https://lalescu.ro/liviu/fet/download/gnu-linux-executables/fet-6.0.2-gnu-linux-executable.tar.bz2 (this is the latest version, for now), move into a desired location, unpack and run "./fet".

Please upgrade your FET to version 6.0.2 (this is the latest version, for now). It contains some very nice new features.

If you cannot do it, I could help you with a remote desktop controlling help, if you are interested. Because I am interested to see how normal users of FET use it and compile it.
Title: Re: Compilation problem
Post by: Marcostt on April 29, 2021, 08:18:03 PM
Works, thank you  ;)
Title: Re: Compilation problem
Post by: Liviu Lalescu on April 29, 2021, 08:22:05 PM
I'm glad it works!  :)
Title: Re: Compilation problem
Post by: Marcostt on April 30, 2021, 08:47:07 AM
Sorry, how can I add a shortcut to the executable version? Anyway, every time I open it I have to open the last file... In 5 version the last file was always on when open the program.
Title: Re: Compilation problem
Post by: Liviu Lalescu on April 30, 2021, 08:58:47 AM
No problem, but I don't know how to create a shortcut in Ubuntu. Maybe you can search the internet for this; also, maybe you need to create a new shortcut just by adding the icon and path to the fet executable. Or maybe use the fet.desktop file from the FET archive.

You needed to open the file also in FET-5. But it is not difficult, just go to "(open) recent" and choose the first entry.
Title: Re: Compilation problem
Post by: crow on April 30, 2021, 09:13:01 AM
 Hi guys

Why not simply pin the executable to the taskbar?

Eric
Title: Re: Compilation problem
Post by: Liviu Lalescu on April 30, 2021, 11:39:00 AM
Eric, I think it is not as in Windows (but it must not be too complicated, though).
Title: Re: Compilation problem
Post by: Volker Dirr on April 30, 2021, 04:47:23 PM
It won't find the dll/so (shared libaries) if you pin the executable. So you should pin a link only.
Title: Re: Compilation problem
Post by: Clariss on May 01, 2021, 02:18:32 PM
Quote from: Liviu Lalescu on April 29, 2021, 06:02:52 PM
Hello!

1) There is no deb package, I have no skills for this.

2) There is a GNU/Linux executable made by me, but it uses the a bit old Qt 5.15.2 instead of the latest Qt 6.0.3. See the Downloads page.

3) To compile FET, you need to install Qt (I recommend the latest, 6.0.3), from https://www.qt.io/ . Then "qmake" and "make -j 4" (if you have 4 threads). You can find more details in the README file, open it with a text viewer.

I am here if you need more help.

Hello Liviu. I'm a new user of Qt. I extracted fet-6.0.2.tar using msys. My question is, what is the difference between src.pro and src-cl.pro? I am using windows 10.
Title: Re: Compilation problem
Post by: Liviu Lalescu on May 01, 2021, 02:23:00 PM
Hello again, Clariss,

The main project file is fet.pro; src.pro is for FET in interface mode, while src-cl.pro is for FET in command-line mode.
Title: Re: Compilation problem
Post by: Clariss on May 01, 2021, 02:27:51 PM
Quote from: Liviu Lalescu on May 01, 2021, 02:23:00 PM
Hello again, Clariss,

The main project file is fet.pro; src.pro is for FET in interface mode, while src-cl.pro is for FET in command-line mode.

Then, should I select and run the src.pro (release) if I want to modify some user interface and source code of FET?
Title: Re: Compilation problem
Post by: Liviu Lalescu on May 01, 2021, 02:32:23 PM
Yes, this is a possibility.

src.pro and src-cl.pro refer to the same source files, but src-cl.pro to only a few and has defined "FET_COMMAND_LINE" to distinguish.