Success, I have a working VRML plugin ! :)

Attached is a patch to be able to build OpenVRML 0.14.3 with Visual Studio
2005, feel free to add it to the Wiki if needed.

On Fri, Dec 5, 2008 at 4:08 PM, Serge Lages <[EMAIL PROTECTED]> wrote:

> I've made it build by adding const to the size_t parameter, don't ask me
> why it works like that...
>
> So I've managed to build OpenVRML, I am currently building OSG with the
> VRML plugin, if everything work, I'll post a patch for the OpenVRML sources.
>
>
> On Fri, Dec 5, 2008 at 4:04 PM, Simon Hammett <[EMAIL PROTECTED]>wrote:
>
>> 2008/12/5 Serge Lages <[EMAIL PROTECTED]>:
>> > I tried the patch but it doesn't work for Visual Studio.
>> >
>> > Anyone have an idea on how to transform a method declaration like that :
>> >
>> > float (&operator[](size_t index) throw ())[4];
>> >
>> > In something similar but VS compliant ?
>> >
>>
>> If you are trying to get a pointer to member function you need the
>> class name in front of operator eg
>>
>> float (&AClass::operator[](size_t index) throw())[4];
>>
>> VC7.1 compiles that, but later versions are more standards compliant.
>>
>> --
>> The truth is out there. Usually in header files.
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
>
> --
> Serge Lages
> http://www.tharsis-software.com
>



-- 
Serge Lages
http://www.tharsis-software.com

Attachment: openvrml-vs8.patch
Description: Binary data

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to