Build Error
Posted: Thu Feb 21, 2013 9:27 am
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
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