Philip Lowman wrote:
You're getting a warning because DoomLikeManipulator is missing declspec declarations but publicly inheriting from a class that has them. See the definition of OSGGA_EXPORT in include/osgGA/Export and do something similar for your code, perhaps KILLINGSPREE_EXPORT. Oh wait, that's Unreal Tournament. :)
Wouldn't this only be necessary if he were making a DLL? If he's just making an executable, then his own custom manipulator shouldn't need declespec.

In fact, I'll guess that he has used the osgGA's export declaration in his own manipulator class, which would certainly be a bug in his code and easy to fix. Without seeing the code, though, it's hard to tell.

The fact that he can successfully build osgviewer shows that he has his VS project settings configured correctly, so the problem must be in his code comewhere.
  -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to