A hbp is a command line on a file.
May be anybody try to use {linux}-d__LINUX__ -d__GTK__ and this is equivalent to:
{linux}-d__LINUX__
-d__GTK__
When declare -d, need to declare {linux} for each parameter.
-n -w
{linux}-lm
{linux}-static
{linux}-d__LINUX__
{linux}-d__GTK__
-oeditor
-L../..
hwgui.hbc
hbct.hbc
editor.prg
hcediext.prg
calc.prg
Please check this new editor.hbp on linux, and if it works ok, delete editor_linux.hbp
Attention on -L and hbc
-L../.. hwgui.hbc is ok, but hwgui.hbc -L../.. is wrong.
hbmk2 needs to know the path, BEFORE check hwgui.hbc
Hello José,
done with commit r2909. Look also at bugfix of HCEDIT class.
Please Check and give feedback.
Tested with Windows 10 and Ubuntu 16.04 LTS.
MNI TNX fer your support.
With regards,
73 es 55 de
DF7BE, Wilfried
more hbps for windows/linux, check, and if ok, delete xxx_linux.hbp from folders:
on previous hbp, linux name for dbch/hwgdebug is not the same for windows/linux, not sure if can be used the same name.
hwgui/utils/debugger/sample.hbp
hwgui/utils/debugger/hwgdebug.hbp
hwgui/utils/dbc/dbchw.hbp
hwgui/utils/bincnt/file2hex.hbp
hwgui/utils/bincnt/bincnt.hbp
hwgui/utils/designer/designer.hbp
hwgui/utils/tutorial/tutor.hbp
hwgui/utils/tutorial/hwgrun.hbp
Last edit: José M. C. Quintas 2020-12-05
Hello José,
done with commit r2910.
Please Check and give feedback.
Tested with Windows 10 and Ubuntu 16.04 LTS.
MNI TNX fer your support.
With regards,
73 es 55 de
DF7BE, Wilfried
Hi!
To compile any samples, tests, projects with hwgui, just specify the location of hwgui.hbc, no need to use the option -L.
And the option -o, why use it, if output file name does not changed?
Best regards
Hello Oleksii,
yes, i know about it, this is an alternative way to
declare path settings in hbc files.
With last commit, i added some descriptive remarks in file
samples/sample.hbp for the user. This helps him to
use this file as template for building his own program.
With regards,
MNI TNX, 73 es 55 de
DF7BE, Wilfried
yes, or include on harbour/bin/hbmk.hbc libpaths=hwguipath
harbour/bin/hbmk.hbc define default for all harbour compilation - I define hbc path only
on folders: hbmk.hbm or hbmk.hbc define defaults for folder - good for samples folder
on project.hbp: define for project, if others have path, here needs hwgui.hbc only.
and for hwgui, may be you like the container option of hbmk2, with sub-projects
file; hwgui.hbp
-hbcontainer
source/hwgui.hbp
source/hbxml.hbp
source/procmisc.hbp
source/hwgdebug.hbp
contrib/hwg_extctrl.hbp
contrib/hwg_qhtm.hbp
contrib/hbactivex.hbp
source/hwguidyn.hbp
Hi again, sorry, but you are looking for a difficult way for simple things.
Hi!
Some clarifications on editor.hbp (and *.hbp)
and we have the smaller and clear hbp file
regards
Last edit: Oleksii Myronenko 2020-12-17
Hello Oleksii,
done with r2918,please check.
With regards,
MNI TNX, 73 es 55 de
DF7BE, Wilfried
It's ok, thanks