"Jon Berndt" <[EMAIL PROTECTED]> writes:

> I'd like to use EasyXML in JSBSim. I would find it desirable,
> however, to include ONLY the files required to provide EasyXML to
> JSBSim, and would prefer to keep those files in JSBSim CVS for our
> purposes. JSBSim would be configured to work (compile) correctly
> depending on if it is being compiled under FlightGear or JSBSim
> standalone - as it is done now with the properties code. I don't
> expect this ought to be a problem, because I suspect (correctly?)
> that the XML features of SimGear are mature. Correct?
>
> Can someone tell me what is the _bare_ set of SimGear files needed
> to allow compilation of EasyXML?
>

you need to have the expat library installed (+ the header files) but
then you can use just easyxml.cxx from simgear with the following
patch applied:

--- easyxml.cxx 29 Jul 2004 08:30:10 -0000      1.4
+++ easyxml.cxx 1 Sep 2004 18:49:57 -0000
@@ -5,7 +5,7 @@
 #include <string.h>            // strcmp()
 
 #include "easyxml.hxx"
-#include "xmlparse.h"
+#include <expat.h>
 
 #include STL_FSTREAM
 #include STL_IOSTREAM

i've been running simgear like this forever (the rest of the files in
simgear/xml are a rather old version of the expat library).

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

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

Reply via email to