Hi, Sorry I was not here this week-end. I indeed tried to compile osgearth again, and apparently there is no problem. Maybe there wasn't at all as I'm messing up between all the osg applications I built. Actually, I just built VTP (the svn trunk version) and I can confirm this kind of problem with gcc 4.3.3. In fact, the #include <cstdlib> is right in the concerned file (TerrainSDK/vtdata/FilePath.cpp), but enclosed in a #ifdef VTUNIX directive which seems not managed by the CMakeLists (or maybe I'm not using cmake in the right way). I had to add the following line in the master CMakeLists.txt to overcome this problem : add_definitions(-DVTUNIX)
Don't know if it's a good way though. Anyway, it is so difficult to make VTP compile on my machine that I think I will just give up. Thanks again for your help. On Fri, May 8, 2009 at 4:36 PM, Jason Beverage <jasonbever...@gmail.com>wrote: > Thanks Robert, that's good to hear! > > Jason > > > On Fri, May 8, 2009 at 9:33 AM, Robert Osfield > <robert.osfi...@gmail.com>wrote: > >> Hi Jason and Colin, >> >> I've just checked out the latest osgEarth and it compiles fine for my >> under Kubuntu 9.04 (Jaunty) with g++ 4.3.3. >> >> Robert. >> >> On Fri, May 8, 2009 at 2:21 PM, Jason Beverage <jasonbever...@gmail.com> >> wrote: >> > Hi Colin, >> > >> > Thanks for pointing that out, it looks like Jaunty does indeed default >> to >> > 4.3. I'll play around with it this weekend and see if I can get >> osgEarth >> > compiling with 4.3. >> > >> > Thanks! >> > >> > Jason >> > >> > On Fri, May 8, 2009 at 4:19 AM, Colin Steinberg >> > <colin.steinb...@googlemail.com> wrote: >> >> >> >> Hi all, >> >> >> >> The gcc-team weeded out some includes in their headers for the 4.3 >> >> release. >> >> If a program uses a cstdlib function, but does not include the header >> file >> >> because it was already pulled in by another c++ header, it will break >> now. >> >> I don't know which gcc version Jaunty defaults to, but if it is a 4.3 >> >> release, this would be the problem. >> >> >> >> Cheers, >> >> Colin >> >> >> >> On Thu, May 7, 2009 at 10:40 PM, Jason Beverage < >> jasonbever...@gmail.com> >> >> wrote: >> >> > Hi Simon, >> >> > >> >> > I try to build osgEarth pretty regularly on Ubuntu 8.10 and haven't >> seen >> >> > this error before. Perhaps its something to do with Jaunty, I've not >> >> > tried >> >> > it yet. >> >> > >> >> > I'll try to give it a go when I get a chance, I've been wanting to >> >> > update >> >> > anyway:) >> >> > >> >> > Jason >> >> > >> >> > On Thu, May 7, 2009 at 4:23 AM, Simon Loic <simon1l...@gmail.com> >> wrote: >> >> >> >> >> >> Hi Jason, >> >> >> thanks for helping >> >> >> I'm on a linux : kubuntu Jaunty. >> >> >> To be totally honest in the first place I really doubted that the >> code >> >> >> I'm >> >> >> talking about could compile on another linux. However, as this code >> >> >> (eg >> >> >> VTP) must have been extensively tested I turned out to think that I >> was >> >> >> missing something. >> >> >> >> >> >> Thanks again. >> >> >> >> >> >> On Wed, May 6, 2009 at 11:24 PM, Jason Beverage >> >> >> <jasonbever...@gmail.com> >> >> >> wrote: >> >> >>> >> >> >>> Hi Simon, >> >> >>> >> >> >>> What platform are you compiling on where you are seeing these >> issues? >> >> >>> >> >> >>> Jason >> >> >>> >> >> >>> On Wed, May 6, 2009 at 3:47 PM, Simon Loic <simon1l...@gmail.com> >> >> >>> wrote: >> >> >>>> >> >> >>>> Hello everyone, >> >> >>>> It may certainly be a stupid question and not the right place to >> ask. >> >> >>>> Still I've been compiling a couple of osg based application : VTP, >> >> >>>> osgEphemeris, osgearth. The fact is that for most of them I had to >> >> >>>> add a >> >> >>>> couple of #include directive to make them compile. It's always >> some >> >> >>>> c++ >> >> >>>> wrapping of c headers like <cstring> or <cstdlib>. >> >> >>>> I don't understand if it is possible that those application >> compile >> >> >>>> without problem on some computer. Which would mean that I have to >> >> >>>> tune some >> >> >>>> environment variables or whatever. >> >> >>>> Is this the case or should I report those missing directive to the >> >> >>>> concerned developper? >> >> >>>> >> >> >>>> Thanks for any answer on this. >> >> >>>> >> >> >>>> >> >> >>>> -- >> >> >>>> Loïc Simon >> >> >>>> >> >> >>>> _______________________________________________ >> >> >>>> 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 >> >> >>> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Loïc Simon >> >> >> >> >> >> _______________________________________________ >> >> >> 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 >> >> > >> >> > >> >> _______________________________________________ >> >> 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 >> > >> > >> _______________________________________________ >> 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 > > -- Loïc Simon
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org