marco.gugel wrote:

> Hi Fred,
> I include in attachments a file (buildlog.zip) containing two log files
> (BuildLog_FlightGear.htm and BuildLog_simgear.htm) with the build errors.

I don't have this version of MSVC, so as you are in an adventurous
mood, you should try to experiment by yourself.

1. First error in zfstream.hxx :

d:\...\simgear\misc\zfstream.hxx(144) : error C2653: 'char_traits<char>' :
is not a class or namespace name
d:\...\simgear\misc\zfstream.hxx(144) : error C3861: 'eof': identifier not
found, even with argument-dependent lookup

Can you tell us is the SG_HAVE_STD_INCLUDES is defined or not.
Try temporarily inserting at line 36 of zfstream.hxx :

#error "SG_HAVE_STD_INCLUDES defined"

Tell us if you have the following error or not :

d:\...\simgear\misc\zfstream.hxx(36) : fatal error C1189: #error :
"SG_HAVE_STD_INCLUDES defined"

If not, what is the content of your compiler.h file









2. Second error, in props.cxx :

d:\...\simgear\props\props.cxx(35) : error C2873: 'std::vector<_Ty>' :
symbol cannot be used in a using-declaration
        with
        [
            _Ty=SGPropertyNode_ptr
        ]

The patch below should clear these one :

Index: props.cxx
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/props/props.cxx,v
retrieving revision 1.3
diff -u -r1.3 props.cxx
--- a/props.cxx 26 Dec 2003 13:55:09 -0000      1.3
+++ b/props.cxx 1 Mar 2004 05:33:14 -0000
@@ -30,8 +30,8 @@
 SG_USING_STD(find);
 SG_USING_STD(vector);

-#ifdef _MSC_VER
-// MSVC is buggy, and needs something strange here
+#if ( _MSC_VER == 1200 )
+// MSVC 6 is buggy, and needs something strange here
 SG_USING_STD(vector<SGPropertyNode_ptr>);
 SG_USING_STD(vector<SGPropertyChangeListener *>);
 SG_USING_STD(vector<SGPropertyNode *>);


3. Third error in SkyBVTree.hpp

Try this patch :

SkyBVTree.hpp
Index: SkyBVTree.hpp
===================================================================
RCS file:
/var/cvs/SimGear-0.3/SimGear/simgear/scene/sky/clouds3d/SkyBVTree.hpp,v
retrieving revision 1.3
diff -u -r1.3 SkyBVTree.hpp
--- a/SkyBVTree.hpp     26 Dec 2003 13:55:09 -0000      1.3
+++ b/SkyBVTree.hpp     1 Mar 2004 22:11:02 -0000
@@ -214,7 +214,7 @@
 {
 public:
   typedef SkyBaseBVTree<Object, BoundingVolume> BaseTree;
-  typedef typename SkyBaseBVTree<Object, BoundingVolume>::BV BV;
+  typedef typename BaseTree::BV BV;
   typedef typename BaseTree::NodeObject NodeObject;
   typedef typename BaseTree::Node Node;

If it doesn't work, try this simpler :


SkyBVTree.hpp
Index: SkyBVTree.hpp
===================================================================
RCS file:
/var/cvs/SimGear-0.3/SimGear/simgear/scene/sky/clouds3d/SkyBVTree.hpp,v
retrieving revision 1.3
diff -u -r1.3 SkyBVTree.hpp
--- a/SkyBVTree.hpp     26 Dec 2003 13:55:09 -0000      1.3
+++ b/SkyBVTree.hpp     1 Mar 2004 22:11:02 -0000
@@ -214,7 +214,7 @@
 {
 public:
   typedef SkyBaseBVTree<Object, BoundingVolume> BaseTree;
-  typedef typename SkyBaseBVTree<Object, BoundingVolume>::BV BV;
+  typedef typename BoundingVolume BV;
   typedef typename BaseTree::NodeObject NodeObject;
   typedef typename BaseTree::Node Node;


When these 3 errors are cleared, tell us if it is sufficient or if there
are some that still exist.

-Fred



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to