Opened 13 years ago

Closed 13 years ago

#768 closed task (fixed)

osgEarth: quickstart example doesn't work

Reported by: hamish Owned by: live-demo@…
Priority: major Milestone:
Component: OSGeoLive Keywords: 5.0 osgEarth
Cc: kalxas

Description

Hi,

if you follow the steps in the osgEarth quickstart,

export OSG_FILE_PATH=/usr/share/osgearth
osgearth_viewer --window 50 50 900 700 /usr/share/osgearth/maps/srtm.earth

it gives an error about Warning: could not find plugin to load objects from file "50" then [osgearth] Unable to load earth model. and the usage text before returning to the command prompt.

Hamish

ps- we can put that export line in /etc/profile.d/osgEarth.sh if you like, then add the demo viewer as a menu item..

Change history (1)

comment:1 by hamish, 13 years ago

Resolution: fixed
Status: newclosed

ok, the osgearth-data was suggested but not installed. installing it fixes the error, but not the warnings (but I don't know if that matters)

also I had to modify the install script to pull in the openscenegraph package to get the osgviewer program.

Hamish

Note: See TracTickets for help on using tickets.