---------- Forwarded message ----------
From: Yeshwanth C <[EMAIL PROTECTED]>
Date: Dec 5, 2006 8:06 PM
Subject: Re: [xmlsec] Re: Error Signing the xml document & iconv.dll build
problems in windows in visual studio 2005
To: [EMAIL PROTECTED]

Hi,

I am trying to build libiconv to get iconv.dll on Windows Studio 2005 using
the following commands.  However I get errors like the following.  Can
somebody help me?



For shared library (DLL):



        nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD

     or

        nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD check

                                                  [This runs the
testsuite.]



     For static library:



        nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD

     or

        nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD check



.  .  . . . .

.  .  .  .  .

DS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -c progreloc.c

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86

Copyright (C) Microsoft Corporation.  All rights reserved.



progreloc.c

progreloc.c(307) : error C2065: 'EXEEXT' : undeclared identifier

progreloc.c(317) : error C2099: initializer is not a constant

NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio
8\VC\BIN\c

l.EXE"' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio
8\VC\BIN\n

make.exe"' : return code '0x2'

Stop.

 Thanks in advance,
 yesh


Well, Microsoft has different C runtimes for different versions of Visual
Studio. You might need to re-compile all the libraries to have a match
between all the component libraries and the application itself.

Aleksey

Yeshwanth C wrote:

Hi Aleksey,

I compiled the sample in Visual Studio 6 environment with the batch

file given. The sample works. But when I copy the same code in

Visual Studio 2005 and compile it and run, I get the error. Will the

application not run in Visual Studio 2005 even if the linked libraries

are using MSVCRT.dll. What settings should I set to get the

application running satisfactorily in visual Studio 2005.



Regards

Yeshwanth


_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to