[xml] libxml2 linker errors in Visual Studio 2010



Good morning,

Unfortunately I'm getting linker errors in Visual Studio 2010.

I downloaded and extracted your latest windows libxml to
C:\libraries\LibXML2 and extracted iconv-1.9.2.win32.zip to that same
directory.

I set additional include directories as C:\libraries\LibXML2\include,
added that and C:\libraries\LibXML2\lib to "Include directories" and
"Library directories" in the VC++ tab.

Unfortunately I still get the following:

1>------ Build started: Project: XML analysis, Configuration: Release
Win32 ------
1>Build started 10/13/2011 4:23:48 AM.
1>InitializeBuildStatus:
1>  Touching "Release\XML analysis.unsuccessfulbuild".
1>ClCompile:
1>  All outputs are up-to-date.
1>LINK : fatal error LNK1561: entry point must be defined
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.11
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

How can I get libxml to work?

Thanks for all suggestions,

Alec Taylor

PS: Giving me the gcc args may help me debug this, so feel free to
provide if you're not familiar with VisualStudio. CodeBlocks is
another IDE I don't mind using.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]