cURL / Mailing Lists / curl-library / Single Mail

curl-library

[curlib.lib] unresolved externals Problems!!

From: Tiago Conceição <tiago_caza_at_hotmail.com>
Date: Mon, 09 Apr 2007 21:55:43 +0000

i compile sussecfull curlib.lib !!

i have compiled current curl lib sucessful. i follow this:
http://curl.haxx.se/mail/lib-2006-04/0104.html

But:

when i include curlib.lib to my project and use curl functions

eg. curl_easy_init and compile c++ say unresolved externals .....

im using VS 2005 pro

and im using in processor the 'CURL_STATICLIB' and libs: curlib.lib
wsock32.lib ws2_32.lib zlib.lib winmm.lib msvcprt.lib

and i include 'curl.h'

after with that small code:

void test()
{
        CURL *curl;

        //curlm = curl_multi_init();
        //curlsh = curl_share_init();
        curl = curl_easy_init();
        if(curl)
        {

        }
}

curl = curl_easy_init(); = problems here!!! or in other inits like multi or
share!

error LNK2019: unresolved external symbol __imp__curl_easy_init referenced
in function "void __cdecl test(void)" (?test@@YAXXZ)

Help please!

_________________________________________________________________
Partilhe ficheiros sem depender de pombos-correios!
http://www.communicationevolved.com/pt-pt/
Received on 2007-04-10