|
Hi OSG Gents, I am new to OSG, although I am familiar with scene
graphs having worked with Performer for the last 15 or so years. I recently downloaded OSG 1.1 and I have been
compiling it with VS 2005 (VS ver 8.0 I think) and running the examples and so
far all of them have worked very nicely. However I am new to windows programming
(previously a Unix/Irix/Linux programmer) and still finding my way around the
basics. After great success with building the examples I have
tried to copy one of them from my build machine to another Windows XP machine.
This is what I have done:
However, if I run the same application, in the same
directory from the same DOS prompt on my development machine in runs fine. Are there any other DLL’s that I should include
as part of the distribution that I copy to the target machine? Is there anything else in VS that I should be doing
(i.e. setting specific flags etc)? Mainly as a learning exercise, I wrote the standard ‘Hello
World’ program and tried to move that to the target machine as well.
Initially it would not run as well with the same error message. I then modified
the following flag in VS2005 (project -> properties -> C/C++ -> Code
Generation -> Runtime Library = Multi-threaded (/MT)) from its original
value of Multi-threaded DLL (/MD) and it worked fine on the target machine.
Flush with this success, I tried the same procedure on osgsimple and got the
following link error: osgsimple.obj : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: class
std::basic_ostream<char,struct std::char_traits<char> > &
__thiscall std::basic_ostream<char,struct std::char_traits<char>
>::flush(void)"
([EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@@std@@[EMAIL PROTECTED])
referenced in function "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::endl(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@[EMAIL PROTECTED]@@Z) Any ideas on how to resolve this error message? Regards, Andy. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star.The service is powered by MessageLabs. ________________________________________________________________________ |
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
