The official "ZDoom on Linux" thread.

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
User avatar
Doomguy0505
Posts: 625
Joined: Tue Mar 29, 2005 4:53 am
Contact:

Post by Doomguy0505 »

Is the code official or svn?
User avatar
HeX
Posts: 43
Joined: Mon Jan 22, 2007 6:47 am
Location: www.odamex.net

Post by HeX »

Official ZDoom 2.1.7 downloaded straight from zdoom.org.

Also wait, I'm going to wipe ubuntu and install Xubuntu....so I'll give it another shot and see what the outcomes are.

EDIT: Got it working, thanks!
Stalker George
Posts: 3
Joined: Tue Jul 24, 2007 2:52 pm
Location: South America.

Post by Stalker George »

Hello everybody.

I just Downloaded the Source for Zdoom 2.1.7 (official one, not from svn), compiled perfectly and then I installed Timidity for the Sound.

(Oh, I should say that I started using Linux in May, so if this is n00b-ish, I'm Sorry)

The Whole point is that the music (In any IWAD) is heard, but hasn't got as much quality as in the Windows version

I do not know if I was very clear of this problem.... If anyone could help me, It would be Awesome.

Thanks in advance! =D
User avatar
Doomguy0505
Posts: 625
Joined: Tue Mar 29, 2005 4:53 am
Contact:

Post by Doomguy0505 »

You need better soundfonts
Stalker George
Posts: 3
Joined: Tue Jul 24, 2007 2:52 pm
Location: South America.

Post by Stalker George »

Doomguy0505 wrote:You need better soundfonts
Now it works better. Thanks!
User avatar
QBasicer
Posts: 766
Joined: Tue Sep 16, 2003 3:03 pm
Contact:

Post by QBasicer »

Alrighty, so where's this FModEx stuff?
User avatar
QBasicer
Posts: 766
Joined: Tue Sep 16, 2003 3:03 pm
Contact:

Post by QBasicer »

I'm wondering if a Ubuntu and/or Portage (Gentoo) repos should be set up.
User avatar
Doomguy0505
Posts: 625
Joined: Tue Mar 29, 2005 4:53 am
Contact:

Post by Doomguy0505 »

I do have a precompiled binary that has a script file to install all the dependencies here
MP2E
Posts: 28
Joined: Mon Oct 08, 2007 3:35 pm

Re: The official "ZDoom on Linux" thread.

Post by MP2E »

Ok, I've been trying to compile the latest Zdoom SVN on Ubuntu 7.10. I followed all the instructions in the wiki, and I installed subversion. Here is my error:

Code: Select all

src/svnrevision.h is up to date at revision 566.
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Compiling i_main.cpp:                                                 [ERROR]  
g++ -fno-rtti -pipe -Wall -Wno-unused -fno-strict-aliasing -O2 -fomit-frame-pointer -MMD -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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/ -Isrc/textures/ -Isrc/thingdef/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_main.o -c src/sdl/i_main.cpp
================================================================================src/sdl/i_main.cpp:43:21: warning: gtk/gtk.h: No such file or directory
src/sdl/i_main.cpp: In function ‘int main(int, char**)’:
src/sdl/i_main.cpp:196: error: ‘gtk_init_check’ was not declared in this scope
make: *** [releaseobj/i_main.o] Error 1
I get that i don't have GTK+-2.0 installed, but I can't seem to install it or find it.
User avatar
farhaven
Posts: 82
Joined: Sun Feb 25, 2007 2:01 pm
Location: NRW, Germany

Re: The official "ZDoom on Linux" thread.

Post by farhaven »

you may be looking for the package libgtk2.0-dev, at least that's what it's called in the debian repositories
MP2E
Posts: 28
Joined: Mon Oct 08, 2007 3:35 pm

Re: The official "ZDoom on Linux" thread.

Post by MP2E »

Thanks! I did that, and part compiled. But.... Another error... :lol: Seems as if I don't have the file jpeglib.h
Spoiler:
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: The official "ZDoom on Linux" thread.

Post by bagheadspidey »

MP2E wrote:Thanks! I did that, and part compiled. But.... Another error... :lol: Seems as if I don't have the file jpeglib.h
You need libjpeg-dev

edit - If you are using ubuntu, you can find this kind of info here - http://packages.ubuntu.com/#search_contents
Debian users can find it here - http://www.debian.org/distrib/packages#search_contents
MP2E
Posts: 28
Joined: Mon Oct 08, 2007 3:35 pm

Re: The official "ZDoom on Linux" thread.

Post by MP2E »

Ok, it compiled without error. Thanks guys :D However, it has more issues when I run it
Spoiler:
User avatar
Doomguy0505
Posts: 625
Joined: Tue Mar 29, 2005 4:53 am
Contact:

Re: The official "ZDoom on Linux" thread.

Post by Doomguy0505 »

Try

Code: Select all

sudo xhost + localhost
Post Reply

Return to “Tutorials”