Valkyrie Posted July 25, 2017 Share Posted July 25, 2017 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. Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted July 25, 2017 Share Posted July 25, 2017 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. Quote Link to comment Share on other sites More sharing options...
Valkyrie Posted July 26, 2017 Author Share Posted July 26, 2017 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. Quote Link to comment Share on other sites More sharing options...
Jason Campbell Posted July 26, 2017 Share Posted July 26, 2017 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/10977with 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/ Quote Link to comment Share on other sites More sharing options...
Valkyrie Posted July 26, 2017 Author Share Posted July 26, 2017 I was able to fix it by running:dpkg --add-architecture i386and 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()' Quote Link to comment Share on other sites More sharing options...
Jason Campbell Posted July 29, 2017 Share Posted July 29, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.