Talk:Compile ZDoom on Linux

From ZDoom Wiki
Jump to navigation Jump to search

Keep it simple

I've removed some of the verbosity in the guide since while Skyrimguy has good intentions, I think there is a point where it starts to make compiling look more difficult than it actually is. I propose the following standards be kept in mind.

  • After the out of tree build directory is created early in the process, assume the user is executing from that directory.
  • Only guide the user for building one copy of ZDoom. Dealing with multiple copies is in my opinion out of scope for this wiki and hopefully one can figure out for themselves that they can have multiple build directories. (So switching from Release to Debug instead of a second build directory.)
  • Stick to the basics. The goal of this guide is to get the user to the finish line the first time, not to teach how to use bash.

There may be some things that should be added back and the non-Ubuntu package lists should be updated. But hopefully what I left alone should give a good indication of what I believe is a good middle ground. Blzut3 (talk) 20:46, 18 November 2016 (CST)

Create deb and rpm packages

I would like to download a deb package, install it, and then all the dependences including timidity and the others in the post.

I would do it myself but i have errors compiling even i installed all as the instructions says.

Also it can be posted to GETDEB repository almost every Linux gamer has to keep it on date.


cmake line with FMOD lib/inc location

"grete" suggested at http://forum.zdoom.org/viewtopic.php?f=7&t=24640 to change the cmake line to reference the fmod dir directly from the trunk like

cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/trunk/fmodapi42805linux64/api/lib/libfmodex64-4.28.05.so -DFMOD_INCLUDE_DIR=/trunk/fmodapi42805linux64/api/inc/

however this broke compiling for me. There is also no "trunk" directory if one downloads source directly from the website, which may confuse new users.

I've changed the line back to the installed library location, and kept the includes part. If someone believes /usr/local/lib/ is not the correct place for FMOD to be installed, take it up with the FMOD team. I think ZDoom should honour the default upstream behavior of its' libraries.

--Super Jamie 23:20, 24 January 2010 (UTC)

Substitute <path to the ZDoom source> for /trunk. I doubt anybody would actually download it to a directory called trunk in the root of their filesystem. Randy Heit 23:08, 17 February 2010 (UTC)