I am trying to compile with curl lib and I am getting following errors. Not sure what I am missing
I tried with hbcurl, hbcurls and lillilcurl but getting the same error.
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r1902111251)
Copyright (c) 1999-2019,
https://harbour.github.io/Compiling 'smaster_main.prg'...
Lines 16566, Functions/Procedures 7
Generating C source output to '.hbmk\win\mingw\smaster_main.c'... Done.
Compiling 'smapi.prg'...
Lines 876, Functions/Procedures 13
Generating C source output to '.hbmk\win\mingw\smapi.c'... Done.
hbmk2: Compiling...
hbmk2: Linking... demo.exe
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x6b5): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x7f2): undefined reference to `_imp__curl_formfree'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x810): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x827): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x83e): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x855): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x86c): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x883): more undefined references to `_imp__curl_slist_free_all' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x991): undefined reference to `_imp__curl_easy_cleanup'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x9fa): undefined reference to `_imp__curl_global_init_mem'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xa12): undefined reference to `_imp__curl_global_cleanup'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xa4c): undefined reference to `_imp__curl_easy_init'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xb93): undefined reference to `_imp__curl_easy_duphandle'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xc2e): undefined reference to `_imp__curl_easy_init'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xd39): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xe72): undefined reference to `_imp__curl_formfree'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xe90): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xea7): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xebe): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xed5): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xeec): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0xf03): more undefined references to `_imp__curl_slist_free_all' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1011): undefined reference to `_imp__curl_easy_cleanup'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x10c6): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x11ff): undefined reference to `_imp__curl_formfree'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x121d): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1234): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x124b): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1262): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1279): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1290): more undefined references to `_imp__curl_slist_free_all' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x139e): undefined reference to `_imp__curl_easy_reset'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1448): undefined reference to `_imp__curl_easy_pause'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x14e7): undefined reference to `_imp__curl_easy_perform'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x15c1): undefined reference to `_imp__curl_easy_send'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x16bb): undefined reference to `_imp__curl_easy_recv'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1866): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x18d1): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x193c): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x19d6): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1a90): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1b1e): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1e79): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1e9e): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1f2c): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1f54): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1f7c): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1fa4): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1fcc): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x1ff4): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x20a8): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x20cd): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x213f): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2183): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x21ab): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x21d3): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x21fb): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2223): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x27b7): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x27dc): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x284e): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2876): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x28ba): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x28e2): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x290a): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x294e): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2cb6): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2cdb): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2d69): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2d91): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2db9): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2de1): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2e09): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x2e31): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x30ed): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3112): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x31a0): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x31c8): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x31e7): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3210): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3235): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x32a7): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3383): undefined reference to `_imp__curl_formadd'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x33ab): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x33d7): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x33ff): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3427): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x344f): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3493): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x362b): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3650): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x36c2): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3706): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x372e): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3756): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x377e): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x37a6): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x39c6): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x39eb): undefined reference to `_imp__curl_slist_append'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3a5d): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3a89): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3ab5): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3add): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3b05): undefined reference to `_imp__curl_easy_setopt'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x3b2d): more undefined references to `_imp__curl_easy_setopt' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x44ed): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x453a): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x456a): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x459a): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x45be): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x45e9): more undefined references to `_imp__curl_easy_getinfo' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x491e): undefined reference to `_imp__curl_slist_free_all'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4947): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4972): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x499d): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x49c8): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x49f3): undefined reference to `_imp__curl_easy_getinfo'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4a1e): more undefined references to `_imp__curl_easy_getinfo' follow
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4d0c): undefined reference to `_imp__curl_easy_escape'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4d1f): undefined reference to `_imp__curl_free'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4df8): undefined reference to `_imp__curl_easy_unescape'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4e13): undefined reference to `_imp__curl_free'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4e75): undefined reference to `_imp__curl_version'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x4ea0): undefined reference to `_imp__curl_version_info'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x50ad): undefined reference to `_imp__curl_easy_strerror'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x5133): undefined reference to `_imp__curl_getdate'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x51d0): undefined reference to `_imp__curl_escape'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x51e3): undefined reference to `_imp__curl_free'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x5270): undefined reference to `_imp__curl_unescape'
C:/OOHG_HB32/HB32/lib/win/mingw\libhbcurl.a(core.o):core.c:(.text+0x5283): undefined reference to `_imp__curl_free'
collect2.exe: error: ld returned 1 exit status