[osg-users] Did getDataFilePathList moved?
robert.osfield at gmail.com
Tue Jul 22 12:04:01 PDT 2008
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.
On Tue, Jul 22, 2008 at 5:44 PM, Ariasgore <ariasgore at gmx.de> wrote:
> 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
> 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
> leaves me with an
> "Error 1 error C2039: 'getDataFilePathList' : is not a member of
> 'osgDB' in files.cpp 36"
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users