[fpc-pascal] Free Pascal Directories

Brian vmst at golden.net
Thu Oct 2 00:16:13 CEST 2014


Mattias Gaertner wrote
> On Wed, 1 Oct 2014 13:39:39 -0700 (PDT)
> Brian <

> vmst@

> > 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
> 
> Thanks Mattias , I understand how to add the directive multiple times .
> 
> Do you have an example of how you can pass the unit paths via -Fu in Geany
> ?
> 
> Thanks in advance
> Brian
> _______________________________________________
> fpc-pascal maillist  -  

> fpc-pascal at .freepascal

> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal





--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Free-Pascal-Directories-tp5720212p5720238.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list