On 10/1/03 at 10:50 PM Duncan McCreanor wrote:

>Hi,
>
>I am having trouble compiling the latest CVS FlightGear. Below is a snip
>of 
>the error. Is anyone else having this problem?
>
>
>Making all in Objects
>make[2]: Entering directory`/FlightGear/source/src/Objects'
>if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src  
>-I/usr/X11R6/include  -g -O2 -D_REENTRANT -MT ssgEntityArray.o -MD -MP -MF

>".deps/ssgEntityArray.Tpo" \
>  -c -o ssgEntityArray.o `test -f 'ssgEntityArray.cxx' || echo 
>'./'`ssgEntityArray.cxx; \
>then mv ".deps/ssgEntityArray.Tpo" ".deps/ssgEntityArray.Po"; \
>else rm -f ".deps/ssgEntityArray.Tpo"; exit 1; \
>fi
>ssgEntityArray.cxx: In method `void ssgEntityArray::getStats (int *,
>int *, int *, int *)':
>ssgEntityArray.cxx:195: no matching function for call to
>`ssgEntity::getStats (int *, int *, int *, int *)'
>make[2]: *** [ssgEntityArray.o] Error 1
>
>
>

Yes, I've seen this before.  If you look in ssgEntityArray.cxx, you see:

#ifdef HAVE_PLIB_PSL
void ssgEntityArray::getStats ( int *num_branches, int *num_leaves, int
*num_tris, int *num_verts )
{
...
}
#endif

ie.  configure thinks you've got cvs plib, which has PSL, but either you
haven't, or it's not in your include path.  You've probably either got two
versions of Plib about, or you've used cvs plib and gone back to 1.6.x, but
without removing the psl library, which won't get overwritten by the 1.6.x
install.  (The latter is what bit me).

Sort this out, re-run configure, and you'll be fine.

Cheers - Dave


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to