cannot create new C++ class

Bug #328079 reported by Udo Eisenbarth
8
Affects Status Importance Assigned to Milestone
Anjuta
Fix Released
Medium
anjuta (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: anjuta

I am using Anjuta with Ubuntu 8.10 and I have found a problem with the creation of a new C++ class.

This is what I did:

1. With a completely fresh installed Ubuntu 8.10 I installed Anjuta (2.2.24.1-0ubuntu1) first.
2. I opened Anjuta and generated a new project:
    New->Project
3. Following the wizard I created a generic c++ application
4. In the wizard the destination directory was set to "test" (newly generated dir in the home folder)
5. After creating the project I add a new c++ class:
    New->C++/GObject Class
6. Giving it a name and press Create
7. I am asked to which target I want to add it.
8. Then the error appears: Failed to execute autogen: Could not open file "/home/udo/file:///home/udo/test/sdh.hpp":
    No such file or directory

I hope this error could be reproduced by somebody. Did I do something wrong with the destination dir?

Udo Eisenbarth

Revision history for this message
lltoon (gemini1980) wrote :

My problem is similar to yours.Is there anything we can do?

Revision history for this message
Mjumbe Wawatu Ukweli (mjumbewu) wrote :

i filed a bug at anjuta's bugzilla at http://bugzilla.gnome.org/show_bug.cgi?id=572805 . in the mean time, the workaround that i'm doing is to uncheck the "Add to project" box when creating a new class. this will generate the code at least. then i can save the files and add them to the project myself. hardly a resolution, but gets me by for now.

Revision history for this message
Johannes Schmid (jhs.schmid) wrote :

Fixed upstream (see bugs mentioned in last comment).

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Was fixed in 2.26 which is in Ubuntu 9.04

Changed in anjuta (Ubuntu):
importance: Undecided → Medium
status: New → Fix Released
Changed in anjuta:
status: Unknown → Fix Released
Changed in anjuta:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.