kbale / osgocean

An ocean rendering nodekit for OpenSceneGraph
GNU Lesser General Public License v3.0
109 stars 56 forks source link

Error used osgOcean1.0 in MFC vc2005sp1 #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
   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.

Original issue reported on code.google.com by tianxiao...@foxmail.com on 30 Oct 2009 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by kcb...@googlemail.com on 2 Nov 2009 at 3:15