Thank you!
THX a lot!
I have solve the porblems, by note off two lines of code in error.
I found that: the two lines of error code in "oceanscean.h" had not been
used in anywhere, so I just delete them.
Cheers,
mt
tianxiao888 wrote:
>
> Kim Bale wrote:
> > 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 <>:
> >
> > > 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?
> > >
> > >
> > >
> > >
> > > ------------------
> > > Read this topic online here:
> > > http://forum.openscenegraph.org/viewtopic.php?p=18916#18916
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > >
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> > ------------------
> > Post generated by Mail2Forum
>
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18928#18928
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org