Building gzdoom in linux with cmake

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Re: Building gzdoom in linux with cmake

Post by GuntherDW »

Is it just me or is the performance in linux a hell of a lot worse than in windows?

When the first boss fight begins in insanity's edge, the game lags down to a scratch, making avoiding the projectiles (?) almost impossible.
I haven't tried gzdoom in windows on this pc yet, but my laptop, which has a far inferior GPU (HD 3650M <-> GF 9800 GTX+ OC) wads like Alien Vendetta seem a lot more fluent.

I'll have to try it on my laptop first. But i had to tune down the texture resize filter before insanity's edge was playable, every time i opened a door it lagged like hell.
I thought 512MB would be enough for doom? Guess I'll have to buy a 1GB version of one of the GT200 series when i get my paycheck then :p.

edit: only difference between my laptop & this pc is that i play on 1440x900 on my laptop and 1920x1200 on my PC.
stigandr

Re: Building gzdoom in linux with cmake

Post by stigandr »

Hi everyone,

This is my first post in this forum AND I've got a problem :roll: which I've come across when compiling gzdoom r564.

Code: Select all

$ pwd
/tmp/gzdoom/build
$ make
[  1%] Built target bzip2
[  4%] Built target lzma
[  4%] Built target lemon
[  6%] Built target re2c
[  6%] Built target updaterevision
[  6%] Built target zipdir
[ 15%] Built target gme
[ 28%] Built target dumb
[ 28%] Built target arithchk
[ 29%] Built target qnan
[ 37%] Built target gdtoa
[ 37%] Built target pk3
[ 37%] Built target brightmaps_pk3
[ 37%] Built target lights_pk3
src/svnrevision_gz.h is up to date at revision 564M.
[ 37%] Built target revision_check
[ 37%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/sdlglvideo.o
In file included from /tmp/gzdoom/src/sdl/sdlglvideo.cpp:27:
/tmp/gzdoom/src/./gl/textures/gl_material.h:185: error: extra qualification ‘FMaterial::’ on member ‘RowOffset’
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/sdlglvideo.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
$
I'm also using fmod 4.27.10.

Code: Select all

$ pwd
/tmp/gzdoom/build
$ cmake -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex -DFMOD_LIBRARY=/usr/local/lib/libfmodex64-4.27.10.so -DCMAKE_BUILD_TYPE=Release ..
Last but not least, it's Ubuntu 9.04 that I'm running.

Code: Select all

$ uname -a
Linux localhost 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:48:52 UTC 2009 x86_64 GNU/Linux
$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
How can I fix it?

PS. I'm not a programmer.
Rico
Posts: 3
Joined: Thu Oct 22, 2009 22:20

Re: Building gzdoom in linux with cmake

Post by Rico »

First at all. Hi everyone, this is my very first post here.
Hi Graf, I'm a fan of GZDOOM, always used in Windows, but my native O.S. is Linux for at least 5 years and for many times I tried to compile GZDOOM :P (GIMME YOUR AUTOGRAPHY PLS! @__@ )
Always getting more and more closer.


Same as the one before. I got the same error, tried to fix that, but my knowledge is not enough. xD
Graf did you already took a look here?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Building gzdoom in linux with cmake

Post by Graf Zahl »

If such problems get posted here instead of in the bugs forum not much will happen. I rarely look into this thread.
Rico
Posts: 3
Joined: Thu Oct 22, 2009 22:20

Re: Building gzdoom in linux with cmake

Post by Rico »

Yeah, I can figure out 'why'.
Thanks anyway, I will keep trying to fix that Row Offset. I am getting nervous with it. But, I haven't tried the lastest SVN, but I don't know if it will resolve something. Btw Sorry my bad english.
Locked

Return to “GZDoom”