[lazarus] Hello from new user.

bobby bobby at tbi.net
Thu Oct 5 23:30:01 EDT 2000


>> + 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: marcov at stack.nl (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 gtk at all. Now 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   
  






More information about the Lazarus mailing list