Page 1 of 1

Build Error

PostPosted: Thu Feb 21, 2013 9:27 am
by Colin Haig
Hi Antonio

I downloaded the libs from the 13/02/2013 and the error does not occur when I compile and link.

The error appears to point to this file.
/fivewin/source/internal/lnx.c

home/colin/fivelinux/lib/libfivec.a(lnx.o): In function `button_press_event':
lnx.c:(.text+0xaad): undefined reference to `hb_extIsNil'



CODE: SELECT ALL EXPAND VIEW

gboolean button_press_event( GtkWidget * hWnd, GdkEventButton * event )
{
if( event->button == 1 )
{
hb_vmPushSymbol( pFLH );
hb_vmPushNil();
hb_vmPushLong( WM_LBUTTONDOWN ); // nMsg
hb_vmPushLong( ( HB_ULONG ) event->y ); // nWParam
hb_vmPushLong( ( HB_ULONG ) event->x ); // nLParam
hb_vmPushLong( ( HB_ULONG ) gtk_object_get_data( GTK_OBJECT( hWnd ), "WP" ) );
hb_vmFunction( 4 );
}

return ! HB_ISNIL( -1 ); // FALSE invokes default behavior




Cheers

Colin
Colin Haig

Posts: 213
Joined: Mon Oct 10, 2005 5:10 am

Re: Build Error

PostPosted: Fri Feb 22, 2013 11:48 pm
by Antonio Linares
Colin,

I think that the problem comes from this line:
return ! HB_ISNIL( -1 ); // FALSE invokes default behavior

If you review Harbour/include/hbapi.h you should have:

#define HB_ISNIL( n ) ( hb_param( n, HB_IT_ANY ) == NULL || HB_IS_NIL( hb_param( n, HB_IT_ANY ) ) )

Please check if your hbapi.h has the same, thanks

Re: Build Error

PostPosted: Sat Feb 23, 2013 12:53 am
by Colin Haig
Hi Antonio

My hbapi is the same.

regards

Colin

Re: Build Error

PostPosted: Sat Feb 23, 2013 7:49 am
by Antonio Linares
Colin,

Could you provide me remote access to your server ? thanks

Re: Build Error

PostPosted: Wed Apr 03, 2013 2:28 pm
by Maurizio
Hello Antonio ,
I have the same problem

fivehc32.lib(RICHEDIT.obj) : error LNK2019: riferimento al simbolo esterno _hb_extIsNil non risolto nella funzione _HB_FUN_RELOA
DASRTF

FWH 13.3 + HARBOUR + Microsoft Visual Studio 10.0\VC

Maurizio

Re: Build Error

PostPosted: Wed Apr 03, 2013 3:55 pm
by Antonio Linares
Maurizio,

You need tu use a more recent Harbour build. Please review this:

viewtopic.php?p=142467#p142467