Comments (8)
I just had this same issue on windows and I fixed it by moving the .leif/ folder to the right spot. It's just a path issue, so try copying or moving .leif to home/neko/ and you should be straight
from leif.
this should now be fixed as the install script copies the .leif folder automatically.
you can pull and reinstall or just move the .leif into /home/user and make sure that it belongs to your user.
from leif.
this should now be fixed as the install script copies the .leif folder automatically.
you can pull and reinstall or just move the .leif into /home/user and make sure that it belongs to your user.
there is a problem. .leif already here (I linked screenshot with ls -l in first comment). it cannot open it, even so it here
from leif.
do
sudo chown ~/.leif your_user:your_user
and see if it fixes it
from leif.
I installed Leif today and got the same error:
[LEIF ERROR]: Failed to open font file '/home/dana/.leif/assets/fonts/inter.ttf'
Segmentation fault
But the fix is pretty simple.
mkdir -p ~/.leif/assets/fonts #Create, if it doesn't exist, the folder you're looking for.
wget https://github.com/rsms/inter/releases/download/v3.19/Inter-3.19.zip #Download the font.
unzip Inter-3.19.zip -d Inter-3.19
Find the font you want in the Inter-3.19 folder.
In my case the path was: /Inter-3.19/Inter Hinted for Windows/Desktop/Inter-Regular.ttf
Inside the correct directory, copy the font to the directory that Leif is looking for.
cp Inter-Regular.ttf ~/.leif/assets/fonts/inter.ttf
from leif.
I installed Leif today and got the same error:
[LEIF ERROR]: Failed to open font file '/home/dana/.leif/assets/fonts/inter.ttf' Segmentation fault
But the fix is pretty simple.
mkdir -p ~/.leif/assets/fonts #Create, if it doesn't exist, the folder you're looking for. wget https://github.com/rsms/inter/releases/download/v3.19/Inter-3.19.zip #Download the font. unzip Inter-3.19.zip -d Inter-3.19
Find the font you want in the Inter-3.19 folder.
In my case the path was:
/Inter-3.19/Inter Hinted for Windows/Desktop/Inter-Regular.ttf
Inside the correct directory, copy the font to the directory that Leif is looking for.
cp Inter-Regular.ttf ~/.leif/assets/fonts/inter.ttf
are you on windows?
from leif.
yes. I'm using WSL with Ubuntu
from leif.
okay, and can you run leif?
from leif.
Related Issues (13)
- GLAD is platform specific HOT 18
- Hi coco cry, can't really seem to build the library and test it out on my Mac. HOT 5
- Issue with the Makefile HOT 4
- Unable to build example project HOT 2
- Using OpenCV Mat as texture HOT 4
- running `install.sh` gives compilation error, same with running `make`
- Min opengl version? HOT 2
- .leif folder
- ./install.sh not working HOT 4
- Visual Studio 2022/2019 instead of vscode? HOT 2
- libclipboard missing dependency + buffer overflow error (related to optimization flags)
- GLSL version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leif.