please, help



I'm new programming with GTK and I can't understand what I'm doing wrong.
When I try to compile it gives me this error.

g++ `wx-config --libs` basic.o -o basic 
/mnt/local/proyecto/wxwindows/wxGTK-2.2.9/lib/libogl.so 
/mnt/local/proyecto/wxwindows/wxGTK-2.2.9/lib/libwx_gtk-2.2.so.6.2.6 
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib 
-lpthread -ldl -lXi -lXext -lX11 -lm  -lpng -ljpeg -ltiff  -ldl    -lpthread  
 -lz -lm

basic.o: In function `MiFrame::GetClassInfo(void) const':
basic.o(.MiFrame::gnu.linkonce.t.GetClassInfo(void) const+0x2): undefined 
reference to `MiFrame::sm_classMiFrame'
/mnt/local/proyecto/wxwindows/wxGTK-2.2.9/lib/libwx_gtk-2.2.so.6.2.6: 
undefined reference to `fnmatch GLIBC_2 2 3'
collect2: ld returned 1 exit status
make: *** [basic] Error 1

Thanks. Sorry about my English.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]