egildon Posted December 11, 2018 Share Posted December 11, 2018 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 Quote Link to comment Share on other sites More sharing options...
carlb Posted December 12, 2018 Share Posted December 12, 2018 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 Quote 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 More sharing options...
egildon Posted December 12, 2018 Author Share Posted December 12, 2018 Thanks for responding! How should I do that if it is a steam install? I cant rebuild or remake as though it were using a makefile to install LE. Hummm... Quote Link to comment Share on other sites More sharing options...
carlb Posted December 12, 2018 Share Posted December 12, 2018 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 Quote 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 More sharing options...
egildon Posted December 12, 2018 Author Share Posted December 12, 2018 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? Quote Link to comment Share on other sites More sharing options...
carlb Posted December 12, 2018 Share Posted December 12, 2018 sorry someone else have to help you i don't have it on any of my linux machine only on windows Quote 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 More sharing options...
egildon Posted December 12, 2018 Author Share Posted December 12, 2018 5 minutes ago, carlb said: sorry someone else have to help you i don't have it on any of my linux machine only on windows Thank you so much for your help! Quote Link to comment Share on other sites More sharing options...
Solution egildon Posted December 13, 2018 Author Solution Share Posted December 13, 2018 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! 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.
Note: Your post will require moderator approval before it will be visible.