Philip Taylor wrote:
> Hi OSG Win32 gurus,
> 
> I am trying to put together my first OSG app, based on osgsimulation, using
> OSG1.1 source files, VS 6 and STLport 5, and have come unstuck.
> 
> Is my assumption is that the demo osgsimulation.exe has been rebuilt from
> the distributed 1.1 source correct?

Yes, for the OSG v1.1 win32 binary installer, I built all the .dlls and demo
.exes using VS7.1 2003.

The included 3rdParty libs were also built with VS7.1, and I would expect
trouble linking those w/ VC6, but I understand you're not at that point yet.

Do you have exactly the right version of STLport?  I seem to recall a specific
version was required, rather than the latest.

-- mew



> Building my app, I have reduced the unresolved linker errors by including
> various OSG 1.1 Win32 osg*.lib files, leaving a set that I can't seem to
> resolve, relating to:
> 
>       osgTerrain::DataSet
>       osg::ArgumentParser
>       osg::ApplicationUsage
>       osg::ArgumentParser
>       osg::AnimationPath
>       osgGA::NodeTrackerManipulator
> 
> As a "for instance", why do I have an unresolved external symbol
> "osgTerrain::DataSet" when the definition is "OSGTERRAIN_EXPORT DataSet"?
> It just seems odd to have got this far without hitting a VS6 <--> VS7 lib
> compatibility issue. Perhaps I just been lucky so far.
> 
> osgsimulation.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall
> osgTerrain::DataSet::setDestinationName(class
> stlp_std::basic_string<char,class stlp_std::char_traits<char>,class
> stlp_std::allocator<char> > const &)"
> ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]
> [EMAIL PROTECTED]@stlp_std@@[EMAIL PROTECTED]@2@@stlp_std@@@Z)
> 
> 
> 
> I'm not unduly worried about VS 7 <--> VS 6 DLL execution issues, because I
> can rebuild OSG when I have a syntactically correct first build (having
> learnt a bit more about OSG in the process).

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to