include hbcurl
Moderator: Rathinagiri
Re: include hbcurl
I've attached the file.
- Attachments
-
- liblibcurl.zip
- liblibcurl.a
- (281.78 KiB) Downloaded 458 times
Best regards,
Gabor
Gabor
- serge_girard
- Posts: 3167
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: include hbcurl
Thx Gabor, I'll try tomorrow!
Serge
Serge
There's nothing you can do that can't be done...
-
- Posts: 190
- Joined: Wed Jan 06, 2010 5:39 pm
Re: include hbcurl
Thx Gabor.
I have now a new error message : impossible to find curl_easy_recv in libcurl.dll
I have now a new error message : impossible to find curl_easy_recv in libcurl.dll
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: include hbcurl
As Curl compile contrib Harbour Nightly
with the browser go to : https://curl.haxx.se/dlwiz/?type=lib select and download
Show package for: Windows / Win32 Unzip in :
Go to
Copy Lib in
[attachment=0]2016-07-04 17_42_09-C__harbour_contrib_hbcurl_tests_ftp_uldl.exe.png[/attachment]
with the browser go to : https://curl.haxx.se/dlwiz/?type=lib select and download
Show package for: Windows / Win32 Unzip in :
Code: Select all
c:\curl-7.40.0-devel-mingw32
use this batchC:\harbour\contrib\hbcurl
Code: Select all
@echo off
Title Build %1 in 32 bits
rem *************************************
set HB_WITH_CURL=c:\curl-7.40.0-devel-mingw32\include
rem *************************************
set Backup=%path%
set path=%path%;C:\hb32\bin;c:\curl-7.40.0-devel-mingw32\bin;c:\curl-7.40.0-devel-mingw32\include
hbmk2 hbcurl.hbp
set path=%backup%
set HB_WITH_CURL=
compile example enC:\hb32\lib\win\mingw
C:\harbour\contrib\hbcurl\tests
Code: Select all
@echo off
Title Build %1 in 32bits
set Backup=%path%
set path=%path%;c:\hb32\bin
hbmk2 ftp_uldl.prg
set path=%backup%
- Attachments
-
- 2016-07-04 17_42_09-C__harbour_contrib_hbcurl_tests_ftp_uldl.exe.png (12.77 KiB) Viewed 5898 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- serge_girard
- Posts: 3167
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
-
- Posts: 190
- Joined: Wed Jan 06, 2010 5:39 pm
Re: include hbcurl
Thx Daniel.
As I have a standard hmg installation. I change hb32 by hmg.3.4.3\HARBOUR\
I don't find hbcurl.hpb. I change it in hbcurl.hbc and I have to precise mingw for the compiler : hbmk2 hbcurl.hbc -comp=mingw
In the test program I have again a problem :
hbmk2: Processing local make script: hbmk.hbm
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'ftp_uldl.prg'...
Lines 362, Functions/Procedures 3
Generating C source output to 'C:\DOCUME~1\CHRIST~1\LOCALS~1\Temp\hbmk_5gx3o8.di
r\ftp_uldl.c'... Done.
hbmk2: Error: Running C/C++ compiler. -1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pip
e -Ic:/hmg.3.4.3/HARBOUR/include -Ic:/hmg.3.4.3/HARBOUR/contrib/hbcurl C:/DOCUME
~1/CHRIST~1/LOCALS~1/Temp/hbmk_5gx3o8.dir/ftp_uldl.c C:/DOCUME~1/CHRIST~1/LOCALS
~1/Temp/hbmk_hp9l3w.c
As I have a standard hmg installation. I change hb32 by hmg.3.4.3\HARBOUR\
I don't find hbcurl.hpb. I change it in hbcurl.hbc and I have to precise mingw for the compiler : hbmk2 hbcurl.hbc -comp=mingw
In the test program I have again a problem :
hbmk2: Processing local make script: hbmk.hbm
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'ftp_uldl.prg'...
Lines 362, Functions/Procedures 3
Generating C source output to 'C:\DOCUME~1\CHRIST~1\LOCALS~1\Temp\hbmk_5gx3o8.di
r\ftp_uldl.c'... Done.
hbmk2: Error: Running C/C++ compiler. -1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pip
e -Ic:/hmg.3.4.3/HARBOUR/include -Ic:/hmg.3.4.3/HARBOUR/contrib/hbcurl C:/DOCUME
~1/CHRIST~1/LOCALS~1/Temp/hbmk_5gx3o8.dir/ftp_uldl.c C:/DOCUME~1/CHRIST~1/LOCALS
~1/Temp/hbmk_hp9l3w.c
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: include hbcurl
always compile the libraries from harbour sources, these are available for download from Github https://github.com/harbour/core
or https://github.com/harbour/core/tree/ma ... rib/hbcurl
clone or download the ZIP file
buildlib.bat
copy the generated libraries to
compile.bat
or https://github.com/harbour/core/tree/ma ... rib/hbcurl
clone or download the ZIP file
buildlib.bat
Code: Select all
@echo off
Title Build %1 in 32 bits
rem *************************************
set HB_WITH_CURL=c:\curl-7.40.0-devel-mingw32\include
rem *************************************
set Backup=%path%
set path=%path%;C:\hmg.3.4.3\HARBOUR\bin;c:\curl-7.40.0-devel-mingw32\bin;c:\curl-7.40.0-devel-mingw32\include
hbmk2 hbcurl.hbp
set path=%backup%
set HB_WITH_CURL
need to access dll installation is taken CURL will have to make your application work properly or add the route to your pathC:\hmg.3.4.3\HARBOUR\lib\win\mingw
C:\curl-7.40.0-devel-mingw32\curl-7.40.0-devel-mingw32\bin
compile.bat
Code: Select all
@echo off
Title Build %1 in 32bits
set Backup=%path%
set path=%path%;C:\hmg.3.4.3\HARBOUR\bin;C:\hmg.3.4.3\MINGW\bin;C:\hmg.3.4.3\HARBOUR\lib\win\mingw
hbmk2 ftp_uldl.prg
set path=%backup%
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: include hbcurl
why we need to compile libhbcurl.a - it is present in harbour\lib folder?
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: include hbcurl
Hello everyone: sorry for not participating in the forum since since January 2 the telephone company does not fix my line and for that defect I have internet.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
include hbcurl
Bien venido Daniel
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein