Re: [xml] libxml2 error compiling for Visual Studio 2008 (error U1077)

Did you run vcvarsall.bat or open a VS Comand Window first, this looks like an environment error.


2009/2/9 Paulo Flabiano Smorigo <pfsmorigo gmail com>
Hi everybody,

I started to use libxml2 to exchange informations between my
application made on linux and the other made on Visual Studio 2008.
The linux part was compiled successfully but I didn't manage to
compile libxml2 for Visual Studio 2008.

I got libxml2-sources-2.6.27.tar.gz, went to the win32 directory and
configure (based on informations in Readme.txt) with the following
parameter: cscript configure.js compiler=msvc prefix=c:\opt
include=c:\opt\include lib=c:\opt\lib debug=yes

But when I use nmake command (nmake /f Makefile.msvc) I got the following error:

C:\Documents and Settings\Default\Desktop\libxml2-2.6.27\win32>nmake
/f Makefile.msvc

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

      cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W1 /MD /I..
/I..\include /Ic:\opt\include /D "_REENTRANT" /D "HAVE_WIN32_THREADS"
/D "_DEBUG" /Od /Z7 /Foint.msvc\ /c ..\c14n.c ..\catalog.c
..\chvalid.c ..\debugXML.c ..\dict.c ..\DOCBparser.c ..\encoding.c
..\entities.c ..\error.c ..\globals.c ..\hash.c ..\HTMLparser.c
..\HTMLtree.c ..\legacy.c ..\list.c ..\nanoftp.c ..\nanohttp.c
..\parser.c ..\parserInternals.c ..\pattern.c ..\relaxng.c ..\SAX2.c
..\SAX.c ..\schematron.c ..\threads.c ..\tree.c ..\uri.c ..\valid.c
..\xinclude.c ..\xlink.c ..\xmlIO.c ..\xmlmemory.c ..\xmlreader.c
..\xmlregexp.c ..\xmlmodule.c ..\xmlsave.c ..\xmlschemas.c
..\xmlschemastypes.c ..\xmlunicode.c ..\xmlwriter.c
..\xpath.c..\xpointer.c ..\xmlstring.c

NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Visual
Studio 9.0\VC\bin\cl.exe"' : return code '0xc0000135'

What can I do to fix it? I'm missing something?

Thanks in advance,
Paulo Flabiano Smorigo
xml mailing list, project page
xml gnome org

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