FET Forum

FET Support (English) => Programming Help => Topic started by: rasha5 on March 22, 2020, 08:51:09 PM

Title: Use FET CL
Post by: rasha5 on March 22, 2020, 08:51:09 PM
Hi,

I am trying to work with the src-cl project to figure out the main parts of your implementation

How can I install src-cl and integrate it with c# project to generate school timetable
Title: Re: Use FET CL
Post by: Liviu Lalescu on March 22, 2020, 09:09:50 PM
FET and FET-CL use Qt. You need the Qt libraries to run fet-cl. Or replace usage of QString, QList, QHash, QSet, and maybe other Qt classes.

Then the FET-CL files are C++ 11 files. I don't know if you can add them directly in C#.

You might use directly the fet-cl executable, inputting the .fet file: "fet-cl --inputfile=filename.fet".
Title: Re: Use FET CL
Post by: rasha5 on March 22, 2020, 09:39:28 PM
Thanks a lot, Liviu Lalescu

How can I found the fet-cl executable ?

do you mean  .fet file is the input xml file to  the command line?
How can generate it with the .fet extension
Title: Re: Use FET CL
Post by: Liviu Lalescu on March 22, 2020, 09:43:19 PM
You are welcome! Please call me Liviu  :)

In the Windows archive there is fet-cl.exe, near fet.exe. Or when you compile. See the README for how to compile.

The .fet XML file is a text file, you have some examples you can read/edit with a text/XML editor. Just save a text file as filename.fet.
Title: Re: Use FET CL
Post by: rasha5 on April 01, 2020, 02:57:23 AM
Hi Liviu  :D

I read the README more times and but it difficult for me to get steps and software needed to compile FET on windows

PLZ can you define them for me

thanks
Title: Re: Use FET CL
Post by: Volker Dirr on April 01, 2020, 08:46:37 AM
If it is too difficult: You don't need to compile yourself. You can use the fet-cl file. It is already compiled, so you can use it at once.
Title: Re: Use FET CL
Post by: Liviu Lalescu on April 01, 2020, 10:39:33 AM
Quote from: rasha5 on April 01, 2020, 02:57:23 AM
Hi Liviu  :D

I read the README more times and but it difficult for me to get steps and software needed to compile FET on windows

PLZ can you define them for me

thanks

Download Qt. You can compile Qt or get the binaries.

Navigate from qt.io to download the online installer for open source:

https://www.qt.io/download-thank-you?os=windows&hsLang=en

Install latest (I used Qt-5.14.1, current is Qt-5.14.2). I install with MinGW 7.3.0 64-bit. Edit: 64 bit. Only if you have a 32-bit computer use 32-bit.

Unpack FET sources with a good unpacker (I use 7-zip to get the tar and Total Commander to get the sources).

Obtain Qt command-prompt or make one.

Type "qmake" and "mingw32-make -j 16" (I have 8 cores = 16 threads).

Copy the dlls as in the official FET Windows archive.
Title: Re: Use FET CL
Post by: rasha5 on April 02, 2020, 03:12:21 PM
Hi Liviu  :D

Thanks a lot for your quick reply.
I'm really grateful for your help, I will do these steps if I need

but I found the command line file and I used it  :D

Title: Re: Use FET CL
Post by: Liviu Lalescu on April 02, 2020, 03:24:05 PM
I am glad it works! :)
Title: Re: Use FET CL
Post by: khoanguyen on March 21, 2023, 02:39:21 AM
HELLO, HOW TO RUN SOURCE FET? PLEASE HELP ME
Title: Re: Use FET CL
Post by: Volker Dirr on March 21, 2023, 03:41:05 PM
It is working with fet-cl exactly the same as with fet.
So please see your double post for answer:
https://lalescu.ro/liviu/fet/forum/index.php?topic=5532.0