[osg-users] createVertexArrayState gives unresolved external symbol

Andreas Ekstrand andreas.ekstrand at remograph.com
Fri Dec 1 05:53:12 PST 2017


Hi Robert,

It was in the linking of my application with OSG. But I found the reason 
just now, I needed to copy the include folder to the build folder for 
some reason, and didn't update it between 3.5.8 and 3.5.9. So I guess 
the method had a slight change in its signature. It's fine now, sorry 
for crying wolf. :-)

/Andreas


On 2017-12-01 14:40, Robert Osfield wrote:
> 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
>>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171201/6ef726ef/attachment.html>


More information about the osg-users mailing list