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: Eduard Barrera Casas
Subject: Re: [Nel] // CRGBA namespace/syntax err? //
Date: 24 Feb 2003 14:50:13 +0100

I Have similar porblems compiling snowballs with the cvs of one week
ago..







D:\nel\snowballs2\client\src\commands.cpp(97) : error C2143: syntax
error : missing ',' before '&'

D:\nel\snowballs2\client\src\commands.cpp(97) : error C2059: syntax
error : '&'

D:\nel\snowballs2\client\src\commands.cpp(117) : error C2259:
'CCommandsDisplayer' : cannot instantiate abstract class due to
following members:
        D:\nel\snowballs2\client\src\commands.cpp(95) : see declaration
of 'CCommandsDisplayer'

D:\nel\snowballs2\client\src\commands.cpp(117) : warning C4259: 'void
__thiscall NLMISC::IDisplayer::doDisplay(const struct
NLMISC::CLog::TDisplayInfo &,const char *)' : pure virtual function was
not defined

D:\NEL\NEL\INCLUDE\nel/misc/displayer.h(68) : see declaration of
'doDisplay'

D:\nel\snowballs2\client\src\commands.cpp(117) : error C2259:
'CCommandsDisplayer' : cannot instantiate abstract class due to
following members:
        D:\nel\snowballs2\client\src\commands.cpp(95) : see declaration
of 'CCommandsDisplayer'

D:\nel\snowballs2\client\src\commands.cpp(117) : warning C4259: 'void
__thiscall NLMISC::IDisplayer::doDisplay(const struct
NLMISC::CLog::TDisplayInfo &,const char *)' : pure virtual function was
not defined

D:\NEL\NEL\INCLUDE\nel/misc/displayer.h(68) : see declaration of
'doDisplay'
Error executing cl.exe.

snowballs.exe - 4 error(s), 2 warning(s)

On Mon, 2003-02-24 at 23:33, julian wrote:
> hi,
> 
> yes i have tried altering the line 
> </usr/local/include/nel/3d/u_text_context.h:219>  as listed in the previous 
> error to read as this:
> 
> //-->
> 
> virtual void setStringColor(uint32 i, NLMISC::CRGBA newCol)= 0;
> 
> //<--
> 
> after a make clean, running ./bootstrap and ./configure make then gives this 
> error:
> 
> //-->
> 
>  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
> 
> //<--
> 
> cheers!
> 
> julian oliver
> 
> http://selectparks.net
> 
> On Mon, 24 Feb 2003 12:55:00 +0100
> "Vianney Lecroart" <address@hidden> wrote:
> 
> //Hello,
> //
> //Did you try to add NLISC:: before the CRGBA?
> //On which .cpp this compilation error happen?
> //
> //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: lundi 24 février 2003 22:24
> //> To: address@hidden
> //> Subject: [Nel] // CRGBA namespace/syntax err? //
> //> 
> //> ola!
> //> 
> //> have compiled snowballs in the past many times without issue but with
> //the
> //> todays CVS i am running into the CRGBA problems that other experience.
> //i
> //> have tried on four of our debian production boxes. i have looked at
> //the
> //> line listed in u_text_context.h but cannot see the syntax error
> //itself.
> //> looks like something else is wrong..NLMISC::CRGBA??
> //> 
> //> nel compiles fine yet this is not.
> //> 
> //> //-->
> //> 
> //> /usr/local/include/nel/3d/u_text_context.h:219: type specifier omitted
> //for
> //>    parameter `CRGBA'
> //>    /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#
> //> 
> //> //<--
> //> 
> //> debian sid | gcc 3.2 | stlport-4.5
> //> 
> //> julian oliver
> //> 
> //> http://selectparks.net
> //> 
> //> 
> //> _______________________________________________
> //> 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
> //
> //
> 
> 
> _______________________________________________
> 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]