View previous topic :: View next topic |
Author |
Message |
jasn Guru
Joined: 05 May 2005 Posts: 439 Location: Maryland, US
|
Posted: Fri Jul 21, 2006 12:22 am Post subject: Daphne Compile Error [SOLVED] |
|
|
Tried building Daphne 0.99.6-r2 and in using the bugzilla 0.99.7 ebuild, as well as compiling from the latest source. All builds fail with the same error shown below.
Code: | cd ldp-out && make
make[1]: Entering directory `/root/install/apps/daphne/daphne/src/ldp-out'
g++ -O3 -march=i686 -fomit-frame-pointer -fexpensive-optimizations -funroll-loops `sdl-config --cflags` -DUNIX -DLINUX -DNATIVE_CPU_X86 -DMMX_RGB2YUV -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Winline -c pioneer.cpp -o pioneer.o
pioneer.h:50: error: extra qualification 'pioneer::' on member 'getstring'
make[1]: *** [pioneer.o] Error 1
make[1]: Leaving directory `/root/install/apps/daphne/daphne/src/ldp-out'
make: *** [sub] Error 2 |
If anyone's compiled it successfully recently, any help would be appreciated.
Last edited by jasn on Fri Jul 21, 2006 9:54 pm; edited 1 time in total |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Fri Jul 21, 2006 2:05 am Post subject: |
|
|
Not a solution but a suggestion: I found using Daphne with Linux was useless.
Running the Windows version under Wine was much more effective and playable. |
|
Back to top |
|
|
jasn Guru
Joined: 05 May 2005 Posts: 439 Location: Maryland, US
|
Posted: Fri Jul 21, 2006 9:54 pm Post subject: |
|
|
Thanks Headrush.. I wanted to get it up and running on Linux to see what kind of performance it produced. I was able to compile it, but I had to do it by hand because 2 files had to be edited. They are;
in daphne/src/ldp-out/pioneer.h, replace
Code: | bool pioneer::getstring(char *, int, Uint32,bool); |
with
Code: | bool getstring(char *, int, Uint32,bool); |
in daphne/src/game/lgp.h, replace
Code: | void lgp::draw_8x8(int character_number, int xcoord, int ycoord); |
with
Code: | void draw_8x8(int character_number, int xcoord, int ycoord); |
and the compile completed fine. I would submit a patch for the ebuild, except I don't know how. BTW, following the instructions that came with the source, I also had to go to the vdlp2 subdirectory and perform the make specified there too. Once both parts were compiled, I installed into /opt and then ran it with an mpeg of Dragon's Lair 2, and the performance was actually quite nice. No lag, the output said that the YUV overlay is hardware accelerated. Made me very nostalgic.. And reminded me why I hated these games in the first place. Played them a lot. Got killed a lot. Ran through quarters a lot..
The one thing I will say is that like most things, the developers make it really easy if you running daphne on Windows with additional conversion tools, etc. Doing things under Linux (and I assume OSX), means having to do more of things by hand.. oh well.. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|