Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fontconfig error: Cannot load default config file: No such file: (null) #1282

Closed
shaozhihua opened this issue Dec 12, 2023 · 3 comments
Closed

Comments

@shaozhihua
Copy link

my computer X64 intel
Qt5 MSVC2019 compiler
and my code is:
2584
I tried many methods ,but no works,
so I come here,and ask the author and distributers.
I really appreciate you guys!thanks!

@shaozhihua
Copy link
Author

I used vcpkg command to install the x64 osg lib;

@robertosfield
Copy link
Collaborator

I have never used FontConfig personally and the error message looks like it's being emitted from FontConfig rather than the OSG/vsgEarth so the issue may lie with FontConfig setup, in which case you'll need to read up about FontConfig.

@shaozhihua
Copy link
Author

shaozhihua commented Feb 29, 2024

@robertosfield oh,I found the solution about this error:
create a new ENVIRNMENT variable:FONTCONFIG_PATH
and the value of this ENV Variable is the path of "fonts.conf".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants