[osg-users] createVertexArrayState gives unresolved external symbol

Robert Osfield robert.osfield at gmail.com
Fri Dec 1 05:40:25 PST 2017


Hi Andreas,

Is this linking of the OSG itself. or your application with the OSG?

Robert.

On 1 December 2017 at 13:15, Andreas Ekstrand
<andreas.ekstrand at remograph.com> wrote:
> Hi,
>
> When linking with 3.5.9 in Visual Studio 2013, I get a an unresolved
> external symbol for Drawable::createVertexArrayState:
>
> error LNK2001: unresolved external symbol "protected: virtual class
> osg::VertexArrayState * __cdecl osg::Geometry::createVertexArrayState(class
> osg::RenderInfo &)const "
> (?createVertexArrayState at Geometry@osg@@MEBAPEAVVertexArrayState at 2@AEAVRenderInfo at 2@@Z)
>
> Can't see why though, it's inline but defined properly in base class
> Drawable header. Does anyone have the same problem or a suggested solution?
>
> /Andreas
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list