这是由于配置osg时 freetype 插件没有配置到位。 我个人的解决方法 打开CMAKE,点击advance,不勾选OSG_TEXT_USE_FONTCONFIG。 同时将freetype路径设置为如下:
Author : Robert Osfield Adopted the matrix transformation code from Text Mon, 15 Jul 2019 16:13:57 +0100 Author : Robert Osfield Added test of picking Mon, 15 Jul 2019 15:05:05 +0100 Author : Robert Osfield Cuietened down the reporting of failure to find fontconfig Mon, 15 Jul 2019...
Fontconfig should be external library.Add Fontconfig to TARGET_LIBRARIES cause osg3::osgText target looking for openscegraph-Fontconfig-import-targets.cmake, which doesn't exists. Sun, 13 Oct 2019 20:24:36 +0800 Author : PntAndCnt Fix a typo and invisible 3dtext in examples/osgtext.Second ...
F:\Dev\Lib_vc\OSG\bin>osgearth_viewer F:\Dev\Build\OSG\osgearth-master\tests\bing.earth Fontconfig error: Cannot load default config file: No such file: (null) Fontconfig warning: "memory", line 1: empty cache directory name ignored [osgEarth] [Capabilities] Capabilities: [osgEarth] [Ca...
mingw-w64-fontconfig mingw-w64-fontforge mingw-w64-fossil mingw-w64-fox mingw-w64-fpm mingw-w64-freealut mingw-w64-freeglut mingw-w64-freeimage mingw-w64-freerdp mingw-w64-freetds mingw-w64-freetype mingw-w64-frei0r-plugins mingw-w64-fribidi mingw-w64-fritzing mingw-w64...
+Adopted the matrix transformation code from Text + +Mon, 15 Jul 2019 16:13:57 +0100 +Author : Robert Osfield +Added test of picking + +Mon, 15 Jul 2019 15:05:05 +0100 +Author : Robert Osfield +Cuietened down the reporting of failure to find fontconfig ...
FindFontconfig.cmake FindFreetype.cmake FindGCCXML.cmake FindGDAL.cmake FindGIF.cmake FindGLEW.cmake FindGLU.cmake FindGLUT.cmake FindGSL.cmake FindGTK.cmake FindGTK2.cmake FindGTest.cmake FindGettext.cmake FindGit.cmake FindGnuTLS.cmake FindGnuplot.cmake FindHDF5.cmake Find...
3D Maps for OpenSceneGraph / C++14. Contribute to gwaldron/osgearth development by creating an account on GitHub.