pb purebasic v4 beta1 - TextGadget Error Linker
Publié : mer. 08/nov./2006 11:11
If OpenWindow(0,0,0,800,600,"TextGadget",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) And CreateG
adgetList(WindowID(0))
TextGadget(0,100,200,50,20,"test")
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf
# pbcompiler test.pb
******************************************
PureBasic 4.00 - Beta 1 (Linux - x86)
******************************************
Loading external modules...
Starting compilation...
8 lines processed.
Creating the executable.
Gadget.a(TextGadget.o)(.text+0xcd): In function `SetGadgetColor':
: undefined reference to `gtk_event_box_set_visible_window'
Gadget.a(TextGadget.o)(.text+0x108): In function `SetGadgetColor':
: undefined reference to `gtk_event_box_set_visible_window'
Gadget.a(TextGadget.o)(.text+0x1bd): In function `PB_TextGadget2':
: undefined reference to `gtk_event_box_set_visible_window'
collect2: ld returned 1 exit status
Error: Linker
config:
gtk2-2.2.4-12
redhat ES 2.4.21-27.0.1.ELsmp
adgetList(WindowID(0))
TextGadget(0,100,200,50,20,"test")
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf
# pbcompiler test.pb
******************************************
PureBasic 4.00 - Beta 1 (Linux - x86)
******************************************
Loading external modules...
Starting compilation...
8 lines processed.
Creating the executable.
Gadget.a(TextGadget.o)(.text+0xcd): In function `SetGadgetColor':
: undefined reference to `gtk_event_box_set_visible_window'
Gadget.a(TextGadget.o)(.text+0x108): In function `SetGadgetColor':
: undefined reference to `gtk_event_box_set_visible_window'
Gadget.a(TextGadget.o)(.text+0x1bd): In function `PB_TextGadget2':
: undefined reference to `gtk_event_box_set_visible_window'
collect2: ld returned 1 exit status
Error: Linker
config:
gtk2-2.2.4-12
redhat ES 2.4.21-27.0.1.ELsmp