Jump to content

Error on fresh install possibly causing Leadwerks 4.5/4.6 to fail


egildon
 Share

Go to solution Solved by egildon,

Recommended Posts

Hello all,

I am getting an error on a fresh install of my Leadwerks 4.5 professional install on Ubuntu 18.10.

Error: Failed to load font "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf"

I went looking for the font and found it at: "/usr/share/fonts/truetype/ubuntu/Ubuntu-L.ttf"

Could this error be causing my instance to not Run or Debug? The application launches just fine but will not begin a Run or Debug Cycle.

How can I fix this error?

Best,

 

e

 

 

Link to comment
Share on other sites

well path been different not going to help.

not sure were in the linux leadwerks you change setting but i would make the directory and move the file or do symbolic link to the directory that should fix it

 

Asus ROG STRIX B350-F GAMMING

AMD Ryzen 7 1700x

32 gb ddr4

15 TB raid 5 HD

Nvidia EVGA 1060GTX

Win10 64bit

Link to comment
Share on other sites

that font path is nothing to do with steam that ubuntu changed path with different os version

as you wanting this path /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf

but you found in /usr/share/fonts/truetype/ubuntu/Ubuntu-L.ttf

so do the following 

cd /usr/shar/fonts/truetype/

ln -s ./ubuntu ./ubuntu-font-family

 

then you have how the missing ubuntu-font-family and it point to ubuntu directory were the files are

hope that helps you 

 

 

 

Asus ROG STRIX B350-F GAMMING

AMD Ryzen 7 1700x

32 gb ddr4

15 TB raid 5 HD

Nvidia EVGA 1060GTX

Win10 64bit

Link to comment
Share on other sites

Thank you!

Actually I fixed the error by creating the directory and copying  the single missing file over to it. (I completely forgot about the ability to do Sym Links)

I'll be implementing your suggestion as well!

After all of that there is still no response when I press run or debug.

Are there any error log files I can check?

Link to comment
Share on other sites

  • Solution
3 hours ago, carlb said:

sorry someone else have to help you i don't have it on any of my linux machine

only on windows

Ok, So I was able to figure out what was going on.

In my case  had a change in the placement of a True Type Font which fixed by using to create new Symbolic Links;

cd /usr/shar/fonts/truetype/
sudo ln -s ./ubuntu ./ubuntu-font-family 

(Thank you user Carlb)

 

I was missing some other libraries which were referenced in Josh's post:

sudo apt-get install libglu1-mesa-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libxft-dev

(Thank you Admin Josh)

 

I was missing an additional library for the AL sound library:

sudo apt-get install libalut-dev

(Thank you ME! ?)

 

After making all of these changes LE would compile cleanly (with CodeBlocks) but I would still fail with warnings.

||=== Build failed: 1 error(s), 26 warning(s) (0 minute(s), 5 second(s)) ===|

 

This problem is found here.

And is solved by adding the

-no-pie

flag into the compiler you are using which iirc stands for Position Independent Executable.

HTH

 

Best!

 

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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...