View topic - using libxml2

using libxml2

anything that doesn't fit to other groups.

using libxml2

Postby xuyong » Thu Jul 22, 2010 8:41 am

I try to use libxml2 to parse the xml doc in my programme,below is my step:
1)unzip the libxml2 to one dir in my windows system
2)create one new QNC C project in IDE
3)select libxml2 as the static lib in liker option
4)include the header file in my programme
5)copy some sample code to my programme

but when I compile there are some error as below:
'iconv_t' does not name a type,I know iconv.h is the header file in linux,not in QNX,what can i do?

Is the step right? the doc tells me I should use "./configration" to compile the lib,but how can I do in IDE?
xuyong
Senior Member
 
Posts: 431
Joined: Sun Mar 02, 2003 7:52 am

Postby seanb » Fri Jul 23, 2010 1:56 pm

libxml2 ships with 6.5.0. Alternatively use pkgsrc which will build libiconv as a dependency.

-seanb
seanb
QNX Master
 
Posts: 133
Joined: Fri Jul 28, 2006 5:36 pm


Return to General Programming

Who is online

Users browsing this forum: No registered users and 4 guests