Hello Msrsas? (please sign posts using a real name, it makes exchanges
much more friendly)
1. If I use "readNodeFile" and try to print out using std, it gives the error as error
LNK2019: unresolved external symbol "__declspec(dllimport) public: class
std::basic_ostream<char,struct ......
*I have added necessary header files.
You're not being very precise (including actual code would have helped),
but this sounds like you're trying to do something like this:
osg::Node* node = osgDB::readNodeFile("somefile.osg");
std::cout << *node << std::endl;
Now, unless I'm mistaken, this cannot work because nowhere in OSG is an
output operator (operator<<) defined which takes an osg::Node. That's
why you'd be getting an error about an unresolved external symbol,
because the linker is trying to find this output operator but it isn't
defined anywhere. You could make one if you want.
2. QSG Picking example gives the output but if i click on the cow object it gives error
as "Unhandled exception at 0x7c901230..." and ask for user breakpoint in
dbgheap.c file.
I have tried intersection using line intersector in other program but the
same error occurs.
Seems to me like you're trying to dereference a null pointer? Again,
relevant code would help and perhaps also a stack trace... "Unhandled
exception" is just a generic error message meaning "something went
wrong", without more info no one could do more than guess at what
exactly might be going wrong.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org