[osg-users] Did getDataFilePathList moved?

Robert Osfield robert.osfield at gmail.com
Tue Jul 22 12:04:01 PDT 2008


Hi Ariasgore??

You need to add the appropriate includes to use classes/functions, for
osgDB::getDataFilePathList() you need to include osgDB/FileUtils.  It
hasn't moved, its always been in FileUtils.

Robert.

On Tue, Jul 22, 2008 at 5:44 PM, Ariasgore <ariasgore at gmx.de> wrote:
> Hello,
> I am doing the tutorials on the osg page and I am stuck while using the
> osgDB::FilePathList. Did the methods
> getDataFilePathList and setDataFileList move? I can only find a
> getDataFilePathList in the osg:DB::Registry, but using this as in the
> tutorial:
> osgDB::FilePathList pathList = osgDB::Registry::getDataFilePathList();
> Returns me an error->
> Error   1       error C2668: 'osgDB::Registry::getDataFilePathList' :
> ambiguous call to overloaded function  in "files.cpp"  36
>
>
> Using osgDB::getDataFilePathList() as mentioned here
> http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/HudsAndText
> leaves me with an
> "Error  1       error C2039: 'getDataFilePathList' : is not a member of
> 'osgDB' in files.cpp       36"
>
> Thanks
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list