[osg-submissions] compile errors with winXP/VS2008Express current svn (8640)

Laurens Voerman l.voerman at rug.nl
Tue Jul 22 03:21:27 PDT 2008


svn 8653 compiles fine, (winXP / VC Express 2008)
Laurens.

Robert Osfield wrote:
> Hi Laurens,
> 
> I have gone with your fixes, but checked in my own fixes.  Could you
> do an svn update and let me know if this fixes things.
> 
> Robert.
> 
> On Mon, Jul 21, 2008 at 5:39 PM, Laurens Voerman <l.voerman at rug.nl> wrote:
>> Hi Robert,
>> I've just updated and compiled, and hit two compile errors:
>>
>> error while compiling osgDB:
>> openscenegraph\src\osgdb\imagepager.cpp(38) : error C4716:
>> 'osgDB::ImagePager::ImageThread::cancel' : must return a value
>>
>> 67>------ Build started: Project: Applications osgviewer, Configuration:
>> RelWithDebInfo Win32 ------
>> ..\..\..\OpenSceneGraph\applications\osgviewer\osgviewer.cpp(75) : error
>> C2662: 'osgDB::AuthenticationMap::addAuthenticationDetails' : cannot convert
>> 'this' pointer from 'const osgDB::AuthenticationMap' to
>> 'osgDB::AuthenticationMap &'
>>
>>
>>
>>
>> First one is simple,
>> add a "return 0;" in file src\osgDB\ImagePager.cpp
>>
>>
>>
>> second one problably needs some more attention.
>> I have revomed the const (2x). That compiles, and I think that it is a
>> proper solution.
>>
>> //        const AuthenticationMap* getAuthenticationMap() const;
>>         AuthenticationMap* getAuthenticationMap();
>>
>> (file include\osgDB\Registry)
>>
>>
>>
>> Laurens.
>>
>> _______________________________________________
>> osg-submissions mailing list
>> osg-submissions at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org


More information about the osg-submissions mailing list