Main Menu

Use FET CL

Started by rasha5, March 22, 2020, 08:51:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rasha5

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

Liviu Lalescu

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".

rasha5

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

Liviu Lalescu

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.

rasha5

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

Volker Dirr

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.

Liviu Lalescu

#6
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.

rasha5

#7
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


Liviu Lalescu


khoanguyen

HELLO, HOW TO RUN SOURCE FET? PLEASE HELP ME

Volker Dirr

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