nel-all
[Top][All Lists]
Advanced

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

RE: [Nel] // CRGBA namespace/syntax err? //


From: Vianney Lecroart
Subject: RE: [Nel] // CRGBA namespace/syntax err? //
Date: Wed, 26 Feb 2003 10:50:36 +0100

Oh my god! I told about the command.h error, not u_text_context :)

> //>  commands.cpp:110: `message' undeclared (first use this function)
> //>   commands.cpp: At global scope:
> //>   commands.cpp:117: cannot declare variable `CommandsDisplayer' to
be

All modification are commited so you should just update a clean cvs and
these error will disappear.

Anyway, CRGBA is in NLMISC namespace so you should have NLMISC::CRGBA
CDisplayInfo is in the CLog class so you should have CLog::CDisplayInfo

Regards,

Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geekcode.com: GCS/E d- s+++: a- C+++$ UL++ P- L+++>+$ E+>- W++ N+ o?
K-
w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h-- r y?

> -----Original Message-----
> From: address@hidden [mailto:nel-all-
> address@hidden On Behalf Of julian
> Sent: mercredi 26 février 2003 15:40
> To: Developer's list for the NeL platform
> Subject: Re: [Nel] // CRGBA namespace/syntax err? //
> 
> hi list!
> 
> i grabbed the new cvs today and recompiled nel. i added '::CLog' to
the
> line 219 in /usr/local/include/nel/3d/u_text_context.h as follows:
> 
> //-->
> 
> virtual void   setStringColor(uint32 i, CLog::CRGBA newCol)= 0;
> 
> //<--
> 
> compiling snowballs then gives this error:
> 
> //-->
> 
> In file included from animation.cpp:48:
> /usr/local/include/nel/3d/u_text_context.h:219: type specifier omitted
for
>    parameter `CLog'
>    /usr/local/include/nel/3d/u_text_context.h:219: syntax error before
> `::' token
>    make[3]: *** [animation.o] Error 1
>    make[3]: Leaving directory
`/home/delire/code/snowballs2/client/src'
>    make[2]: *** [all-recursive] Error 1
>    make[2]: Leaving directory `/home/delire/code/snowballs2/client'
>    make[1]: *** [all-recursive] Error 1
>    make[1]: Leaving directory `/home/delire/code/snowballs2'
>    make: *** [all] Error 2
>    dropWorld:/home/delire/code/snowballs2#
> 
> //<--
> 
> i may not have followed your advice [below] correctly, but i also
tried
> the 'NLMISC:CRGBA' and just 'CRGBA' in that same line with similar
syntax
> errors.
> 
> cheers,
> 
> julian oliver
> 
> http://selectparks.net
> 
> 
> 
> 
> On Mon, 24 Feb 2003 14:06:57 +0100
> "Vianney Lecroart" <address@hidden> wrote:
> 
> //> //-->
> //>
> //>  commands.cpp:110: `message' undeclared (first use this function)
> //>   commands.cpp: At global scope:
> //>   commands.cpp:117: cannot declare variable `CommandsDisplayer' to
be
> //of
> //> type `
> //>      CCommandsDisplayer'
> //>      commands.cpp:117:   because the following virtual functions
are
> //> abstract:
> //>      /usr/local/include/nel/misc/displayer.h:68:     virtual void
> //>         NLMISC::IDisplayer::doDisplay(const
> //NLMISC::CLog::TDisplayInfo&,
> //> const
> //>      char*)
> //>      make[3]: *** [commands.o] Error 1
> //>      make[3]: Leaving directory
> //> `/home/delire/code/snowballs2/client/src'
> //>      make[2]: *** [all-recursive] Error 1
> //>      make[2]: Leaving directory
> //`/home/delire/code/snowballs2/client'
> //>      make[1]: *** [all-recursive] Error 1
> //>      make[1]: Leaving directory `/home/delire/code/snowballs2'
> //>      make: *** [all] Error 2
> //>
> //> //<--
> //
> //I Fixed a problem on this linue (CDisplayInfos are now in CLog class
so
> //you have to add CLog:: before.
> //
> //I commited modification, (available tomorrow morning)
> //
> //Vianney
> //
> //
> //
> //_______________________________________________
> //Nel mailing list
> //address@hidden
> //http://mail.nongnu.org/mailman/listinfo/nel-all
> //
> //
> 
> 
> _______________________________________________
> Nel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/nel-all





reply via email to

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