Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Davide Cottignoli

Thank you,

in effective, it seems that from the Apple Appstore isn't fully compliant for unpacking. Unix command tar -xvf is good for sure.

The question was very simple, I should give the answer myself, perhaps I'm going to be old... ::)

Is it possible to compile FET 5.47.0 under mac os X El Capitan?
Hello Liviu,

I am trying to compile fet 5.47.0 on El Capitan 5.11.6 with Qt 5.7.0 (I had this install in my Mac Book Pro which I used successfully to build FET 5.35.7) but when I run "/Users/davide/Qt5.7.0/5.7/clang_64/bin/qmake -r -spec /Users/davide/Qt5.7.0/5.7/clang_64/mkspecs/macx-clang"
I get some errors of missing files (see below), then the "qmake" command failed almost instantly. What can I do?


macdavdue:fet-5.47.0 davide$ /Users/davide/Qt5.7.0/5.7/clang_64/bin/qmake -r -spec /Users/davide/Qt5.7.0/5.7/clang_64/mkspecs/macx-clang
Info: creating stash file /Users/davide/SORGENTI/fet-5.47.0/.qmake.stash
Reading /Users/davide/SORGENTI/fet-5.47.0/src/
WARNING: Failure to find: interface/modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.ui
WARNING: Failure to find: interface/modifyconstraintactivitiesminsimultaneousinselectedtimeslotsform_template.ui
WARNING: Failure to find: interface/addconstraintstudentssetmingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/constraintstudentssetmingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/modifyconstraintstudentssetmingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/addconstraintstudentsmingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/modifyconstraintstudentsmingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/modifyconstraintteachermingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/addconstraintteachersmingapsbetweenorderedpairofactivitytagsform_template.ui
WARNING: Failure to find: interface/modifyconstraintteachersmingapsbetweenorderedpairofactivitytagsform_template.ui
Reading /Users/davide/SORGENTI/fet-5.47.0/src/

macdavdue:fet-5.47.0 davide$ make


/Users/davide/Qt5.7.0/5.7/clang_64/bin/uic interface/addconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.ui -o ../tmp/gui/ui_addconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.h
make[1]: *** No rule to make target `interface/modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.ui', needed by `../tmp/gui/ui_modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.h'.  Stop.
make: *** [sub-src-src-pro-make_first] Error 2

Yes, I think it's will be very useful.
I resolved myself: I had to install  the "libgl1-mesa-dev" package.

Report Test Results / Problem compiling fet 5.34
November 13, 2017, 12:41:08 AM
I tried o compile the last source 5.34.0 on linux Mint 18.1 Serena and  I run into the following problems:
1) after few seconds the compilation stops with error like fatal error: GL/gl.h: No such file or directory; as you reported in readme file I was able to solve by installing the "mesa-common-dev" package.
2) after 15min of compilation time, the compiler run into the following error:

g++ -Wl,-O1 -Wl,-rpath,/opt/Qt5.9.2/5.9.2/gcc_64/lib -o ../fet ../tmp/gui/timetableexport.o ../tmp/gui/activity.o ../tmp/gui/solution.o ../tmp/gui/timetable.o ../tmp/gui/rules.o ../tmp/gui/import.o   [....many included file here... snip....]   ../tmp/gui/moc_modifyconstraintstudentsminrestinghoursform.o   -L/opt/Qt5.9.2/5.9.2/gcc_64/lib -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
/usr/bin/ld: impossibile trovare -lGL
collect2: error: ld returned 1 exit status
Makefile:2613: set di istruzioni per l'obiettivo "../fet" non riuscito
make[1]: *** [../fet] Errore 1
make[1]: uscita dalla directory "/home/davide/sorgenti/fet-5.34.0/src"
Makefile:45: set di istruzioni per l'obiettivo "sub-src-src-pro-make_first" non riuscito
make: *** [sub-src-src-pro-make_first] Errore 2
davide@mint64 ~/sorgenti/fet-5.34.0 $

what package should be installed to go on?

Se ci fosse questa possibilità di inserire il vincolo per tutti gli insegnanti sarebbe molto utile anche a me.
Italian / Italiano / Re: Modificare dividi
August 18, 2017, 12:10:15 AM
Però quel vincolo non è ottimizzato (non sono molto pratico di algoritmi di ottimizzazione ma è probabile che il vincolo venga controllato in coda... Liviu potrebbe spiegarlo) ed è sconsigliato... forse si può mettere il vincolo "N° minimo di ore fra attività" anche se non è quello più indicato.
Report Test Results / Re: 5.32.1 crash
July 25, 2017, 08:29:18 AM
Yes it's probable, when it happened I was resizing columns with the control that show pixel number.
I had compiled Fet from source with my Mac.

My QT source version is 5.7.0 maybe I will update to the last version.

Report Test Results / 5.32.1 crash
July 24, 2017, 11:30:35 PM
Hi Liviu,

I've just compiled last version to test ultimate features included but 5.32.1 crashed.
I attached the logs.

Report Test Results / Re: Print preview format bug
July 24, 2017, 11:12:11 PM
Thank you Volkerr,

try with the attached file and compare the generated HTML (which is fine) with the print preview (which is wrong).
Report Test Results / Re: Print preview format bug
July 24, 2017, 10:40:24 PM
Ok Wolker but I don't understand why the second column is only one char width and all the others are minimum 5 chars or more. It's logical that every colums have got the same width, and this problem happens even if sheet measures are A2 or more.

General Stuff / Re: Ideal period for FET seminars
July 22, 2017, 11:46:58 PM
I started to learn Fet for the first time in june 2012 where schooltime would be started two months after. It was the first time I did the work to produce a timetable for my school where, for the past years, it was solved by hand. It was a challenge, because before that time, nobody in my school had taken into account the problem to automate spaces and teachers sharing; recent changes in organization did the trouble too difficult whitout some automated helps. So it was two months before school would be started and the time left was just enough to self learn skill and implement them to the timetable.
The big problem is the user interface, which is not very user friendly. Some constraints should be shown in different ways but this is another thing.
In conclusion time is critical to learn and if you don't do it in time you loose the opportunity.
Report Test Results / Re: Print preview format bug
July 22, 2017, 10:42:28 PM
I compiled FET 5.32.0 myself for Mac in foresight to the next timetable and to test print results but I noticed the print format bug has not been resolved. The problem appears to be only on the second column which format is made by only one char space; other columns space appear to be equally distributed. So I think there is a bug in columns space calculation.
I append the new screenshots which show the same problem.
How to fix it?

Report a Bug / Re: output windows refresh problem
November 01, 2016, 03:53:09 AM
With version 5.30.5 compiled by me on Mac OS X El Capitan and Mac OS X Lion either with QT 5.6.1, I have two different result.
With El Capitan I have the issue reported by Darren McDonald with different time (more) in foreground and (less) in background. With Lion I have the same time.