MegaGlest Forum

Archives (read only) => Mandate Engine => Topic started by: kagu on 25 May 2014, 20:58:52

Title: Can't compile on Kubuntu 14.04
Post by: kagu on 25 May 2014, 20:58:52
I pulled from git and did this
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=''
then
make

This is the output
http://pastebin.ubuntu.com/7517013/
Title: Re: Can't compile on Kubuntu 14.04
Post by: MoLAoS on 25 May 2014, 21:59:32
you appear to lack the proper freetype library. can you compile glestadv properly? because there should be no change to the code involving your problem from glestadv to mandate.
Title: Re: Can't compile on Kubuntu 14.04
Post by: kagu on 25 May 2014, 22:02:58
I never tried to compile glestadv , The procedure that I used to compile , is it ok ?
Title: Re: Can't compile on Kubuntu 14.04
Post by: MoLAoS on 25 May 2014, 22:12:03
I never tried to compile glestadv , The procedure that I used to compile , is it ok ?

Presumably. I never compiled on Linux myself. In Tomeryn's thread he posts the things he did to successfully compile for Linux, though not on kubuntu I think.

Anyways, you don't have to compile on GAE if its much trouble, I'm pretty sure you merely lack the correct version of freetype, assuming you have one? You may be able to grab the GAE dependencies from https://sourceforge.net/projects/glestae/?source=directory

Not sure if that's where they are, after all this time.
Title: Re: Can't compile on Kubuntu 14.04
Post by: kagu on 25 May 2014, 22:40:39
Im totally lost now.
Title: Re: Can't compile on Kubuntu 14.04
Post by: MoLAoS on 25 May 2014, 22:58:59
Im totally lost now.

Here is the GAE compile guide, should be similar to mine:
https://sourceforge.net/apps/trac/glestae/wiki/CompileGuideLinux
Title: Re: Can't compile on Kubuntu 14.04
Post by: kagu on 25 May 2014, 23:21:09
I did all of them ,still doesn't work.
Title: Re: Can't compile on Kubuntu 14.04
Post by: MoLAoS on 25 May 2014, 23:21:51
I did all of them ,still doesn't work.

Its the same error with freetype though? you might just have to download freetype.h or something.
Title: Re: Can't compile on Kubuntu 14.04
Post by: kagu on 26 May 2014, 09:31:19
Could this bug also apply here ?
https://forum.megaglest.org/index.php?topic=9502.0

Even if it did , I don't know here to change it.
Title: Re: Can't compile on Kubuntu 14.04
Post by: MoLAoS on 26 May 2014, 17:14:59
Well, I assume you need to add whatever file is missing, although I'm not sure why its missing. Tomeryn appears to have compiled it properly, perhaps you could ask him if he ran into the error you have and what he did to solve it.
Title: Re: Can't compile on Kubuntu 14.04
Post by: tomreyn on 27 June 2014, 01:00:20
That'd be libfreetype6-dev on (K)Ubuntu 14.04 - though I have not actually tried to build Mandate or GAE on this Ubuntu release (but an earlier one).