Hi Jesse,
On Mon, 2005-08-22 at 02:48 -0500, Nomad Rock wrote:
> I just did a fresh install of Fedora Core 4 and after installing
> drivers and using yum to update my packages, I went to make OpenSG
> from source. I am getting an error with hash_map. The exact text is as
> follows. I hadn't looked for warnings on previous compiles, but since
> I got an error with this build I looked through the output and found
> one warning as well which is also listed.
>
> /home/me/OpenSG-1.4.0-
> src/OpenSG/Source/System/FieldContainer/Impl/OSGFieldContainerFactoryImpl.h:70:
> warning: 'struct osg::FieldContainerMapper' has virtual functions but
> non-virtual destructor
> /home/me/OpenSG-1.4.0-src/OpenSG/Source/System/Window/OSGWindow.h:317:
> error: ISO C++ forbids declaration of 'hash_map' with no type
> /home/me/OpenSG-1.4.0-src/OpenSG/Source/System/Window/OSGWindow.h:317:
> error: typedef name may not be a nested-name-specifier
> /home/me/OpenSG-1.4.0-src/OpenSG/Source/System/Window/OSGWindow.h:317:
> error: expected ';' before '<' token
> /home/me/OpenSG-1.4.0-src/OpenSG/Source/System/Window/OSGWindow.h:380:
> error: 'ConstHash' does not name a type
>
> I havn't gone into the source enough to know what decendents
> FieldContainerMapper has and there is no worry if there is never a
> need for a destructor. (At first glance it seems that this is the
> case.)
No, that's not a problem.
> The issue with hash_map worries me though I do have ext/hash_map
> installed on my system and as far as I can tell by how far the
> compiler is getting, the header must have gotten included properly. My
> best bet is the compiler difference with what the source was written
> for (gcc 3.2?) and the current version. I am also willing to bet that
> the source has already been patched in the current branch of the
> OpenSG source. Does anyone know of a work-around for this?
Yup. Use a more current version of the source. :) You can get the latest
version from http://www.opensg.org/dailybuild_logs/, in a variety of
formats of your choice. This will become the official 1.6 very soon, so
you should be fine using it for a while.
Yours
Dirk
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users