Re: [gtk-list] gtk compile errors



You also need to link your program with the gtk libaries correctly. 
Check if you have gtk+-devel installed (this contains /usr/lib/libgtk.a)
check if you used 

gtk-config --libs

correctly (i.e. if you enclosed it in ` ` rather than ' ' in the gcc
command).



On Mon, 17 Jan 2000, Aaron O'Brien wrote:

> Thanks for the help!  Apparently I don't know the difference between a back
> tick and a forward tick!  I changed my tick marks to the correct kind and
> now get a string of errors saying "undefined reference error to g_print",
> gtk_main_quit, gtk_init, and about half a dozen others.  I ran
> /sbin/ldconfig (thinking it was a linking error), but still got the same
> errors when I re-ran the prog.  Any ideas what I'm doing wrong now?
> 
> Aaron O'Brien
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



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