David,

Thanks for the help but I still need more help. I downloaded TortoiseSVN so I could use the svn diff command on the command prompt. and went to the directory labeled c:\ Lib\curl-7.34.0-devel-mingw64\samples and I then typed svn diff -r 41 Makefile.vc but it didn't work and returned the error "svn: E155007: 'c:\ Lib\curl-7.34.0-devel-mingw64\samples\Makefile.vc' is not a working copy. Do you know what I'm doing wrong. Under this particular directory there are two files similar to Makefile.vc namely Makefile of type file and Makefile.m32 of type M32 file. There is no Makefile.vc anywhere to be found looking in the upper directories and if instead I substituted Makefile for Makefile.vc I get the same error message (same is true for Makefile.m32). I'm assuming I'm doing something very stupid on my end, but I never have used TortoiseSVN before and I've only been programming for a few years self taught from a tutorial online. Any further help would be appreciated.

-----Original Message-----
From: David Chapman <dcchap...@acm.org>
To: libcurl development <curl-library@cool.haxx.se>; gkghkhjkl <gkghkh...@aol.com>
Sent: Tue, Jul 1, 2014 8:04 pm
Subject: Re: libcurl error question


On 7/1/2014 4:14 PM, gkghkh...@aol.com wrote:
I don't understand why this library doesn't simply work out of the
box. Does anybody else know the answer to my problem?


There is an error in the Windows build system as shipped.  If you are
using the "Makefile.vc" file to build the libraries, it does not assign
the variable "RTLIBCFG" that is expected by "MakefileBuild.vc". Here is
how I modified it:

C:\libcurl>svn diff -r 41 Makefile.vc
Index: Makefile.vc
===================================================================
--- Makefile.vc (revision 41)
+++ Makefile.vc (working copy)
@@ -190,6 +190,7 @@

        @SET CONFIG_NAME_LIB=$(CONFIG_NAME_LIB)
        @SET MACHINE=$(MACHINE)
+       @SET RTLIBCFG=$(MODE)
        @SET USE_IDN=$(USE_IDN)
        @SET USE_IPV6=$(USE_IPV6)
        @SET USE_SSPI=$(USE_SSPI)

If you don't do this (or otherwise coerce -DSTATIC_LIB during
compilation), then the libraries will be built for dynamic linking and
your code will not run unless it can find the dynamic libraries.

And yes, I should formally log this as a bug but I've been busy...

--
    David Chapman      dcchap...@acm.org
    Chapman Consulting -- San Jose, CA
    Software Development Done Right.
    www.chapman-consulting-sj.com


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to