[fpc-pascal] Fatal: Can't find unit GL used by GLPT

Jonas Maebe jonas at freepascal.org
Sat Apr 6 22:07:05 CEST 2019


On 05/04/2019 10:04, Darius Blaszyk wrote:
> Hi,
> 
> I'm trying to setup Travis CI for GLPT. The build script is:
> 
>          wget -q 
> ftp://ftp.freepascal.org/pub/fpc/snapshot/v33/i386-win32/fpc-3.3.1.i386-win32.zip;
>          mkdir fpc;
>          unzip -q -d fpc fpc-3.3.1.i386-win32.zip;
>          export PATH="$PATH":"$PWD/fpc/bin/i386-win32/";
> 
> For a simple hello world app it works perfectly. For GLPT, FPC cannot 
> find the GL unit. Is this an fpc.cfg issue? How to solve this problem?

You can compile with -vtu to see which units are loaded and why they are 
(not) accepted.


Jonas



More information about the fpc-pascal mailing list