Fontconfig error: Cannot load default config file: No such file: (null)
my computer X64 intel
Qt5 MSVC2019 compiler
and my code is:
I tried many methods ,but no works,
so I come here,and ask the author and distributers.
I really appreciate you guys!thanks!
I used vcpkg command to install the x64 osg lib;
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 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".