Re: [xml] Error in Makefile.msvc - compiling libxml2 with VS 2008

On 2/1/11 11:22 AM, Jeffrey Schmidt wrote:



    I tried to follow the instructions in libxml2-2.7.8\win32 to build libxml2 for Win32, using Visual Studio 2008.


I configured with the command


cscript configure.js compiler=msvc cruntime=MDd include=..\..\iconv-1.9.2.win32\include lib=..\..\iconv-1.9.2.win32\lib


I then run


Nmake /f Makefile.msvc


And get an error:


Makefile.msvc(465) : fatal error U1020: end-of-file found before next directive



Anyone know how I might resolve this error? I’m thinking that, perhaps, this is either a bug in the configure.js script creating an invalid makefile, or perhaps this is just a case where the generated makefile is for an older version of Visual Studio, and is not compatible with VS 2008?


Add this patch to fix the mvc makefile:


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