Hi Tian,

Try using the version in the trunk, there was a header conflict with
<windows.h> in 1.0 that has since been resolved.

Cheers.

Kim.



2009/10/30 Tian Ma <tianxiao...@foxmail.com>:
> 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to