Fatal: Can't find unit GL used by GLPT

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fatal: Can't find unit GL used by GLPT

Darius Blaszyk-2


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Fatal: Can't find unit GL used by GLPT

Darius Blaszyk-2
Hi,

I'm trying to setup Travis CI for GLPT. The build script is:

        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?

The project including Travis CI script is located here: https://github.com/daar/GLPT  

TIA!

Darius

On Fri, Apr 5, 2019 at 9:59 AM Darius Blaszyk <[hidden email]> wrote:


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Fatal: Can't find unit GL used by GLPT

Jonas Maebe-3
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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal