cannot compile .c files under Expat 2.0.1\Source\examples folder :(
"yuki latt" <[email protected]> Thu, 17 Jul 2008 18:54:06 +0900
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Dear all, I am newbie in Expat XML parser and C programming. I have problems to compile examples of Expat. :( Expat : expat-win32bin-2.0.1 OS : Windows XP Compiler : Borland C++ Compiler 5.5 I followed the instructions as mentioned in Expat 2.0.1\Source\bcb5\readme.txt. When I tried to compile Source\examples\elements.c and outline.c, I found following errors. C:\Program Files\Expat 2.0.1\Source\examples>bcc32 outline.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland outline.c: Error E2209 outline.c 25: Unable to open include file 'stdio.h' Error E2209 outline.c 26: Unable to open include file 'expat.h' Error E2449 outline.c 49: Size of 'XMLCALL' is unknown or zero Error E2141 outline.c 49: Declaration syntax error *** 4 errors in Compile *** ------------------------------------------------------------------------------------------------------------------------------------ The followings are the contents of bcc32.cfg and ilink32.cfg under C:\Borland\BCC55 bcc32.cfg -I"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib" -I"c:\Program Files\Expat 2.0.1\Source\lib" -L"c:\Program Files\Expat 2.0.1\Source\lib" ilink32.cfg -L"c:\Borland\Bcc55\lib" -L"c:\Program Files\Expat 2.0.1\Source\lib" Any help would be much appreciated. regards, yuki