Re: [Plib-users] Fails on Make
Brought to you by:
sjbaker
|
From: John F. F. <joh...@cy...> - 2007-10-12 03:38:31
|
Larry,
My first answer is that you should download the latest SVN version since
that has fixed the problem. Failing that, you will need to edit
"ssgaSky.h" and do this:
(1) Change line 107 so that it and the surrounding code looks like this:
class ssgaCelestialBodyList : private ssgSimpleList
{
public:
ssgaCelestialBodyList ( int init = 3 )
: ssgSimpleList ( sizeof(ssgaCelestialBody*), init ) { }
~ssgaCelestialBodyList () { removeAll(); }
int getNum (void) { return total ; }
ssgaCelestialBody* get ( unsigned int n )
(2) Change line 195 so that it and the surrounding code look like this:
class ssgaCloudLayerList : private ssgSimpleList
{
public:
ssgaCloudLayerList ( int init = 3 )
: ssgSimpleList ( sizeof(ssgaCloudLayer*), init ) { }
~ssgaCloudLayerList () { removeAll(); }
int getNum (void) { return total ; }
ssgaCloudLayer* get ( unsigned int n )
That will fix your problem.
- John
-----Original Message-----
From: Larry Wyble
Sent: Thursday, October 11, 2007 6:03 PM
To: pli...@li...
Subject: [Plib-users] Fails on Make
I get the following error when I make plib.
I'm using plib-1.8.4 on Linux slackware version 12,
kernel 2.6.21.5-smp. "HEP ME!" :)
Thanks
then mv -f ".deps/ssgaCelestialBody.Tpo"
".deps/ssgaCelestialBody.Po"; else rm -f
".deps/ssgaCelestialBody.Tpo"; exit 1; fi ssgaSky.h:107: error: extra
qualification 'ssgaCelestialBodyList::' on member
'ssgaCelestialBodyList' ssgaSky.h:195: error: extra qualification
'ssgaCloudLayerList::' on member 'ssgaCloudLayerList' make[2]: ***
[ssgaCelestialBody.o] Error 1 make[2]: Leaving directory
`/shared/src/plib-1.8.4/src/ssgAux' make[1]: *** [all-recursive]
Error 1 make[1]: Leaving directory `/shared/src/plib-1.8.4/src' make:
*** [all-recursive] Error 1
larrywyb@widgeteye:/shared/src/plib-1.8.4$ cat /proc/version Linux
version 2.6.21.5-smp (root@midas) (gcc version 4.1.2) #2 SMP Tue Jun
19 14:58:11 CDT 2007
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
plib-users mailing list
pli...@li...
https://lists.sourceforge.net/lists/listinfo/plib-users
|