Hi, I'am a new osgOcean user in China, My name is Tian Ma. First,I established an empty osg+MFC project. NO ERROR!
Then, I add oceanScene example files to the project, and delete the "main()" function in the "application.cpp" file. Then errors emerge: c:\...\osgocean\oceanScene(213) : error C2059 : syntax error : ";" c:\...\osgocean\oceanScene(223) : error C2059 : syntax error : ";" In order to find the problems, I delete all the oceanScene example files, and just add code "#include <oceanScene>" head file to "stdafx.h". But the same errors. Have you guys used osgOcean in MFC project? What may caused the problem? Thank you! Cheers, mt ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18916#18916 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

