Jump to content

Error using make on Ubuntu 16.04


Valkyrie

Recommended Posts

I have been trying to use make on Ubuntu but I have been getting the following error:

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

 

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/

Link to comment
Share on other sites

I was able to fix it by running:

dpkg --add-architecture i386

and installing all the libraries with :i386.


But now I get the following error:

 

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()'

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...