Author Topic: Build Guide for Ubuntu Dapper Drake (Updated for SVN)  (Read 4976 times)

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake
« Reply #15 on: April 30, 2006, 06:29:18 am »
Obtaining libCG before compiling Cal3D would probably be a good idea.

Sometimes you might have to use --with-libcel=/path/to/cel in CS compilation. That was the case with the last version I compiled.

@Hargoth: SourceForge CVS sucks.
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

Hargoth

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake
« Reply #16 on: April 30, 2006, 08:18:09 am »
Errors so far:
--
cstool/objmodel.h not found

solved by:

ln -s `pwd`/CS/include/igeom/objmodel.h `pwd`/CS/include/cstool

--

src/client/psclientdr.h:59: error: extra qualification ‘psClientDR::’ on member ‘HandleDeath’

line 59 reads:

void psClientDR::HandleDeath(GEMClientActor * gemObject);

no solution :(

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: Build Guide for Ubuntu Dapper Drake
« Reply #17 on: April 30, 2006, 08:34:49 am »
src/client/psclientdr.h:59: error: extra qualification ‘psClientDR::’ on member ‘HandleDeath’

line 59 reads:

void psClientDR::HandleDeath(GEMClientActor * gemObject);

no solution :(


Just delete the psClientDR:: part and make the line looking like this:

Code: [Select]
void HandleDeath(GEMClientActor * gemObject);
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #18 on: May 27, 2006, 08:40:41 pm »
I've updated CS and CEL to use the new SVN repositories now.  Hopefully if anyone was having some major sourceforge headaches, this will help.
« Last Edit: June 01, 2006, 04:19:56 pm by Induane »

Sinoe

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake
« Reply #19 on: May 31, 2006, 02:04:56 am »
Just a post to say thanks Iduane for your guide and thanks to Stars for help in CS compilation  \\o//

now i just have a problem with sound and server is down  ;D

but no matter it's working  :thumbup:

Sometimes you might have to use --with-libcel=/path/to/cel in CS compilation. That was the case with the last version I compiled.


Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #20 on: June 01, 2006, 01:48:29 am »
thats good advice I'll add that to the guide now. :D
« Last Edit: June 01, 2006, 04:20:20 pm by Induane »

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #21 on: June 09, 2006, 02:28:16 am »
Oh, and if anyone has trouble with Dapper's default ATI drivers (8.25.18) just work around the fglrx errors by downloading revision 8.14.13 off of ATI's site and taking libGL.so.1 from that package, then replacing it with the one in /usr/lib.

#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #22 on: June 09, 2006, 01:56:31 pm »
Quote
Oh, and if anyone has trouble with Dapper's default ATI drivers (8.25.18) just work around the fglrx errors by downloading revision 8.14.13 off of ATI's site and taking libGL.so.1 from that package, then replacing it with the one in /usr/lib.

Do you mean the error where its all tweaky, and flickery and crashy?  Also do you mean install the revision from ati's site and then copy libGL.so.1 over the copy of libGL.so.1 in /usr/lib or do you mean to take the copy of libGL.so.1 and use it in place of the one in the downloaoded driver?[/color]
« Last Edit: June 09, 2006, 02:00:29 pm by Induane »

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #23 on: June 19, 2006, 09:50:09 pm »
Quote
Oh, and if anyone has trouble with Dapper's default ATI drivers (8.25.18) just work around the fglrx errors by downloading revision 8.14.13 off of ATI's site and taking libGL.so.1 from that package, then replacing it with the one in /usr/lib.

Do you mean the error where its all tweaky, and flickery and crashy?  Also do you mean install the revision from ati's site and then copy libGL.so.1 over the copy of libGL.so.1 in /usr/lib or do you mean to take the copy of libGL.so.1 and use it in place of the one in the downloaoded driver?[/color]

I mean the error where OpenGL acceleration won't start and Mesa's default drivers are still listed under fireglcontrolpanel. Upon running something like fgl_glxgears you'll see a whole bunch of fglrx revision errors and it'll likewise fail to start.

"Tweaky and flickery and crashy" is secondary IMO.

As to the second question, I mean to install 8.25.18, then take the libGL from 8.14.13 with

Code: [Select]
sudo sh ./ati-driver-installer-8.14.13-<architecture>-deb --extract <directory>
sudo mv /usr/lib/libGL.so.1 /usr/lib/libGL.so.1.backup
sudo cp directory/x690/usr/X11R6/lib/libGL.so.1 /usr/lib/libGL.so.1

and use it in place of the one that you were given from 8.25.18.

That should make OpenGL start up normally.  Your framerate in glxgears might seem slower than usual, but that shouldn't translate into a real performance dip.

Mine is, with this fix enabled:

Code: [Select]
9543 frames in 5.0 seconds = 1908.511 FPS
10041 frames in 5.0 seconds = 2008.128 FPS
5106 frames in 5.0 seconds = 1021.069 FPS
5003 frames in 5.0 seconds = 1000.435 FPS
9652 frames in 5.0 seconds = 1930.089 FPS
5011 frames in 5.0 seconds = 1002.100 FPS
« Last Edit: June 19, 2006, 09:54:41 pm by StarsAndBars_1018 »
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

Chiuchu

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #24 on: November 26, 2006, 09:31:55 pm »
hello ! i'm trying to compile planeshift and i have a problem... whe i do  ./autogen.sh for the first time => in the cal3d directory it says tha i must have autocon>=2.53 installed but i've the 2.60 ?!?! i try to reinstall it but nothing to do : i must have the autoconf>=2.53 ::| i'm blocked  :'( what can i do ?? (i'm on edgy)
thanks !

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
Re: Build Guide for Ubuntu Dapper Drake (Updated for SVN)
« Reply #25 on: November 28, 2006, 11:55:38 am »
In current SVN version of cal3d there is no autogen.sh script. Instead of that use command:

autoreconf --install --force

(I think that compiling guide should be updated...)
"Close the world, txEn eht nepO."