cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compile with mingw32 and libcurl

From: Andrés García <fandom_at_telefonica.net>
Date: Thu, 10 Apr 2003 14:49:01 +0200

El Jueves, 10 de Abril de 2003 11:19, Waste-Productions.Com escribió:
> hi, i just want to compile a bit of code with the mingw32. i've downloaded
> the curl-7.10.4-win32-ssl-devel-mingw32 package but i get the following
> errors:
>
> Compiler: Default compiler
> Building Makefile: "C:\Dev-Cpp\tray\Makefile.win"
> Führt make... aus
> make.exe -f "C:\Dev-Cpp\tray\Makefile.win" all
> windres.exe -i tray_private.rc -I rc -o tray_private.res -O coff
>
> gcc.exe tray.o tray_private.res -o "tray.exe" -L"C:/Dev-Cpp/lib" -mwindows
> ../lib/curl/libcurl.a ../lib/libwsock32.a ../lib/libpenwin32.a

Try adding the libraries:

-lws2_32 -lwinmm -leay32 -lssl32 -lssl

Andres

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-04-10