Page 1 of 1

Error using make on Ubuntu 16.04

Posted: Tue Jul 25, 2017 5:25 pm
by Valkyrie
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
          ^

Google has unfortunately been unhelpful.

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

Re: Error using make on Ubuntu 16.04

Posted: Wed Jul 26, 2017 1:46 am
by Bloodknight
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

Posted: Wed Jul 26, 2017 5:02 am
by Valkyrie
Bloodknight wrote: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

Posted: Wed Jul 26, 2017 5:08 am
by Jason Campbell
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/libafterimage-installing-problem-freetype/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

Posted: Wed Jul 26, 2017 7:45 am
by Valkyrie
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

Posted: Sat Jul 29, 2017 5:00 am
by Jason Campbell
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.