Error Compiling::-1: error: No rule to make target

Started by Narciso, November 30, 2016, 11:17:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Narciso

:-1: error: No rule to make target 'interface/modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.ui', needed by '../tmp/gui/ui_modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.h'.  Stop.

its strange because the files are in scr directory.

CAn you help me?

Volker Dirr

you checked the wrong file name. it is MODIFY...
please recheck.
i bet that file is missing. Or better say: has got the wrong name, since the last characters are missing.
that is a known bug of your decompression tool. please use a better/newer tool to unzip the file or just add the missing characters at the MODIFY-file-name.

Liviu Lalescu

#2
I did not see one is with "modify" and the other not and I was wondering about the problem :)

I use 7-Zip to unpack from tar.bz2 to tar and Total Commander to unpack from tar. I think you can also use bzip2 and tar for Windows, if you can find them on the internet.

Narciso

i solved compilation and buildin with total commander solution.

But.. i Believe that fet should works after simple build and run... but its open a sistem Windows with a series of hints... it semms that should run only in a command line mode. ITs true?

Liviu Lalescu

I do not understand. Just copy the necessary dll files, as in the official FET archive for Windows (exactly the same) and run fet.exe.

Narciso

I try now a better explanation: i wish run e debug fet by qt Creator working step by step... but if i try to run , it shows the sistem window attached.
it seems that can work only about a command line.


Liviu Lalescu

You need to run fet.exe, not fet-cl.exe. Maybe you could try to run src/src.pro.

Narciso

i tink that i cannot explain me.

Look at picture 2,3 attacched.

Liviu Lalescu

So you want to run fet.exe in console? Add:

win32 {
    CONFIG += console
}

in src/src.pro (like in src-cl.pro), and recompile FET from the start.

Narciso

Also  the last your hint non work.

To avoid misandertanding, now i try to repeat what i wish: i wish run Fet into Qt Creator Ide for see step by step his working mode.

to do this i do:

1) launch Qt creator
2) open Fet.pro in the Ide
3) compile and build Project.
4) click on Run button ( green button like an Arrow)

at this point I imagine that Fet begin to run..... but this not happen .... it appears the black sistem window that you can see on my screenshot.

So it is impossible for me follow step by step working mode of Fet.

Its the last attemp to explain . For me is unusual to write in english , pheraphs i dont am able to do it.



Liviu Lalescu

Try to open the file fet-5.30.7/src/src.pro in Qt Creator and compile and run it.

Then you can try to write in Italian, here.

Narciso


Narciso

ANOTHER QUESTION: i try to put some breakpoint into some ccp files but it seems not work...

1) in Qt creator i open src.pro
2) i put some breckpoint at 279,280,281 lines of generate.cpp
3) i click on Debug ( not run)
4) the program Fet works
5) i open a file like base_210_23.fet
6) i click on generatepush button, but fet dont stop itself.

what is wrong?

If is it possible i wish give you an idea: why dont implement a Printing timetable like this:

          lunedi                 martedì                  mercoledì                    giovedì                   venerdì
          1  2    3   4   5    1   2   3   4  5         1   2   3   4   5             1   2   3   4   5        1   2  3  4   5
_____________________________________________________________________________________
prof1  1a 2a 3a 1b 1c   1a 2a 3a 1b 1c        1a 2a 3a 1b 1c             1a 2a 3a 1b 1c       1a 2a 3a 1b 1c
prof2  2a 1a 3a 1c 3a   2a 1a 3a 1c 3a        2a 1a 3a 1c 3a             2a 1a 3a 1c 3a       2a 1a 3a 1c 3a
prof3  3b 3b 1c     2a   3b 3b 1c     2a        3b 3b 1c     2a              3b 3b 1c     2a        3b 3b 1c     2a

and so on prof by prof?

Liviu Lalescu

I don't know how to work with breakpoints. But I think the best is to add writing to console of some variables, during the program execution. Maybe you need to add "CONFIG+=console", as I explained earlier.

There is an output like you desire, I think in teachers_time_horizontal.