Hi,
I am working on building a plugin for a an application that uses osg 0.9.6-2. I
am having a hard time finding the release version or the source of it.
I tried using 28.0 but get these weird linker errors even after adding the libs
to my linker in visual studio.
For example, here is a linker error I am getting:
1>VITASCOPEAddOn.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: class osg::Vec3f const & __thiscall
dcvObject::GetCurPosn(void)" (__imp_?getcurp...@dcvobject@@qaeabvve...@osg@@XZ)
1>..\..\..\Apps\VITASCOPE\PROGRAM\PROGRAM\VITASCOPEAddOn.dll : fatal error
LNK1120: 1 unresolved externals
The function in question causing this error is:
inline void SetCurPosn(osg::Vec3 vNewPosn)
{
m_vCurPosition.set(vNewPosn.x(), vNewPosn.y(), vNewPosn.z());
m_pObjRootTransform->setMatrix(osg::Matrix::translate(vNewPosn));
}
and
inline const osg::Vec3& GetCurPosn()
{
return m_vCurPosition;
}
I'm kind of stuck as I feel linking the newer libs is causing this.
Any help would be great.
Thanks
Sanat
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28605#28605
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org