Page 1 of 3
include hbcurl
Posted: Tue Feb 16, 2016 6:34 pm
by mlnr
Hello,
How can i include hbcurl to my project? I'm tried add libs=hbcurl line to the configuration in IDE.
What i'm doing wrong?
Thank you for your help.
Gabor
Re: include hbcurl
Posted: Wed Feb 17, 2016 10:36 am
by mlnr
This is the error message:
- error.jpg (228.13 KiB) Viewed 6014 times
How can i add option hbcurl.hbc?
Gabor
Re: include hbcurl
Posted: Wed Feb 17, 2016 10:51 am
by mol
You can try
Libs=curl
(without hb...)
Re: include hbcurl
Posted: Wed Feb 17, 2016 11:06 am
by serge_girard
Gabor,
I don't know anything about curl (even don't know what it is...) but I found this:
#require "hbcurl" in HARBOUR\contrib\hbcurl samples.
See those samples !
Serge
Re: include hbcurl
Posted: Wed Feb 17, 2016 12:06 pm
by mlnr
The cURL is a library for transfering data, SOAP, HTTP POST request etc.
I used it in Harbour without problem, but i have to use in HMG.
If i don't modify the configuration, then show me the first error message (error.jpg). It is ok, because i don't linked the library.
Marek, i'm tried without hb, but nothing change.
After i wrote the libs=hbcurl in hbc file (configuration), changed the message (error2.jpg)
- error2.JPG (128.69 KiB) Viewed 5998 times
Re: include hbcurl
Posted: Wed Feb 17, 2016 12:27 pm
by pctoledo
Try...
libs=hbcurl,hbcurls
Re: include hbcurl
Posted: Wed Feb 17, 2016 12:57 pm
by mlnr
Toledo,
Nothing had changed.
Re: include hbcurl
Posted: Wed Feb 17, 2016 1:42 pm
by dragancesu
It's look like problem with SqlLite, not include by default
Look at <disk>:\HMG<version>\hmg.hbc
and add lines like PCtoledo say, one by one line
Re: include hbcurl
Posted: Wed Feb 17, 2016 2:02 pm
by mlnr
Working!!!
The solution is:
copy libhbcurl.a to \lib
copy libhbcurls.a to \lib
copy liblibcurl.a to \lib
run BuildLib.bat
add the next 3 lines to .hbc
libs=hbcurls
libs=hbcurl
libs=libcurl
and done...
This link help for me
viewtopic.php?f=24&t=3489&hilit=hbcurl&start=10#p32156
Thank you for your help.
Re: include hbcurl
Posted: Mon Jul 04, 2016 9:53 am
by serge_girard
I can't find liblibcurl.a ?
The other 2 I found.
Somebody?
Serge