Hi Philip,

If you build all the source code yourself, and link to dependencies
that have all been built with VS 6 then everything should work.  Just
check all the compile options of your app vs osgsimulation.  Also try
picking a simpler example that has less dependencies.

However, VS 6 is very much deprecated, I would recommend all users dump it ASAP.

Robert.

On 7/26/06, Philip Taylor <[EMAIL PROTECTED]> 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?

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/

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

Reply via email to