Re: Makefile for GTK2 programs?



On Wed, Aug 18, 2010 at 10:26:45AM +0300, Juhana Sadeharju wrote:
> I have now the following in Makefile. Very messy. It does not work;
> I get errors: undefined reference to `gtk_text_view_new' and the like.

When does the error happen? If it is at run time, you may want to add
-Wl,-R/home/juhana/gtk2/lib to LIBS...

Cheers,

Patrick


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