[fpc-pascal] Cannot find GTK

Marco van de Voort marcov at stack.nl
Tue Dec 9 10:43:18 CET 2008


In our previous episode, Andres Linares said:
> I was trying with some examples about using the GTK library in the
> FreePascal IDE (the blue screen) and it says that this unit is missing.
> Despite that, I could compile them all using fpc from the command
> interpreter.
> 
> What is happenning? Is there any setting I must change in FP?

The IDE has an own internal compiler and maintains its own unitpath.

So either the IDE's compiler is different from your cmdline compiler (check
the version in the about box), _OR_

the unit path in options->directories is not set correctly or completely.
Keep in mind that an asterisk at the end means recursion, just like in
fpc.cfg



More information about the fpc-pascal mailing list