On Wed, Dec 1, 2010 at 8:29 AM, Aleksey Sanin <[email protected]> wrote:

> First, you probably want to use mailing list. This way you might get
> a better response.
>

Ok, understood.

>
> Second, how did you compile the library and example? Did you use
> provided makefiles?
>
>
Yes, I used the Makefiles insize the gzip archive and I followed the
instructions in README, examples\README and win32\README.txt. I used
'cscript win32\configure.js' to setup my environment, as directed. I have
all the needed libs in my lib directory, all needed .h files in an include
directory, and the INCLUDE and LIB env vars setup properly.

I'm building using Visual Studio 2005 tools, from the command-line. The
zlib.lib (and zdll.lib) libraries were missing from the linker command-line
in both cases, for example here's how I modified the win32\Makefile.msvc
file. (I would make this change more robust, i.e. account for zdll.lib, in
an actual patch for you).

C:\projects\xmlsec\xmlsec1-1.2.16\win32>diff -c Makefile.msvc
..\..\..\xmlsec-1\xmlsec1-1.2.16\win32\Makefile.msvc
*** Makefile.msvc       2010-12-01 08:46:29.171875000 -0800
--- ..\..\..\xmlsec-1\xmlsec1-1.2.16\win32\Makefile.msvc        2010-05-25
15:52
:46.000000000 -0700
***************
*** 359,365 ****
  LD                    = link.exe
  LDFLAGS               = /nologo
  LDFLAGS               = $(LDFLAGS) /LIBPATH:$(BINDIR)
/LIBPATH:$(LIBPREFIX)
*! LIBS                  = zlib.lib*

  # Optimisation and debug symbols.
  !if "$(DEBUG)" == "1"
--- 359,365 ----
  LD                    = link.exe
  LDFLAGS               = /nologo
  LDFLAGS               = $(LDFLAGS) /LIBPATH:$(BINDIR)
/LIBPATH:$(LIBPREFIX)
*! LIBS                  =*

  # Optimisation and debug symbols.
  !if "$(DEBUG)" == "1"

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

Reply via email to