installation versions for PascalIO library lazarus / 32-Linux ---------------------------------------------------------------------- pascalbythree · 2024-07-11 19:24 https://github.com/SAmeis/pascalio Does anybody have a version for freepascal and for lazarus to successfully compile and install the pascalio library ? Greets, PascalByThree ---------------------------------------------------------------------- TRon · 2024-07-12 05:43 Hi pascalbythree It would be more productive to answer the question why the instructions as listed on that github repo do not work for you and show some error output. Right now this is wasting my/our time doing the work for you with the conclusion that it seems that the packages compile out of the box. A simple test: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i wget https://github.com/SAmeis/pascalio/archive/master.zipunzip master.zipcd pascalio-masterfpc -Mobjfpc -B -Fusrc pascalio.pas  which resulted in Code: [Select]Free Pascal Compiler version 3.2.2 [2021/05/16] for x86_64 Copyright (c) 1993-2021 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling pascalio.pas Compiling ./src/fpspi.pas Compiling ./src/spidev.pas fpspi.pas(158,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(169,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(175,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(181,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(187,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(199,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(205,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(211,5) Note: Call to subroutine "procedure TSPILinuxDevice.DoIoCtlError(Ndx:QWord);" marked as inline is not inlined fpspi.pas(244,14) Note: Call to subroutine "function FpOpen(const path:RawByteString;flags:LongInt):LongInt;" marked as inline is not inlined fpspi.pas(257,13) Note: Call to subroutine "function FpRead(fd:LongInt;var buf:;nbytes:QWord):Int64;" marked as inline is not inlined fpspi.pas(262,13) Note: Call to subroutine "function FpWrite(fd:LongInt;const buf:;nbytes:QWord):Int64;" marked as inline is not inlined Writing Resource String Table file: fpspi.rsj Compiling ./src/fpspilib.pas Compiling ./src/fpadc.pas fpadc.pas(88,23) Warning: Function result does not seem to be set Writing Resource String Table file: fpadc.rsj Compiling ./src/fpgpio.pas fpgpio.pas(129,10) Warning: Constructor should be public fpgpio.pas(149,10) Warning: Constructor should be public Compiling ./src/fpsysfs.pas fpsysfs.pas(92,9) Note: Call to subroutine "function FpOpen(const path:RawByteString;flags:LongInt):LongInt;" marked as inline is not inlined fpsysfs.pas(95,16) Note: Call to subroutine "function FpRead(fd:LongInt;var buf:;nbytes:QWord):Int64;" marked as inline is not inlined fpsysfs.pas(116,9) Note: Call to subroutine "function FpOpen(const path:RawByteString;flags:LongInt):LongInt;" marked as inline is not inlined fpsysfs.pas(119,3) Note: Call to subroutine "function FpWrite(fd:LongInt;const buf:;nbytes:QWord):Int64;" marked as inline is not inlined Writing Resource String Table file: fpsysfs.rsj fpgpio.pas(570,9) Note: Call to subroutine "function FpOpen(const path:RawByteString;flags:LongInt):LongInt;" marked as inline is not inlined fpgpio.pas(576,5) Note: Call to subroutine "function FpRead(fd:LongInt;var buf:;nbytes:QWord):Int64;" marked as inline is not inlined fpgpio.pas(611,19) Warning: Function result does not seem to be set fpgpio.pas(653,3) Note: Local variable "ValueIndex" is assigned but never used Writing Resource String Table file: fpgpio.rsj Compiling ./src/fpi2c.pas Compiling ./src/i2c_dev.pas Compiling ./src/flqueue.pas fpi2c.pas(503,26) Warning: Function result variable does not seem to be initialized fpi2c.pas(718,14) Note: Call to subroutine "function FpOpen(const path:RawByteString;flags:LongInt):LongInt;" marked as inline is not inlined Writing Resource String Table file: fpi2c.rsj Compiling ./src/gpioexp.pas Compiling ./src/mcp23017.pas mcp23017.pas(82,5) Warning: Constructor should be public Writing Resource String Table file: mcp23017.rsj Compiling ./src/bitmanip.pas gpioexp.pas(389,19) Warning: function result variable of a managed type does not seem to be initialized gpioexp.pas(419,19) Warning: function result variable of a managed type does not seem to be initialized gpioexp.pas(447,19) Warning: function result variable of a managed type does not seem to be initialized Compiling ./src/pca9685.pas Compiling ./src/fppwm.pas 4910 lines compiled, 0.2 sec 9 warning(s) issued 19 note(s) issued Which tells us that all necessary units compiled without compilation error. I have no reason to doubt that building the GUI component would fail. ---------------------------------------------------------------------- gidesa · 2024-07-12 11:30 Hello, I successfully installed PascalIo using fpcDeluxe on Lazarus 2.2.6/Fpc 3.2.2, O.S. Win 11 64 bit. But indeed note that the associate package PascalIoGui doesn't compile. [Edit] I use it to cross compile to Arm for Armbian OS. ---------------------------------------------------------------------- TRon · 2024-07-13 09:18 Quote from: gidesa on July 12, 2024, 01:30:12 pmBut indeed note that the associate package PascalIoGui doesn't compile. Noted but exactly how many of the example projects uses that component ? (which btw is besides the fact that the 'error' can be fixed fairly easy and even besides that here is the wrong place to ask here since it is about a github project and chances that the repo owner also lurks around here is probably next to none) :shrugs: fwiw: TS did not respond whatsoever so that leaves us to find whatever the issue is TS is running into or doesn't grasp. My crystal balls are all shattered into oblivion ages ago and I simply lack to the time. ---------------------------------------------------------------------- Thaddy · 2024-07-14 10:17 Yes, the GUI component is also more than 10 years old, so no wonder it does not compile anymore. Anyway, you don't need it. The rest of pascalio simply compiles - it is written in freepascal - but also note not everything is actually implemented and some units are incomplete or otherwise need attention.