On Wed, 1 Oct 2014 13:39:39 -0700 (PDT)
Brian <[email protected]> wrote:
> Sorry , I wasn't specific about my problem. Using the example in the fpGUI
> distribution (but the following comments are not specific to fpGUI).
>
> I want to use Geany as the IDE without using .CFG files and compiling from
> the commandline.
>
> If UNITPATH is set in the main program (the fpGUI is a good example) , it
> will fail to find fpg_base
> helloworld.pas(27,3) Fatal: Can't find unit fpg_base used by HelloWorld
>
> program HelloWorld;
>
> {$mode objfpc}{$H+}
>
> {$UNITPATH .../fpgui/fpgui-1.2/src/units/i386-linux}
You can give this directive multiple times to add all needed paths.
Or you can pass the unit paths via -Fu in Geany.
Mattias
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal