Error using make on Ubuntu 16.04

2D version of the Torque engine.
6 posts Page 1 of 1
Valkyrie
Posts: 4
Joined: Tue Jul 25, 2017 5:02 pm
by Valkyrie » Tue Jul 25, 2017 5:25 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
          ^

Google has unfortunately been unhelpful.

I have all the libraries listed on the linux build page.
Bloodknight
Posts: 94
Joined: Tue Feb 03, 2015 8:58 pm
by Bloodknight » Wed Jul 26, 2017 1:46 am
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.
Valkyrie
Posts: 4
Joined: Tue Jul 25, 2017 5:02 pm
by Valkyrie » Wed Jul 26, 2017 5:02 am
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.
Jason Campbell
Posts: 164
Joined: Fri Feb 13, 2015 2:51 am
 
by Jason Campbell » Wed Jul 26, 2017 5:08 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/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/
Valkyrie
Posts: 4
Joined: Tue Jul 25, 2017 5:02 pm
by Valkyrie » Wed Jul 26, 2017 7:45 am
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()'
Jason Campbell
Posts: 164
Joined: Fri Feb 13, 2015 2:51 am
 
by Jason Campbell » Sat Jul 29, 2017 5:00 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.
6 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest