Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-11-02 Thread Tian Ma
Hi Skylark,Kim: Thx a lot I know quit clearly now. Thank you again for giving me so many useful messages. cheers, MT Skylark wrote: > Hello Tian, > > > > Was it those that you deleted? Yes, I just delet thems, because I found > > that these two "inline " functions had not been used in any

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-11-02 Thread Kim Bale
J-S, > Just for general reference, the problem was that on Windows compilers (and > previously DOS), "near" and "far" were once keywords used to refer to memory > inside the first 64k page, and outside, respectively (back when you needed > to address them differently, which is a long time ago). No

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-11-02 Thread Jean-Sébastien Guay
Hello Tian, Was it those that you deleted? Yes, I just delet thems, because I found that these two "inline " functions had not been used in anywhere. And now my project just goes right, the same with the "oceanExample". Sorry I didn't pick up on this thread... I'm pretty darn busy so I j

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-10-31 Thread Tian Ma
Thank you, Kim! THX a lot! Was it those that you deleted? Yes, I just delet thems, because I found that these two "inline " functions had not been used in anywhere. And now my project just goes right, the same with the "oceanExample". Sorry , I did not know the meaning of "the tru

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-10-30 Thread Kim Bale
Hi MT, >> I found that: the two lines of error code in "oceanscean.h" had not been >> used in anywhere, so I just delete them. If the problem relates to lines 213 and 223 in the OceanScene header then those member variables are used to set and store the depth of field parameters.. Was it those

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-10-30 Thread Tian Ma
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, > > > >

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-10-30 Thread Tian Ma
Kim Bale wrote: > Hi Tian, > > Try using the version in the trunk, there was a header conflict with > 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 establi

Re: [osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-10-30 Thread Kim Bale
Hi Tian, Try using the version in the trunk, there was a header conflict with 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

[osg-users] [osgOcean] Error used osgOcean1.0 in MFC vc2005sp1

2009-10-30 Thread 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) : e