Thanks Robert, everything compile fine !

On Fri, May 8, 2009 at 2:44 PM, Wojciech Lewandowski
<[email protected]>wrote:

>  I see that just added revision 10168 does the trick. Ignore my former
> post. Cheers. Wojtek
>
> ----- Original Message -----
>
>  *From:* Wojciech Lewandowski <[email protected]>
> *To:* OpenSceneGraph Users <[email protected]>
>  *Sent:* Friday, May 08, 2009 2:28 PM
> *Subject:* Re: [osg-users] Build broken under Windows
>
> Hi Guys,
>
> The fix seems to work but I had to add it myself as latest SVN trunk
> revision 10163 seems to not contain
>
> *    _mouseCursor( InheritCursor ) *
>
> but
> *    _mouseCursor( 0 )*
>
> which still produces compilation error.
>
> Wojtek
>
> ----- Original Message -----
>  *From:* Serge Lages <[email protected]>
> *To:* OpenSceneGraph Users <[email protected]>
> *Sent:* Friday, May 08, 2009 2:11 PM
> *Subject:* Re: [osg-users] Build broken under Windows
>
> It builds with your modified GraphicsWindowWin32.cpp ! :)
>
> On Fri, May 8, 2009 at 1:45 PM, Robert Osfield 
> <[email protected]>wrote:
>
>> HI Serge,
>>
>> Arggg.... two steps forward, one back...
>>
>> The initializer addition was meant to fix a bug.... so what should the
>> value should we use here to replace the 0, would InheritCursor be
>> sufficient as I presume it's value will be zero.   I've attached
>> GraphicsWindowWin32.cpp with the initializer change to InheritCursor.
>> Could you try this out to see if things behave themselves.
>>
>> Thanks,
>> Robert.
>>
>> On Fri, May 8, 2009 at 12:22 PM, Serge Lages <[email protected]>
>> wrote:
>> > Hi Robert,
>> >
>> > The current build (SVN trunk) seems broken under Windows (VS2005
>> Express),
>> > here are the errors :
>> >
>> > 10>.\GraphicsWindowWin32.cpp(1035) : error C2440: 'initializing' :
>> cannot
>> > convert from 'int' to 'osgViewer::GraphicsWindow::MouseCursor'
>> > 10>        Conversion to enumeration type requires an explicit cast
>> > (static_cast, C-style cast or function-style cast)
>> > 10>.\GraphicsWindowWin32.cpp(1035) : error C2439:
>> > 'osgViewer::GraphicsWindowWin32::_mouseCursor' : member could not be
>> > initialized
>> > 10>
>> >
>> D:\Magrathea\Dependencies\Main\OpenSceneGraph\include\osgViewer/api/Win32/GraphicsWindowWin32(182)
>> > : see declaration of 'osgViewer::GraphicsWindowWin32::_mouseCursor'
>> >
>> > Cheers,
>> >
>> > --
>> > Serge Lages
>> > http://www.tharsis-software.com
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> >
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
>
> --
> Serge Lages
> http://www.tharsis-software.com
>
> ------------------------------
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>  ------------------------------
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to