[maemo-developers] How to read a .xml file?
From: Daniil Ivanov daniil.ivanov at gmail.comDate: Thu Apr 17 20:17:11 EEST 2008
- Previous message: How to read a .xml file?
- Next message: How to read a .xml file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Ryan is correct on this. But you didn't say anything how you compile your application. In case you are using autotools, you need to add to your configure.ac something like this PKG_CHECK_MODULES(XML2, libxml-2.0 >= 2.6.31) AC_SUBST(XML2_CFLAGS) AC_SUBST(XML2_LIBS) If you just using command line you can compile like this: gcc test.c -o test -Wall -g `pkg-config gtk+-2.0 --cflags --libs` `pkg-config libxml-2.0 --cflags --libs` Thanks, Daniil. On Thu, Apr 17, 2008 at 9:55 AM, Chandra <crazymoonboy at yahoo.com> wrote: > > Hi, > > Thank you for your response. I am able to execute and include <gtk/gtk.h> > file, but when I tried to include <libxml/xmlreader.h>, it is giving > compilation error as below: > > main.c:8:30: libxml/xmlreader.h: No such file or directory > > libxml2 library is installed in my machine. I executed "find" command to > search for xmlreader.h file. It displayed the below results: > > /usr/include/libxml2/libxml/xmlreader.h > /scratchbox/users/mouli/targets/CHINOOK_ARMEL/usr/include/libxml2/libxml/xmlreader.h > /scratchbox/users/mouli/targets/CHINOOK_X86/usr/include/libxml2/libxml/xmlreader.h > > How can I do this? Am I have to change any path settings? > > > Thanks in advance. > > Regards, > Chandra > > > Daniil Ivanov <daniil.ivanov at gmail.com> wrote: > Hi, > > you can find examples on the page of libxml project: > http://xmlsoft.org/examples/index.html > > Thanks, Daniil. > > On Wed, Apr 16, 2008 at 3:54 PM, Chandra wrote: > > Hi Friends, > > > > How to read a xml file using Maemo? Can anybody give me a reference of a > > complete example program to do this? > > > > Thanks in advance. > > > > Regards, > > Chandra > > > > > > ________________________________ > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > > now. > > _______________________________________________ > > maemo-developers mailing list > > maemo-developers at maemo.org > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > > > > > > > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now.
- Previous message: How to read a .xml file?
- Next message: How to read a .xml file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]