Re: [Anjuta-list] Confused...



On Tue, 13 Oct 2009 19:27:12 +0200
Johannes Schmid <jhs jsschmid de> wrote:

> Hi!
> 
> > So, basically, (I understand) it says: by default (out-of-the-box) it
> > uses the source directory, and you cannot use the other options,
> > because if one uses the source directories, the others won't work.
> 
> No, that just means you cannot build the Debug configuration in the src/
> directory at the same time you use it for the Default configuration. As
> the debug configuration is usually build in Debug/ that shouldn't be a
> problem.

So, making a Work/ dir alongside Debug/ and Optimized/ would avoid the
necessity to "Remove configuration"?

> > Could it be that the new directories (the ones to build Debug for
> > example) have to be at the same level as $prefix/src (say
> > $project/debug)?
> 
> I think it should be a subdirectory of the project directory. I never
> tried to use a different one.

I believe all my problems came from putting the Debug/ inside the src/
dir.

Now I have a problems which I can't seem to find the cause of:

- I can configure (as Debug)
- Build (src) and Build (project) run fine 
- Configure project runs ok (with or w/o regenerate)
- I can do a make inside Debug from a terminal window

- BUT, If I start a debug session, I get:

> Building in directory: .../myproject/debug/debug

which fails, probably because of the extra /debug. But I can't find where
the extra debug is added. It's not in the Build directory (only one
debug/), or in the project.

John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]