Author Topic: Can't compile on Kubuntu 14.04  (Read 2812 times)

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
Can't compile on Kubuntu 14.04
« 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/
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

MoLAoS

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 433
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #1 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.

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #2 on: 25 May 2014, 22:02:58 »
I never tried to compile glestadv , The procedure that I used to compile , is it ok ?
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

MoLAoS

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 433
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #3 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.

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #4 on: 25 May 2014, 22:40:39 »
Im totally lost now.
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

MoLAoS

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 433
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #5 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

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #6 on: 25 May 2014, 23:21:09 »
I did all of them ,still doesn't work.
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

MoLAoS

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 433
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #7 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.

kagu

  • Administrator
  • Horseman
  • ********
  • Posts: 203
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #8 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.
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

MoLAoS

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 433
    • View Profile
Re: Can't compile on Kubuntu 14.04
« Reply #9 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.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Can't compile on Kubuntu 14.04
« Reply #10 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).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·