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: Martin Herren
Subject: Re: [Protux-devel] Problem in RESOURCES_DIR definition
Date: Thu, 13 Nov 2003 18:03:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030320

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






reply via email to

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