查看: 4629|回复: 1

编译osgEarth完成后,运行其tests下模型有问题,怎么解决

[复制链接]

该用户从未签到

发表于 2011-10-16 11:10:03 | 显示全部楼层 |阅读模式
本帖最后由 nanjinghu 于 2011-10-16 11:26 编辑

编译osgEarth完成后,运行其tests下模型有问题,只有一个发光的地球,纹理和地形都没有,不知道怎么回事,向各位请教?
D:\OSG\osgearth\bin>osgearth_viewer --sky ../tests/gdal_tiff.earth
Warning: Could not find plugin to read objects from file "C:\WINDOWS\Fonts\arial
.ttf".
Warning: Could not find plugin to read objects from file "C:\WINDOWS\Fonts\arial
.ttf".
ERROR 6: Unable to load PROJ.4 library (proj.dll), creation of
OGRCoordinateTransformation failed.
ERROR 6: Unable to load PROJ.4 library (proj.dll), creation of
OGRCoordinateTransformation failed.
[osgEarth]* [SpatialReference] SRS xform not possible
    From => WGS 84
    To   => WGS84
[osgEarth]* [SpatialReference] SRS xform not possible
    From => WGS 84
    To   => WGS84
[osgEarth]* [SpatialReference] SRS xform not possible
    From => WGS 84
    To   => WGS84
[osgEarth]* [SpatialReference] SRS xform not possible
    From => WGS 84
    To   => WGS84


osgearth.JPG

osgearth1.JPG

该用户从未签到

发表于 2011-11-8 11:03:02 | 显示全部楼层
执行目录下没有proj.dll 无法进行坐标系转换, 导致显示错误。
尝试找个proj或找个源码编译下放到执行目录试试!
--------------------------------------------------------------------------------
ERROR 6: Unable to load PROJ.4 library (proj.dll), creation of
OGRCoordinateTransformation failed.
ERROR 6: Unable to load PROJ.4 library (proj.dll), creation of
OGRCoordinateTransformation failed.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表