Re: [xml] libxml2 linker errors in Visual Studio 2010

2011-10-12 Thread Bjoern Hoehrmann
* Alec Taylor wrote: 1LINK : fatal error LNK1561: entry point must be defined http://msdn.microsoft.com/en-us/library/ky737ya4(v=VS.100).aspx: The linker did not find an entry point. You may have intended to link as a DLL, in which case you should link with the /DLL option. You may have

Re: [xml] libxml2 linker errors in Visual Studio 2010

2011-10-12 Thread Alec Taylor
Thanks Bjoern, but I still can't figure out how to link it properly. I'm just trying to compile the example program: #include libxml/xmlreader.h void processNode(xmlTextReaderPtr reader) { /* handling of a node in the tree */ } int streamFile(char *filename) { xmlTextReaderPtr reader;

Re: [xml] libxml2 linker errors in Visual Studio 2010

2011-10-12 Thread Bjoern Hoehrmann
* Alec Taylor wrote: Thanks Bjoern, but I still can't figure out how to link it properly. http://en.wikipedia.org/wiki/Main_function#C_and_C.2B.2B -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de

Re: [xml] libxml2 linker errors in Visual Studio 2010

2011-10-12 Thread Alec Taylor
xD On Thu, Oct 13, 2011 at 12:19 PM, Bjoern Hoehrmann derhoe...@gmx.net wrote: * Alec Taylor wrote: Thanks Bjoern, but I still can't figure out how to link it properly. http://en.wikipedia.org/wiki/Main_function#C_and_C.2B.2B -- Björn Höhrmann · mailto:bjo...@hoehrmann.de ·