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



Rob,

 

   Thanks for the quick reply. After applying the patch, do I need to re-run the configure.js file, or just run nmake?

 

Jeff Schmidt

Seapine Software, Inc.

Phone: 513.701.1551

 

From: Rob Richards [mailto:rrichards cdatazone org]
Sent: Tuesday, February 01, 2011 11:38 AM
To: Jeffrey Schmidt
Cc: xml gnome org
Subject: Re: [xml] Error in Makefile.msvc - compiling libxml2 with VS 2008

 

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

Hello,

 

    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

Stop.

 

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:
http://git.gnome.org/browse/libxml2/commit/?id=364e3d2b054656f2cf97594365d15b2ddb72a9ed

Rob



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