On Fri, Dec 24, 2010 at 11:52 AM, Heiko Thiel <
[email protected]> wrote:

> Hi,
>
> since some SVN versions i'm not anymore able to compile my project as
> release build. Debug build works without problems.
>
> I get following error by VS 2010:
>
>
> > Fehler        2       error LNK2001: Nicht aufgelöstes externes Symbol
> ""public: virtual void __thiscall osg::BufferData::releaseGLObjects(class
> osg::State *)const " (?releaseglobje...@bufferdata@osg@@ubexpavst...@2@@Z)".
> C:\Users\SunBlack\Desktop\GP\build\main.obj     Towerdefense
> > Fehler        1       error LNK2001: Nicht aufgelöstes externes Symbol
> ""public: virtual void __thiscall
> osg::BufferData::resizeGLObjectBuffers(unsigned int)"
> (?resizeglobjectbuff...@bufferdata@osg@@ua...@z)".
> C:\Users\SunBlack\Desktop\GP\build\main.obj     Towerdefense
> >
>
>
> Interesting is: Notepad++ found "releaseglobje...@bufferdata" in osgd.lib
> and osgrd.lib, but not in osg.lib and osgr.lib. Any idea why?
>
>
> Thank you!
>
> Cheers,
> Heiko
>

Hi Heiko,

These two methods were added two weeks ago to BufferData in svn/trunk. The
only reason I can think of, is that you didn't build release osg libs
recently, or you are linking to an old osg.lib. Check your linker paths.
Maybe a clean build can help you.

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

Reply via email to