curl-library
Réf. : Awaiting an Answer for Win 32 Install
Date: Wed, 29 Jun 2005 11:11:22 +0200
Well I have, in the .zip, the folders you don't have. Try to redownload
the file.
As for the ".c" files, I meant you had to type
#include "curl/curl.h"
at the beginning of your C source code.
Maybe you can send the ".dev" file of your project so that I can correct
it.
Phil
"T kyer" <xdtrq_at_ananzi.co.za>
Envoyé par : curl-library-bounces_at_cool.haxx.se
28/06/2005 20:53
Veuillez répondre à libcurl development
Remis le : 28/06/2005 21:32
Pour : curl-library_at_cool.haxx.se
cc : (ccc : Philippe HAMEAU/DRD/SAGEM)
Objet : Awaiting an Answer for Win 32 Install
Thanks for your help Philippe & Daniel. I'm gradually
getting there but its like trying to wrestle away dinner
from a crocodile. I did as you first instructed me I
downloaded curl-7.13.0-win32-ssl-devel-mingw32.zip and
applied your cookbook instructions (most helpful) except
that the above file DOES NOT contain a full set of version
7.13 *h & *c files and that's where I think I'm running
into problems.
"3) you copy include/curl/*.h to
c:\dev-cpp\include\curl\*.h"
No such folder exists in the zip file and the *.h files
included is probably incomplete.
"All you have to do now is to tell GCC (the compiler used
by dev cpp) to
use the functions provided by libCurl in your app.
1) you have to include in you .c libcurl's headers (ie
function
prototypes)" If I understand this correctly to mean include
*.c in c:\dev-cpp\include\curl\*.c.
Well no *.c files are included with the mingw zip file.
When using the dynamic Library (libcurldll.a licurl.dll) it
not only compiles but generates an executable. I had to
install the ssl DLLs as well with no problems. The exe
unfortunately crashes before it generates any output. I
believe it may be because I'm using version (probably a
Linux version incompatible with the win API) 7.14 *.c & *.h
files as windows version 7.13 is unavailable. I tried the
limited *.h files include with the mingw zip file with the
same results.
Now with the static library when I use -lcurl or
-L"/path/to/dir/with/libcurl -lcurl "
(Quotes are required according to manual - tried without
quotes as well) it's a different story. Instead of 5 link
errors I now get 500 link errors - maybe a little
exaggerated. The peculiar thing is that most of the
functions listed as unavailable to be linked aren't even
required for my sample program.
Any thoughts. Thanks in advance.
Xlor
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature