Antoine,
So how do I make sure that the osgdb_ecw.dll plug-in gets called instead of
GDAL? As it is, osgDem just stops (crashes actually...). I am not looking
foward to recompiling GDAL ;(
- Nick -
I meant that OSG plugins are called in sequence, each plugin is trying
to load the file and returns either an image handler or an error code.
The way the GDAL plugin is trying to read a file is to open a GDAL
dataset from this file. If it fails the operation returns a null pointer
to the plugin but also displays an "ERROR 4" message. Then the plugin is
returning an error code. If later on an other plugin is able to open
this file, you do not need to care much about the GDAL error.
Recompiling GDAL with ECW support would also work but would make the ECW
plugin useless.
> (PS: Peut-etre pouvez-vous m'expliquer en francais. Merci pour le coup
de
> pouce.)
>
De rien, c'est normal pour un membre du Petit Poucet.
Antoine
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Former Police Officer Paul Gillespies TAKE BACK THE INTERNET tips and
tricks, watch the video now http://safety.sympatico.msn.ca/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org