----- Original Message ----- From: Eike Lange eike.lange@uni-essen.de To: gpc@gnu.de Sent: Monday, January 14, 2002 1:55 PM Subject: Re: Problems with GtkUnit
Hi!
On Mon, Jan 14, 2002 at 12:07:31PM +0100, Klaus F.
Østergaard wrote:
But when I try to compile the simple helloworld.pas with this: gpc -O2 -Wall --automake helloworld.pas -o ../../../pascal/bin/helloworld I get this error: In file included from helloworld.pas:5: ../units/gtk.inc:23: module/unit `gtkmarshal' could not
be
compiled In the helloworld I have changed the path from
'../units' to
'/home/klaus/temp/gtk/units'
Ty this:
gpc -O2 -Wall \ --unit-path=/home/klaus/temp/gtk/units \ --automake helloworld.pas -o
Is gtkmarshal.pas available?
Eike
Thanks Eike,
When I try that I get following error:
/home/klaus/temp/GtkUnits-20010602/units/gtkmainc.c:2: gtk/gtkmain.h: No such file or directory gpc1: gpc exited with status 1 gpc1: gpc exited with status 1
Is it because is should rename GtkUnits-20010602 to gtk? Just to make it clear, the path both in the hellowaorld.pas and on the -unit-path= ... is the same. The strange thing is that when I installed the GtkUnit I unzipped the unit and run make, and make did as I could see compile all the tutorials with gpc. and when I now try to compile I get these errors.
Klaus