[fpc-pascal] Parallel Port Access with Free Pascal - windows

Bo Berglund bo.berglund at gmail.com
Wed Jul 27 18:41:20 CEST 2016


On Tue, 26 Jul 2016 21:48:55 +0200, Bo Berglund
<bo.berglund at gmail.com> wrote:

>On Tue, 26 Jul 2016 11:45:51 +0200, Koenraad Lelong
><fpascal1 at de-brouwerij.be> wrote:
>
>>FWIW, I ported the library to fpc, together with the test/demo software 
>>(x_pigpiod_if2).
>>The fact that the communication goes via the network opens possibilities 
>>though. I tested my port on my laptop, connected to the pi. So 
>>applications running on a remote PC could control the pi's IO.
>>
>>I have no public place to publish this software, so if anyone is 
>>interested, please ask.
>>
>
>I would be interested and I could put it up on my webserver if you
>like a public spot.

I have received the code now but the project contained in the zip does
not build on my RPi3 with Raspbian and Lazarus 1.6 FPC 3.0.

I get the following error message:

Compile Project, Target: x_pigpiod_if2: Exit code 256, Errors: 1
/usr/bin/ld: warning: link.res contains output sections; did you
forget -T?
/usr/bin/ld: cannot find -lpigpiod_if2
x_pigpiod_if2.lpr(21,0) Error: Error while linking

The file it complains about is pigpiod_if2 and is not contained in the
zipfile. But there is a pigpiod_if2.pas file that seems to define a
lot of functions contained in a file with this name...
I do not know if it is an external binary library, which must be
supplied or where it resides.

-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list