cURL / Mailing Lists / curl-library / Single Mail

curl-library

bcc32 wont compile libcurl

From: Greg Smith <gsmith_at_nxco.com>
Date: Tue, 13 Jul 2004 10:35:48 -0500

hi,

After much frusteration i finaly got libcurl to compile useing borlands
command line tools im still new to this kind of thing so im probably
missing something simple but when i try to compile useing libcurl i get the
following errors:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
temp.cpp:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_Curl_ipvalid' referenced from C:\DOCUMENTS AND
SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|hostip
Error: Unresolved external '_Curl_getaddrinfo' referenced from C:\DOCUMENTS
AND SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|hostip
Error: Unresolved external '_Curl_is_resolved' referenced from C:\DOCUMENTS
AND SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|hostip
Error: Unresolved external '_Curl_wait_for_resolv' referenced from
C:\DOCUMENTS AND SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|connect
Error: Unresolved external '_Curl_strerror' referenced from C:\DOCUMENTS
AND SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|connect
Error: Unresolved external '_Curl_freeaddrinfo' referenced from
C:\DOCUMENTS AND SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|hostip
Error: Unresolved external '_Curl_inet_ntop' referenced from C:\DOCUMENTS
AND SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|url
Error: Unresolved external '__lseeki64' referenced from C:\DOCUMENTS AND
SETTINGS\GSMITH\DESKTOP\LIBCURL.LIB|file

The compile command i use is as follows:

bcc32 temp.cpp libcurl.lib

i have libcurl.lib in the same directory as my source code and im
includeing curl.h this is the first time i tryed compileing with libcurl so
the only thing im attempting to do is:

CURL *handle;
handle = curl_easy_init();
curl_easy_cleanup(handle);

--
Greg Smith
Received on 2004-07-13