Hello everyone,

 

I am trying to compile VMRL plugin for OSG, but I am not succeeding at all.
I have followed those instructions:

 

 
<http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/V
isualStudio/VisualStudioPlugins>
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Vi
sualStudio/VisualStudioPlugins

 

and I was able to compile openvrml, so now I have the antlr.lib,
openvrml.lib and the regex.lib files. I have configured cmake to build the
VRML plugin and everything OK. When I load the OSG solution in Visual
Studio, I am able to compile everything but the VRML plugin. This is the
output I get:

 

2>ClCompile:

2>  IndexedFaceSet.cpp

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(23): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(23): error C2228: left
of '.id' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(25): error C2440:
'initializing' : cannot convert from 'const openvrml::field_value' to
'std::auto_ptr<_Ty>'

2>          with

2>          [

2>              _Ty=openvrml::field_value

2>          ]

2>          No constructor could take the source type, or constructor
overload resolution was ambiguous

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(28): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(28): error C2228: left
of '.get' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(43): error C2440:
'initializing' : cannot convert from 'const openvrml::field_value' to
'std::auto_ptr<_Ty>'

2>          with

2>          [

2>              _Ty=openvrml::field_value

2>          ]

2>          No constructor could take the source type, or constructor
overload resolution was ambiguous

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(49): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(49): error C2228: left
of '.size' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(51): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(75): error C2440:
'initializing' : cannot convert from 'const openvrml::field_value' to
'std::auto_ptr<_Ty>'

2>          with

2>          [

2>              _Ty=openvrml::field_value

2>          ]

2>          No constructor could take the source type, or constructor
overload resolution was ambiguous

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(77): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(77): error C2228: left
of '.get' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(94): error C2440:
'initializing' : cannot convert from 'const openvrml::field_value' to
'std::auto_ptr<_Ty>'

2>          with

2>          [

2>              _Ty=openvrml::field_value

2>          ]

2>          No constructor could take the source type, or constructor
overload resolution was ambiguous

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(99): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(99): error C2228: left
of '.size' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(101): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(101): error C2228: left
of '.size' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(103): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(117): error C2440:
'initializing' : cannot convert from 'const openvrml::field_value' to
'std::auto_ptr<_Ty>'

2>          with

2>          [

2>              _Ty=openvrml::field_value

2>          ]

2>          No constructor could take the source type, or constructor
overload resolution was ambiguous

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(119): error C2064: term
does not evaluate to a function taking 0 arguments

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(119): error C2228: left
of '.get' must have class/struct/union

2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(136): error C2440:
'initializing' : cannot convert from 'const openvrml::field_value' to
'std::auto_ptr<_Ty>'

2>          with

2>          [

2>              _Ty=openvrml::field_value

2>          ]

2>          No constructor could take the source type, or constructor
overload resolution was ambiguous

 

There are more errors, but all of them are similar.

 

Any ideas about what’s wrong?

 

Thank you.

 

Héctor

 

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

Reply via email to