Using GTK2? lazarus / 10-Designer ---------------------------------------------------------------------- xcap · 2005-05-14 21:25 Hi I'd like to know what must I do in order to have my application using gtk2 in linux, because every time I try to compile my project I get the following message: Fatal: Can't find unit interfaces I know that I have all the needed packages installed but I don't know how to configure it. Could someone help me? Thanks ---------------------------------------------------------------------- Vincent Snijders · 2005-05-17 08:22 You need to compile the interfaces unit for gtk2. In Lazarus, choose Tools -> Configure build Lazarus. Set LCL to build and all others to none, uncheck the "Clean all" checkbox and choose the gtk2 LCL interface. Close the dialog with OK. Choose Tools -> Build Lazarus. And try compiling you applocation again. ---------------------------------------------------------------------- Mathijs · 2006-02-25 11:41 Quote from: "Vincent"You need to compile the interfaces unit for gtk2. In Lazarus, choose Tools -> Configure build Lazarus. Set LCL to build and all others to none, uncheck the "Clean all" checkbox and choose the gtk2 LCL interface. Close the dialog with OK. Choose Tools -> Build Lazarus. And try compiling you applocation again. I'm trying to make a 'hello world' gtk2 application. I did what you said: rebuild the LCL with LCL interface set to gtk2. During the recompile of LCL, I got the crypic error message pasted below. Anyone a idea what could be wrong? Code: [Select]make[2]: *** [../../units/x86_64-linux/gtk2] Error 1 Cheers, M. ---------------------------------------------------------------------- felipemdc · 2006-03-20 12:26 What is your Lazarus / free pascal version? Gtk2 works here ... ---------------------------------------------------------------------- matthijs · 2006-03-20 16:26 Quote from: "sekel"What is your Lazarus / free pascal version? Gtk2 works here ... At least he seems to be using 64-bit version. So it might be a X86_64 problem.