protux-devel
[Top][All Lists]
Advanced

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

Re: [Protux-devel] Problem in RESOURCES_DIR definition


From: Luciano Giordana
Subject: Re: [Protux-devel] Problem in RESOURCES_DIR definition
Date: Thu, 13 Nov 2003 18:41:36 -0200
User-agent: KMail/1.5

I can fix it myself. Thanks (I didnt know thins config.h stuff...)


On Thursday 13 November 2003 15:03, Martin Herren wrote:
> Luciano Giordana wrote:
> > I've been facing these errors lately.
> >
> >
> > CursorManager.cc: In constructor `CursorManager::CursorManager(Song*)':
> > CursorManager.cc:26: `RESOURCES_DIR' undeclared (first use this function)
> > CursorManager.cc:26: (Each undeclared identifier is reported only once
> > for each function it appears in.) CursorManager.cc:26: parse error before
> > string constant
> > CursorManager.cc:27: parse error before string constant
> > CursorManager.cc:28: parse error before string constant
> > CursorManager.cc:29: parse error before string constant
> >
> >
> > isnt RESOURCES_DIR supposed to be defined in autostuff ?
>
> yeah, RESOURCES_DIR is defined by autostuff through config.h, thus
> you'll need to
> #include "../config.h"
> in CursorManager.cc
> The same is with Interface.cc which uses also RESOURCES_DIR, but it
> includes config.h through GlobalProperties.hh, but it would be cleaner to
> #include "../config.h"
> in Interface.cc as well.
>
> I'm not at home now so i can't fix it myself for the next few hours.
>
> /Martin
>
>
>
>
> _______________________________________________
> Protux-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/protux-devel

-- 
Best Regards
--
Luciano Giordana
Project Mustux - Musician Tools for GNU/Linux
http://www.freesoftware.fsf.org/mustux





reply via email to

[Prev in Thread] Current Thread [Next in Thread]