Hi,

I was looking to use the OSG in what is basically a MFC class for a final
project. I downloaded the example from the website but it does not compile
properly. The largest issue is the message that is added to make sure the
other windows keeps rendering. I get an error that says:

error C2665:  'AfxMessageBox' : none of the 2 overloads could convert all
the argument types

the other error is:

error C2664: 'cOSG::InitOSG' : cannot convert parameter 1 from 'const
wchar_t *' to 'std::string'

I saw a posting a year ago about the second error but no solution was given.
I could not find anything mentioning the AfxMessageBox error.

I am using visual studios 8 and running OSG 2.2. If anyone could help me
with the problem I would be extremely grateful.

Thanks in advance,

Chris
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to