### Error using make on Ubuntu 16.04

2D version of the Torque engine.

Moderator: marauder2k9

#### Error using make on Ubuntu 16.04

Valkyrie
Posts: 4
Joined: Tue Jul 25, 2017 5:02 pm
I have been trying to use make on Ubuntu but I have been getting the following error:

Code: Select all

In file included from ../../source/platformX86UNIX/x86UNIXFont.cc:36:0: /usr/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME" or <FILENAME> #include FT_FREETYPE_H ^

I have all the libraries listed on the linux build page.

#### Re: Error using make on Ubuntu 16.04

Bloodknight
Posts: 299
Joined: Tue Feb 03, 2015 8:58 pm
Something is badly wrong with that last line, it looks like a chunk of file has somehow gotten deleted and the filename has been replaced by a header guard.

#### Re: Error using make on Ubuntu 16.04

Valkyrie
Posts: 4
Joined: Tue Jul 25, 2017 5:02 pm
Something is badly wrong with that last line, it looks like a chunk of file has somehow gotten deleted and the filename has been replaced by a header guard.
What should I do? I have already tried purging libxft-dev and reinstalling it.

#### Re: Error using make on Ubuntu 16.04

Jason Campbell
Posts: 358
Joined: Fri Feb 13, 2015 2:51 am

Could it be a problem with FreeType2?

Maybe a conflict between two font libraries?

This guy fixed a similar problem.
https://root-forum.cern.ch/t/libafterim ... type/10977

with

Code: Select all

sudo ln -s /usr/include/freetype2/freetype /usr/include/freetype
EDIT: make sure libfreetype6 is up to date. I have i386 and 64 bit libraries 2.6.1-0.1ubuntu2.3 version/

#### Re: Error using make on Ubuntu 16.04

Valkyrie
Posts: 4
Joined: Tue Jul 25, 2017 5:02 pm
I was able to fix it by running:

Code: Select all

dpkg --add-architecture i386
and installing all the libraries with :i386.

But now I get the following error:

Code: Select all

Debug/2d/sceneobject/SceneObject.cc.o: In function cSceneObjectplaySound(SceneObject*, int, char const**)': /home/bob/Desktop/Testing32/engine/compilers/Make/../../source/2d/sceneobject/SceneObject_ScriptBinding.h:4503: undefined reference to AudioDescription::AudioDescription()' 

#### Re: Error using make on Ubuntu 16.04

Jason Campbell
Posts: 358
Joined: Fri Feb 13, 2015 2:51 am

Sorry, I don't feel like trying to set up a chroot for 32 bit building, to see if it works on my end. T2D seems to work with Wine, if you just want to mess around with it and see if it is something you want to use. GODOT engine is also an alternative open source 2D(and 3D) engine that is still in development.

#### Who is online

Users browsing this forum: No registered users and 1 guest