[osg-users] OpenSceneGraph-2.1.13 dev version released

Robert Osfield robert.osfield at gmail.com
Mon Oct 1 07:02:34 PDT 2007


HI Martin,

Could you send me the changed file as doing stuff from email is unreliable.

Cheers,
Robert.

On 10/1/07, Martin Spott <Martin.Spott at mgras.net> wrote:
> "Robert Osfield" wrote:
>
> > Thanks for the report.  I've just double checked and pthread_yield()
> > is just a void so I've changed the code to reflect this and should now
> > compile just fine.  This fix is now checked into OpenThreads SVN.
>
> Much better now. Well, here's the next one - looks a bit strange to me.
> Still FreeBSD-6.2:
>
> [ 79%] Built target osgdb_tga
> make -f src/osgPlugins/hdr/CMakeFiles/osgdb_hdr.dir/build.make src/osgPlugins/hdr/CMakeFiles/osgdb_hdr.dir/depend
> make -f src/osgPlugins/hdr/CMakeFiles/osgdb_hdr.dir/build.make src/osgPlugins/hdr/CMakeFiles/osgdb_hdr.dir/build
> /usr/local/bin/cmake -E cmake_progress_report /usr/local/src/OpenSceneGraph/CMakeFiles 80
> [ 80%] Building CXX object src/osgPlugins/hdr/CMakeFiles/osgdb_hdr.dir/hdrwriter.o
> /usr/bin/g++  -O3 -march=pentiumpro  -Dosgdb_hdr_EXPORTS   -fPIC -I/usr/local/src/OpenSceneGraph/include -I/usr/local/include -o src/osgPlugins/hdr/CMakeFiles/osgdb_hdr.dir/hdrwriter.o -c /usr/local/src/OpenSceneGraph/src/osgPlugins/hdr/hdrwriter.cpp
> In file included from /usr/local/src/OpenSceneGraph/src/osgPlugins/hdr/hdrwriter.cpp:34:
> /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
> *** Error code 1
>
>
> quickstep: 14:55:22 ~> cat /usr/include/malloc.h
> /* $FreeBSD: src/include/malloc.h,v 1.5 2001/11/07 23:14:31 obrien Exp $ */
> #if __STDC__
> #error "<malloc.h> has been replaced by <stdlib.h>"
> #else
> #include <stdlib.h>
> #endif
>
>
> Removing the respective line 34 from hdrwriter.cpp, without
> replacement, at least makes the whole thing build on this platform,
>
>         Martin.
> --
>  Unix _IS_ user friendly - it's just selective about who its friends are !
> --------------------------------------------------------------------------
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list