![]() |
"make:: error: *** No rule to make target" with MADDE and QT creator
So ive been playing with MADDE and the QT creator,
I think i followed the tutorial at quite closely: http://wiki.maemo.org/MADDE/QtCreato...on_for_windows Ive tried a few different examples and I always get the following error: make:: error: *** No rule to make target `dialog.cpp', needed by `tmp/obj/debug_shared/dialog.o'. Stop. has anyone run into this? |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
Hi,
when does the error occur? Are you building for the device or for the desktop? Daniel |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
Hi,
could you please provide a little bit more information on your setup? - What Qt Creator version are you using? 2.0 alpha or a recent snapshot? - Which version of madde did you install? Potentially you could try to disable shadowbuilding of the project, as that is a relatively new feature. There has been added updated and bufixes in the meantime, in case your Qt Creator version is too old. Maurice |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
Quote:
Im running QT creator 1.3.83 which was a snapshot from thursday. Im running MADDE 0.6.14 I get this error only when i try to compile for the phone. when i compile on the comp it works fine. also Ive managed to compile and run things through the MADDE terminal, but it just doesnt work for QT creator |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
Hm...
unfortunately I cannot reproduce it here. One solution I could think of is creating a bug report at: http://bugreports.qt.nokia.com/ with example code as attachment causing your troubles. Could you try to invoke the qmake and rebuild step manually? You can do that via the context menu of the project itself. |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
hmm, ok thanks..
below i have the actual error log: Code:
Running build steps for project application... |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
hmm after looking at the log more closely, i wonder why it cannot find the .cpp and .h files..
time for some investigating |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
Quote:
check the *pro file C:/Qt/4.6.2/examples/mainwindows/application/application.pro if the files are enumerated correctly. |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
well as it turns out.. its something that is wrong with the examples.. they wont compile.. but i just tried making a new project, in the search of figuring out how the whole thing works, and well.. the new projects works lol
So im all set now.. Thanks for the help. |
Re: "make:: error: *** No rule to make target" with MADDE and QT creator
Quote:
make is complaining since a target depends on a cpp-file (which is the way it should be) as below: main.o : main.cpp but make can't find the main.cpp file in the current working directory (or the other alternative directories it searches) and then goes looking for a rule that has "main.cpp" as the target. Since there is no such rule, make gives up with the error message you saw. So, in the general case, the first thing to check is from where make is started and which dependencies there are. If a source file is missing, it's most likely it's a case of mistaken location. |
All times are GMT. The time now is 14:28. |
vBulletin® Version 3.8.8