Running harbour\contrib\hbfimage\test
Moderator: Rathinagiri
Running harbour\contrib\hbfimage\test
Dear Masters,
There are alot of harbour\contrib programs and samples,
like the hbfimage, but i cant compile with the build.bat
from the hm 3.3.1... Pls help and advise how to do it...
TIA...
best rgds,
Chang
There are alot of harbour\contrib programs and samples,
like the hbfimage, but i cant compile with the build.bat
from the hm 3.3.1... Pls help and advise how to do it...
TIA...
best rgds,
Chang
Just Hmg It !
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Running harbour\contrib\hbfimage\test
Contiene un error Warnning W0032 que corresponde a la linea 51 y 53
im := fi_Load( FIF_JPEG, IMAGES_IN + "nothere.jpg", JPEG_DEFAULT )
im := fi_Load( FIF_JPEG, IMAGES_IN + "nothere.jpg", JPEG_DEFAULT )
todavia no encontre el error de codigo.
im := fi_Load( FIF_JPEG, IMAGES_IN + "nothere.jpg", JPEG_DEFAULT )
im := fi_Load( FIF_JPEG, IMAGES_IN + "nothere.jpg", JPEG_DEFAULT )
todavia no encontre el error de codigo.
- Attachments
-
- harbour.jpg (43.37 KiB) Viewed 6189 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
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Running harbour\contrib\hbfimage\test
This is Harbour issues and these examples are in console mode.
Daniel, ese test para ser compilado correctamente, irá precisar generar la biblioteca hbfimage.
Daniel, ese test para ser compilado correctamente, irá precisar generar la biblioteca hbfimage.
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
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Running harbour\contrib\hbfimage\test
Correct ....Pablo César wrote:This is Harbour issues and these examples are in console mode.
Daniel, ese test para ser compilado correctamente, irá precisar generar la biblioteca hbfimage.
Download Freeimage from http://sourceforge.net/projects/freeimage
Unrar to : C:\
Goto sources in C:\harbour\contrib\hbfimage
create compile.bat
Code: Select all
set Backup=%path%
set HB_WITH_FREEIMAGE=C:\FreeImage\Dist\x32
set path=%path%;C:\hb32\bin
hbmk2 hbfimage.hbp
set path=%backup%
create compile.bat
Note : Add hbfimage.hbc to your hbmk2 project or line command.
Code: Select all
set Backup=%path%
set Backup=%path%
set path=%path%;C:\hb32\bin
hbmk2 test.prg hbfimage.hbc
set path=%backup%
copy libhbfimage.a to folder Tests.
copy FreeImage.dll to folder Tests.
execute compile.bat........
execute tests.exe ... DONE.......
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. 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: Running harbour\contrib\hbfimage\test
My thanks to Masters for the guidance,
I will try it...
I will try it...
Just Hmg It !
Re: Running harbour\contrib\hbfimage\test
Sorry, but I dont see any .hbp or .a files....
what have i done wrong ?
TIA
best rgds
Chang
Just Hmg It !
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Running harbour\contrib\hbfimage\test
libhbfimage.a es creado a partir de la ejecucion de compile.bat
es raro pero la descarga de los sources desde Github trae hbfimage.hbp
libhbfimage.a is created from the execution of compile.bat
It is rare but downloading the sources from Github brings hbfimage.hbp
code in hbfimage.hbp
es raro pero la descarga de los sources desde Github trae hbfimage.hbp
libhbfimage.a is created from the execution of compile.bat
It is rare but downloading the sources from Github brings hbfimage.hbp
code in hbfimage.hbp
Code: Select all
-hblib
-inc
-o${hb_name}
-w3 -es2
-stop{dos|os2}
-depkeyhead=freeimage:FreeImage.h
-depcontrol=freeimage:no{HB_BUILD_3RDEXT='no'}
-depcontrol=freeimage:${HB_WITH_FREEIMAGE}
-depincpath=freeimage:/usr/include
-depincpath=freeimage:/usr/local/include
-depincpath=freeimage:/opt/local/include
-depimplibs=freeimage:../Dist/FreeImage.dll
# For FreeImage headers
-c=gnu90
${hb_name}.hbx
fi_wrp.c
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. 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: Running harbour\contrib\hbfimage\test
Thks Mr. Daniel,
but getting this after compile : Pls advise...
TIA
but getting this after compile : Pls advise...
TIA
Just Hmg It !
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Running harbour\contrib\hbfimage\test
exists freeimage.dll in \dist\x32 folder ?
http://sourceforge.net/projects/freeimage/
http://sourceforge.net/projects/freeimage/
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. 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: Running harbour\contrib\hbfimage\test
here a attach the content of the folder,
pls advise whats wrong.
TIA
Just Hmg It !