Page 1 of 1

Compiling on Ubuntu 10.04. Where I go wrong?

Posted: Thu Sep 09, 2010 17:41
by Psyhister
Hello, guys. I've tried to install GZDoom from source code, but I had some errors.

Code: Select all

-- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FMOD_LIBRARY
    linked by target "zdoom" in directory /home/psyhister/Source_codes/gzdoom/src

-- Configuring incomplete, errors occurred!

So, my question: which version of FMOD I have to install and which kind of FMOD(actually I found only one type of FMOD for Linux — FMOD Ex Programmers API).
Fluid Synth installed from Ubuntu repository and FMOD installed too. And I can't understand, why I have this error. Can you help me?
Thank you in advance.

Re: Compiling on Ubuntu 10.04. Where I go wrong?

Posted: Thu Sep 09, 2010 18:48
by Gez
I can't really help you because I haven't installed Linux, but other than for a couple of gl-files, the steps for compiling GZDoom are the same as for compiling ZDoom. See this article for FMOD pointers, you'll find direct links to a version of FMOD Ex that is known to work with ZDoom. For more help, you can also try this thread.

Re: Compiling on Ubuntu 10.04. Where I go wrong?

Posted: Wed Sep 15, 2010 21:51
by GuntherDW
You'll need FMOD to compile/run gzdoom, I thought that error message was quite clear?

But cmake doesn't like to stop on a configure *error*, so it gets quite confusing at first.

Re: Compiling on Ubuntu 10.04. Where I go wrong?

Posted: Sun Sep 19, 2010 13:23
by Psyhister
Gez wrote:I can't really help you because I haven't installed Linux, but other than for a couple of gl-files, the steps for compiling GZDoom are the same as for compiling ZDoom. See this article for FMOD pointers, you'll find direct links to a version of FMOD Ex that is known to work with ZDoom. For more help, you can also try this thread.
So, I did everything like in this wiki article and now it works. Maybe it was about version FMOD. Thanks a lot.
GuntherDW wrote:You'll need FMOD to compile/run gzdoom, I thought that error message was quite clear?
But cmake doesn't like to stop on a configure *error*, so it gets quite confusing at first.
Dude, I installed FMOD in first installation but it wasn't work)

Re: Compiling on Ubuntu 10.04. Where I go wrong?

Posted: Mon Sep 20, 2010 12:56
by GuntherDW
As i said, the error provider isn't quite clear. You'll have to check the CMakeList.txt to know which versions are accepted and which ones aren't.

Easiest solution is to create a fmod folder inside of the gzdoom source root folder, and extract a known working version in there.

But in ubuntu be sure to install the -dev versions :p.