quick linux binary

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
ryan
Posts: 25
Joined: Tue Aug 26, 2003 7:07 pm
Location: Duncan, BC, Canada
Contact:

quick linux binary

Post by ryan »

mm'kay, i know randy is planning this for 2.0.64, but the truth is, after waiting day by day, hoping it will be released when i bring up zdoom.org, its not. 'this' being an updated linux version of zdoom. a couple of people here have talked of successfully getting the 2.0.63 source to successfully compile on linux and work, albeit without sound. in the end: i don't care if there isn't sound. could the person(s) who did that send me a copy of their compiled binary? see http://slipgate.org/?a=contact for handy ways of getting ahold of me. thanks,

- ryan
rpeter
Posts: 150
Joined: Mon Jul 21, 2003 10:52 pm

Post by rpeter »

Wine? It might not be the REAL thing, still better than not having video either...
ryan
Posts: 25
Joined: Tue Aug 26, 2003 7:07 pm
Location: Duncan, BC, Canada
Contact:

Post by ryan »

wine hasn't worked for zdoom ever for me, i've tried so many different versions, configs have been reset, all of them end up with a direct input error. so thats a no go.

as for no video, i wasn't aware of that, i thought it was just sound that didn't work? thanks for your input though.

- ryan
User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Somebody should just take the 63a sources and modify it to compile/run in Linux. The source is freely available. If I had the time I might, but I got too many other projects on the backburner.. don't need another one.
Yavi

Post by Yavi »

So, if you want get linux zdoom, here is my binary and src fo 63 (not 63a):
Binary
Source
(now, they are tgzs)
There is sound, but no music, it crashes on load and save menu :( and on autosave :evil: Later i'll fix it.

EDIT: To compile you also need FMOD
Last edited by Yavi on Tue Jul 06, 2004 3:19 am, edited 1 time in total.
User avatar
QBasicer
Posts: 766
Joined: Tue Sep 16, 2003 3:03 pm
Contact:

Post by QBasicer »

ryan wrote:wine hasn't worked for zdoom ever for me, i've tried so many different versions, configs have been reset, all of them end up with a direct input error. so thats a no go.

as for no video, i wasn't aware of that, i thought it was just sound that didn't work? thanks for your input though.

- ryan
You can't use a fake install thingy, and you have to use WineX, and you must have a real registry with real directx and stuff...

Also, Wine(X) doesn't support mouse grabbing, so it can get messy.
User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

The source zip comes up as unavilable. :(
ryan
Posts: 25
Joined: Tue Aug 26, 2003 7:07 pm
Location: Duncan, BC, Canada
Contact:

sweeeeet

Post by ryan »

thanks a million, i got both zip archives from the geocities site but the binary zip has an error in it (but it still extracts, the error reports an extra byte at the beginnign of the file and 'tries' to extract anyway) after extracting, i chmod +x it and it just segfaults when being run. i am attempting to compile the source right now. hopfully i have everything i need installed at the moment to compile it. by the way, what kind of linux system are you running?

thanks again,

- ryan

kernel 2.6.6, debian unstable.
ryan
Posts: 25
Joined: Tue Aug 26, 2003 7:07 pm
Location: Duncan, BC, Canada
Contact:

Post by ryan »

damn, error:

ryan@ryan:~/src/zdoom-linux-src$ make
g++ -Wall -Winline -Isrc -Isrc/sound -Isrc/Linux -Isrc/g_shared -Isrc/g_doom -Isrc/g_raven -Isrc/g_heretic -Isrc/g_hexen -Isrc/g_strife -Isrc/zlib-1.1.4 -Ifmod/api/inc -O2 -march=pentium -fomit-frame-pointer -Wp,-Dstricmp=strcasecmp -Wp,-Dstrnicmp=strncasecmp -Wp,-DNO_STRUPR -Wp,-DNO_FILELENGTH -Wp,-DKEYMAP_FILE=\"/usr/local/share/zdoom/xkeys\" -Wp,-DSHARE_DIR=\"/usr/local/share/zdoom/\" -Wp,-DPLATFORM_LINUX -Wp,-DFMOD_371=1 -Wp,-DNDEBUG,-DUSEASM -c src/m_options.cpp -o src/Linux/release/m_options.o
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/m_options.cpp:516: error: brace-enclosed initializer used to initialize `
char*'
src/doomdata.h:135: warning: `int GET_SPAC(int)' defined but not used
make: *** [src/Linux/release/m_options.o] Error 1

i have gcc version 3.3.4 (Debian 1:3.3.4-2)

- ryan
Yavi

Post by Yavi »

Ok. I uploaded tgzs. And I think that this error may be compilator problem. I've fixed this but before I haven't got any errors... Anyway binary is :D
User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Grr.. could someone upload the source to somewhere else other than geoshities? I can grab FMOD and the binary without a problem, but the source keeps coming up as '999 unavailable'.
Yavi

Post by Yavi »

User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Sweet, thanks. Compiling now.
User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Okay, I had the same problem as ryan (using gcc version 3.3.2). The problem is, on lines 503 to 511 of m_options.cpp, the second member of the structure is expecting a char pointer, but is effectively being initialized with { 0 } (a char array). Removing the braces around the second member initializer for each of those lines fixed the problem, though it initializes the pointer to NULL.
Yavi

Post by Yavi »

hell... I'm using gcc 3.2.2 (Red Hat 9.0). Maybe it's a problem. I'll try install newer version of gcc and make some fixes
Post Reply

Return to “General”