Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-10

Hello from new user.

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

bobby
Show quoted text 27 lines
> + and I've downloaded cygwin. (I'm trying to build a windows compile). > + > + I've also installed all these beasts, but when I try to compile the > lazarus > + (using cygwin), it gives me errors. The last few lines of the > + make are as follows: > + > + Compiling interfaces.pp > + Compiling .\interfaces\gtk\gtkint.pp > + Fatal: Can't find unit GTK > + make[1]: *** [allunits.exe] Error 1 > + make: *** [lcl_all] Error 2 > > + I've also downloaded python (which I believe include gtk > + stuff), and I've got gtk stuff in my c:\windows directory. > + What's it looking for? > >It can't find the gtk.ppw >It is distributed with fpc. I don't know where it is placed, but your > ppc386.cfg should point to it. From: (Marco van de Voort) $(BASEDIR)/units/$(PLATFORM)/gtk Where basedir is the installation directory (e.g. c:\fpc or /usr/local/lib/fpc), and PLATFORM the supported platform (linux, os2,win32,go32v2 or freebsd)

Is this just a Win32 issue? I've have the same exact problem. I'm not understanding the solution presented though. Do you mean that a line should be added to my ppc386.cfg file that reads something like this:(?)

$d:\pp/units/$win32/gtk

If so, where should that go in the ppc386.cfg file? I've looked that file over (and over and over) and I see no reference to I do see:

# searchpath for units and other system dependent things -Fud:\pp/units/$TARGET
-Fud:\pp/units/$TARGET/*
-Fud:\pp/units/$TARGET/rtl

Should something be added here? I've tried all I know to do. I even copied the gtk and related .dlls to every possibly related directory and I still get the error. I've seen many references to GTK in makefile, makefile.fpc, and a number of other files and different directories, but figgererd it out yet, I aint. Any reports of someone actually having this up and running on a win95 box?
Any help appreciated. Thanks in advance

Michael A. Hess
to bobby
bobby wrote 6 lines
Is this just a Win32 issue? I've have the same exact problem. I'm not understanding the solution presented though. Do you mean that a line should be added to my ppc386.cfg file that reads something like this:(?) $d:\pp/units/$win32/gtk

No you shouldn't need it.

The gtk.ppw file is located in the c:\pp\units\win32 directory. The .cfg line:

-Fud:\pp/units/$TARGET

would take care of pointing the compiler to the correct location.

Now if it is complaining about not finding gtkint.pp that is because it is either looking for the .ppw file and can't find it or it needs to rebuild the .ppw file due to file date changes with relation to some other files. That latter means that you need to have the source installed as well as the compiled unit.

I even copied the gtk and related .dlls to every possibly related directory and I still get the error.

This error doesn't have anything to do with the gtk.dll files. What it is complaining about is that it is trying to find the gtk unit files which are used to talk to the gtk.dlls. They are the wrappers to the gtk+ library.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com
Chris
to bobby: Is this just a Win32 issue? I've have the same exact problem. I'm not understanding the…

The trick is to go to the free pascal site and download the gtk snapshot. Things work much better then.

Chris Bruner

Earlier message 65 lines
----- Original Message ----- From: "bobby" To: Sent: Thursday, October 05, 2000 11:41 PM Subject: Re: [lazarus] Hello from new user. > >> + and I've downloaded cygwin. (I'm trying to build a windows compile). > >> + > >> + I've also installed all these beasts, but when I try to compile the > >> lazarus > >> + (using cygwin), it gives me errors. The last few lines of the > >> + make are as follows: > >> + > >> + Compiling interfaces.pp > >> + Compiling .\interfaces\gtk\gtkint.pp > >> + Fatal: Can't find unit GTK > >> + make[1]: *** [allunits.exe] Error 1 > >> + make: *** [lcl_all] Error 2 > >> > >> + I've also downloaded python (which I believe include gtk > >> + stuff), and I've got gtk stuff in my c:\windows directory. > >> + What's it looking for? > >> > >>It can't find the gtk.ppw > >>It is distributed with fpc. I don't know where it is placed, but your > >> ppc386.cfg should point to it. > > >From: (Marco van de Voort) > >$(BASEDIR)/units/$(PLATFORM)/gtk > > >Where basedir is the installation directory (e.g. c:\fpc or > >/usr/local/lib/fpc), and PLATFORM the supported platform (linux, > >os2,win32,go32v2 or freebsd) > > Is this just a Win32 issue? I've have the same exact problem. I'm not > understanding the solution presented though. Do you mean that a line should > be added to my ppc386.cfg file that reads something like this:(?) > > $d:\pp/units/$win32/gtk > > If so, where should that go in the ppc386.cfg file? I've looked that file > over (and over and over) and I see no reference to I do see: > > # searchpath for units and other system dependent things > -Fud:\pp/units/$TARGET > -Fud:\pp/units/$TARGET/* > -Fud:\pp/units/$TARGET/rtl > > Should something be added here? I've tried all I know to do. I even copied > the gtk and related .dlls to every possibly related directory and I still > get the error. I've seen many references to GTK in makefile, makefile.fpc, > and a number of other files and different directories, but figgererd it out > yet, I aint. Any reports of someone actually having this up and running on > a win95 box? > Any help appreciated. Thanks in advance > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus