nel-all
[Top][All Lists]
Advanced

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

[Nel] compiling nel on ppc


From: nik gaffney
Subject: [Nel] compiling nel on ppc
Date: Tue, 22 Jan 2002 21:30:25 +0100 (CET)

hi,

now, it may seem foolish, but i had to try compiling nel on a ppc debian
system, with linux 2.4.17 kernel.

all of the libs + support material was easily installed with apt-get, the
bootstrap script worked fine, as did configure (after a bit of stlport
pointing)

./configure --with-stlport=/usr/include --enable-sound

then the problems began,.

luckily there was only a single line of x86 asm i came across..
im not sure if you have made any design decisions about cross platfrm
compatability, but anyway it looks like ive got in before all the asm
'optmisations' begin, judging from the comments. .

misc/time_nl.cpp line115
CTime::getPerformanceTime ()

it might be worth putting a few #ifdefs or whatever, to use the
'unoptimised' versions of the functions if there isnt an x86 chip in
sight.

unfortunately,. it wasnt just a matter of fudging a return value for this
function, gcc spat out some more straightfwd compiler errors

using gcc 2.95 and it tells me this ->

../../src/3d/ps_mesh.h:551:   instantiated from here
../../include/nel/misc/smart_ptr_inline.h:72: invalid use of undefined
type `class NL3D::IShape'
../../src/3d/ps_mesh.h:57: forward declaration of `class NL3D::IShape'
../../include/nel/misc/smart_ptr_inline.h:73: invalid use of undefined
type `class NL3D::IShape'
../../src/3d/ps_mesh.h:57: forward declaration of `class NL3D::IShape'

any hints, or am i doomed to fail without some serious porting like
bahaviour?

thnks
  nik





reply via email to

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