DRD Team
drdteam.org forum


* FAQ    * Search  * Register
 * Login 

All times are UTC + 1 hour




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 222 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 15  Next
Author Message
 Post subject:
PostPosted: Sun Sep 30, 2007 20:25 
User avatar

Joined: Sun Sep 30, 2007 20:18
Posts: 9
Costja wrote:
Code:
g++ src/sdl/hardware.cpp -MM -pipe -Wall -Wno-unused -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/sdl/ -DUSEASM=1 -D_DEBUG -g3 -MT "debugobj/hardware.o debugobj/hardware.d" -MF debugobj/hardware.d
In file included from src/sdl/sdlglvideo.h:4,
                 from src/sdl/hardware.cpp:45:
src/gl/gl_pch.h:78:22: error: platform.h: No such file or directory

What's platform.h? I cant find it in the archive. I'll temporary comment such includes.


I downloaded the 1-0-26 source and getting this as well. Ubuntu 7.04 x86, all the GL headers and such that seemed relevant installed.

Is there a CVS/SVN repository where this development is going on, or is it all just trading patches in this thread? It would be nice to get to the point where ZDoom is. where you just download the source and it compiles on any platform.

Really nice work guys, I'd given up all hope of a Linux version of my fav Doom port!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 30, 2007 23:28 
aka Const]ASTS[ @ irc.oftc.net


Joined: Thu Sep 08, 2005 20:02
Posts: 59
AFAIK there is no public CVS/SVN GZDoom repository. Linux will probably be officially supported in next GZDoom release. For now (1.0.26) there are only patches.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 1:41 
Steven


Joined: Fri Sep 21, 2007 2:09
Posts: 35
Location: Australia
chmmr wrote:
> > What's platform.h? I cant find it in the archive. I'll temporary comment such includes.
> I downloaded the 1-0-26 source and getting this as well.

platform.h is defined in the latest linux patch earlier in this thread. After applying the patch to GZDoom-Source-1-0-26.7z, it wil be in "src/gl/platform.h".


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 6:22 
Anime anyone?

User avatar

Joined: Sat Nov 12, 2005 1:53
Posts: 114
Location: Belgium, Antwerp
Also, removing the -IFLAC flag in Makefile.linux and removing the FLAC folder alltogether fixed the FLAC issue in all zDooM ports, zdoom ran perfectly fine and didn't crash on the wads it used to crash any longer :)

(i tested with Void, kdizd and a couple others :), like for ex the "you found a secret" sound was also a FLAC encoded sound)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 16:45 
User avatar

Joined: Sun Sep 30, 2007 20:18
Posts: 9
I applied the patch and things compiled with no problems. When I run it though, I hang at a black screen. Log:



I can post my Xorg log as well if that would help.

Could the sound problem be what's causing the hang, or is that a red herring?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 21:30 
Steven


Joined: Fri Sep 21, 2007 2:09
Posts: 35
Location: Australia
> Could the sound problem be what's causing the hang

Try using "-nosound" option to test this. You probably know, but also make sure Xorg is running in 24/32 bpp, not 16.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 4:09 
User avatar

Joined: Sun Sep 30, 2007 20:18
Posts: 9
stevenaaus wrote:
Try using "-nosound" option to test this.


It boots up with -nosound, thanks. I tried all the possible values for snd_driver and none of them worked. I didn't see any errors about sound during compilation, are there any gotches for getting this working? Is the next official release going to have this fixed? (if so it's not that big a deal)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 4:46 
aka Const]ASTS[ @ irc.oftc.net


Joined: Thu Sep 08, 2005 20:02
Posts: 59
Try to setup it to use timidity. There were good soundfonts somewhere on zdoom forums.
Also sometimes it works with -nomusic


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 1:03 
User avatar

Joined: Sun Sep 30, 2007 20:18
Posts: 9
Ah, -nomusic worked, then I was able to set the music to use OPL emulation (my preference anyway). Everything works great now, thanks! Native GZDoom is severely awesome!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 1:55 

Joined: Thu Oct 11, 2007 1:49
Posts: 5
Hi, I compiled gzdoom with the above patches and everything works great up until the point I try to quit. The screen just freezes as soon as I press "y" to quit and nothing will get me out of it except hard kill the X server (alt+sysrq+k).

The only error it gives me is zdoom-crash.log:
*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x1

I'm running Ubuntu feisty.
Let me know if more information is needed.
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 8:39 
Steven


Joined: Fri Sep 21, 2007 2:09
Posts: 35
Location: Australia
suacy wrote:
Hi, I compiled gzdoom with the above patches and everything works great up until the point I try to quit. The screen just freezes as soon as I press "y" to quit and nothing will get me out of it except hard kill the X server (alt+sysrq+k).

The only error it gives me is zdoom-crash.log:
*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x1

I'm running Ubuntu feisty.
Let me know if more information is needed.
Thanks


You have a little error message so googling for that may help, but i've often come across the "game won't exit" opengl bug without ever getting any wiser. Maybe try different SDL and OpenGl drivers if possible.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 11, 2007 10:12 
aka Const]ASTS[ @ irc.oftc.net


Joined: Thu Sep 08, 2005 20:02
Posts: 59
suacy, could you post log generated by debug build (i.e. gzdoomd compiled using "make DEBUG=1" command) please?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 13, 2007 18:41 
aka Const]ASTS[ @ irc.oftc.net


Joined: Thu Sep 08, 2005 20:02
Posts: 59
When checking code near SDL_Quit I found that I forgot to uncomment FGLTexture::FlushAll.
So, lines near "SDLGLVideo::~SDLGLVideo" in /src/sdl/sdlglvideo.cpp should be updated to:
Code:
SDLGLVideo::~SDLGLVideo ()
{
   FGLTexture::FlushAll();
   SDL_Quit( );
}


Attachments:
File comment: patch for the original 1.0.26 code
patch26.2.zip [10.78 KiB]
Downloaded 32 times
File comment: patch for code modified by the previous (patch26.1) patch
patch26L.zip [527 Bytes]
Downloaded 22 times
Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 2:45 
aka Const]ASTS[ @ irc.oftc.net


Joined: Thu Sep 08, 2005 20:02
Posts: 59
Sorry, I missed when .27 was out. Here is a patch for it.
CCDV is now not used when building gzdoom (it wasn't working for that anyway), but is still used when building toolsandpk3 though.

[ATTACHMENT DELETED. Use the patch from viewtopic.php?p=25819#25819 ]


Last edited by Costja on Wed Nov 28, 2007 0:37, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 3:31 

Joined: Thu Oct 11, 2007 1:49
Posts: 5
With this last patch I finally get a useful crash log. Here it is...

Thanks, Costja, for all your help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 222 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 15  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Exabot [Bot] and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DRDTeam Classic Color 2100 Style by Tormentor667