OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

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

Open shaozhihua opened this issue 2 years ago • 2 comments

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 avatar Dec 12 '23 02:12 shaozhihua

I used vcpkg command to install the x64 osg lib;

shaozhihua avatar Dec 12 '23 02:12 shaozhihua

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.

robertosfield avatar Dec 12 '23 08:12 robertosfield

@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".

shaozhihua avatar Feb 29 '24 09:02 shaozhihua