|
From: Alain A. <ala...@wa...> - 2014-04-24 14:03:52
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 24/04/2014 11:53, Alexander S.Kresin
a écrit :<br>
</div>
<blockquote cite="mid:535...@be..." type="cite">
<pre wrap="">It seems that in your own script the -lhbcplr is absent in a libraries list.</pre>
</blockquote>
That was the reason. I thought all the build.sh in hwgui were
identical, that wasn't the case ...<br>
<br>
I found another problem when using $SYSTEM_LIBS<br>
A known bug found concerning -lm : if -lm isn't the last lib, there
is an error building (I also encounter it with a tool named bin2txt:
<a class="moz-txt-link-freetext" href="https://github.com/zyoung/bin2txt">https://github.com/zyoung/bin2txt</a> the makefile failed). The way to
avoid this error, is to put -lm at the end of the line<br>
<br>
So, the command loine ought to be :<br>
<br>
gcc $1.c -o$1 -I $HRB_INC -L $HRB_LIB -L $HWGUI_LIB
-Wl,--start-group $HWGUI_LIBS $HARBOUR_LIBS -Wl,--end-group
`pkg-config --cflags gtk+-2.0` `pkg-config gtk+-2.0 --libs` <b>$SYSTEM_LIBS</b><br>
<br>
instead of :<br>
<br>
gcc $1.c -o$1 -I $HRB_INC -L $HRB_LIB -L $HWGUI_LIB $SYSTEM_LIBS
-Wl,--start-group $HWGUI_LIBS <b>$HARBOUR_LIBS</b> -Wl,--end-group
`pkg-config --libs gtk+-2.0`<br>
<br>
A+<br>
<div class="moz-signature">-- <br>
<hr>
Alain Aupeix<br>
<a class="moz-txt-link-freetext" href="http://jujuland.pagesperso-orange.fr/">http://jujuland.pagesperso-orange.fr/</a><br>
<a class="moz-txt-link-freetext" href="http://pissobi-lacassagne.pagesperso-orange.fr/">http://pissobi-lacassagne.pagesperso-orange.fr/</a><br>
<hr>
<small>U.buntu 12.04 | G.ramps 3.4.7-3 | H.arbour 3.2.0dev
(2014-04-11 15:36) | HbIDE (Rev.299) | Five.Linux (r138) |
Hw.Gui (2243)</small>
<hr></div>
</body>
</html>
|