|
From: Alain A. <ala...@wa...> - 2014-10-24 07:13:16
|
Le 24/10/2014 07:37, Alexander S.Kresin a écrit : > Alain Aupeix writes: >> Hi, I just didn't know it, and it's the first time I try to build it. >> So I don't know if the error is recent or not. >> >> alain@Gramps-JujuLand:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/utils/tutorial$ >> hwbuild *hwgrun* > The hwbuild is your script to build prgs ? Just add -lhbcplr to the > libraries list there, this is compiler library, which includes that > hb_CompileBuf() function. ok, that's good now > Or use the build.sh, which is provided with the tutorial files. I never use all your build.sh for two reasons: 1) gcc gives an error if -lm is not at the end of the command line, so it's necessary to put $SYSTEM_LIBS at the end of the commandline. 2) I place this modified script in /usr/local/bin to be able to use it elsewhere than in hw folders, and I rename it to have a name more obvious. Mine is exactly the same at your, except I remove test and variables values using HB_ROOT (to be simplest) and I put $SYSTEM_LIBS at the end of the commandline. My mistake, here, is that I used the build.sh version which was in sample/gtk, and where -lhbcplr was missing. Thanks A+ -- ------------------------------------------------------------------------ Alain Aupeix http://jujuland.pagesperso-orange.fr/ http://pissobi-lacassagne.pagesperso-orange.fr/ ------------------------------------------------------------------------ U.buntu 12.04 | G.ramps 3.4.8-1 | H.arbour 3.2.0dev (2014-10-22 08:25) | HbIDE (Rev.316) | Five.Linux (r138) | Hw.Gui (2295) ------------------------------------------------------------------------ |