[Bug 76012] bogus report that it fails to find makefile

Thomas McGuire Thomas.McGuire at gmx.net
Tue Dec 5 20:27:37 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=76012         




------- Additional Comments From Thomas.McGuire gmx net  2006-12-05 21:27 -------
I also experienced the "default/optimize/debug problem", it took me some time to figure out what the cause/workaround was.
I did everything from within the automake manager in KDevelop, since it does not work, it is clearly a bug.

How to reproduce:
0. Start KDevelop, close all existing projects
1. Project->New Project...->C++->Simple Hello world program
2. Use "test" as Application name
3. Click "Next" several times
4. Build->Build Project->Run Them
5. On the automake manager tab, right-click src->Add new subproject...
6. Use "foo" as subproject name, then click OK
7. Expand "src" in the tree, right-click foo->Add Target...
8. Use "bar" as file name, then click OK
9. Right click "bar (Program in bin)"->Create New File...
10. Use "foobar" as filename, select "C++ Source", then click OK
11. Ignore message by clicking OK
12. Left-click foobar.cpp so it opens in editor
13. Add main() {return 0;} at the end of the file in the editor
14. Right-click "bar (Program in bin)"->Build Target->Run Them
15. Right-click "bar (Program in bin)"->Execute target

16. The messagebox which is shown now ("There is no Makefile in this directory [..]" should not be shown. It is impossible to start "bar". Clicking any button on that messagebox does not do anything and even brings up that dialog again many times in a row (up to 5 times)
The messagebox is also shown sometimes when building a target.

This seems to be a problem with the build configuration.
Switching to Project->Build Configuration->default solves the problem.
However:
- The average user does not know this. Because of this, I consider this bug serious, because the automake manager simply does not work for the average user
- It is not possible to use multiple build configurations anymore

So please fix the automake manager to work with all build configurations.

This is with KDevelop 3.4 SVN 2006-12-05




More information about the KDevelop-devel mailing list