nanogui: nxlib & gtk+


Previous by date: 16 Jul 2004 07:30:45 +0100 Re: query (Critical problem), Aaron J. Grier
Next by date: 16 Jul 2004 07:30:45 +0100 nxlib and gtk+, andy_hw.tom.com
Previous in thread:
Next in thread: 16 Jul 2004 07:30:45 +0100 Re: nxlib & gtk+, Greg Haerr

Subject: nxlib & gtk+
From: ####@####.####
Date: 16 Jul 2004 07:30:45 +0100
Message-Id: <OF8A526431.F81E7CE0-ON48256ED3.0022F9C5@com.cn>

Dear Greg and all,

Could nxlib be linked static by the demo( helloworld.c ) based on gtk+
directly?

I wrote a sample code based on gtk+ and compiled it linking nxlib static,
some errors :

...
helloworld.o(.text+0xf): In function `CloseMain':
: undefined reference to `g_print'
helloworld.o(.text+0x17): In function `CloseMain':
: undefined reference to `gtk_main_quit'
helloworld.o(.text+0x3e): In function `main':
: undefined reference to `gtk_init'
helloworld.o(.text+0x4b): In function `main':
: undefined reference to `gtk_window_new'
helloworld.o(.text+0x64): In function `main':
: undefined reference to `gtk_window_get_type'
helloworld.o(.text+0x70): In function `main':
: undefined reference to `gtk_type_check_object_cast'
helloworld.o(.text+0x79): In function `main':
: undefined reference to `gtk_window_set_title'
helloworld.o(.text+0x94): In function `main':
....

gtk and gdk lib must be needed?

Best Regards,
hwei



Previous by date: 16 Jul 2004 07:30:45 +0100 Re: query (Critical problem), Aaron J. Grier
Next by date: 16 Jul 2004 07:30:45 +0100 nxlib and gtk+, andy_hw.tom.com
Previous in thread:
Next in thread: 16 Jul 2004 07:30:45 +0100 Re: nxlib & gtk+, Greg Haerr


Powered by ezmlm-browse 0.20.