[Expat-discuss] Fwd: Include librairies
Thomas Chang
freshthomas at gmail.com
Sat Mar 10 02:51:56 CET 2007
As you are using cygwin in windows, I think you have two ways to make it
work:
1. don't use the cygwin. The expat.zip file is only a library, you just
unrar it and include proper headers in your own program to make it work.
2. the cygwin is a simulated environment of linux. So you should work as if
you are on a Linux platform.
download the *.tar.gz file; tar xvzf it; ./configure; make all;
That 's all to make the examples compile and link correctly.
If you want to "make" in your own way, you can find answers in "Makefile"
when you encounter problems.
On 3/8/07, Didier MOUNIEN <didmoun at gmail.com> wrote:
>
> there is no readme file in the expat.zip i downloaded, there is just an
> html
> explaining what's in each folder.
> There are only comments in the code, i think i understood how to use it, i
> saw some samples, but how i don't catch how to link the librairies, for
> exmaple the xmlparser.h, with the program i wan't to create.
> I can't event build the sample, when i launch the buid.bat i have this
> 'Run
> it using: ..\bin\elements <..\expat.html'.
> thx
>
>
> 2007/3/8, Thomas Chang <freshthomas at gmail.com>:
> >
> > please read the readme file carefully.
> > I'm sure you can find answers soon.
> >
> > On 3/8/07, Didier MOUNIEN <didmoun at gmail.com> wrote:
> > > i forgot to joined the make...
> > > did
> > >
> > > ---------- Forwarded message ----------
> > > From: Didier MOUNIEN <didyeah971 at yahoo.fr>
> > > Date: 7 mars 2007 17:58
> > > Subject: Include librairies
> > > To: expat-discuss at libexpat.org
> > >
> > > I've not been doing C or C++ for a while, and i kind of stuck.
> > > I downloaded the expat.zip that includes the libs and a makefile
> , and
> > for
> > > now, when i am triyng to launch the make, there are lot a errors, and
> > when i
> > > try the sample, it doesn't find the " xmlparser.h".
> > > Please help, i joined a log with the errors when compiling the
> makefile
> > .
> > > Thx, did
> > >
> > > I'm using
> > > -Windows Server 2003 R2
> > > -gcc compiler whith cygwin
> > > -eclipse CDT as SDK (but i don't like the compiler/builder so i use
> > cygwin)
> > >
> > > PS: i had to printscreen cygwin, i could redirect the stdout in a file
> > don't
> > > know why...
> > >
> >
> _______________________________________________
> Expat-discuss mailing list
> Expat-discuss at libexpat.org
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>
More information about the Expat-discuss
mailing list