Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-10-28 Thread Joost van der Sluis via fpc-pascal
Op 02-09-2020 om 00:21 schreef Bo Berglund via fpc-pascal: On Tue, 01 Sep 2020 23:55:08 +0200, Tomas Hajny via fpc-pascal wrote: Well, I believe that this supposed mystery may be resolved easily. ;-) First of all - have you tried to find out what does the displayed error number (232) mean?

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Bo Berglund via fpc-pascal
On Wed, 02 Sep 2020 00:34:23 +0200, Tomas Hajny via fpc-pascal wrote: >On 2020-09-02 00:21, Bo Berglund via fpc-pascal wrote: > > . > . >> Strange because I have read that cthreads must be first in uses in the >> lpr program files in order to make threads work. >> How could it work if I add

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Tomas Hajny via fpc-pascal
On 2020-09-02 00:21, Bo Berglund via fpc-pascal wrote: . . Strange because I have read that cthreads must be first in uses in the lpr program files in order to make threads work. How could it work if I add the dependencies, then it would come later or maybe earlier??? The real requirement

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Bo Berglund via fpc-pascal
On Tue, 01 Sep 2020 23:55:08 +0200, Tomas Hajny via fpc-pascal wrote: >Well, I believe that this supposed mystery may be resolved easily. ;-) >First of all - have you tried to find out what does the displayed error >number (232) mean? Quick searching reveals that runtime error 232 may

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Tomas Hajny via fpc-pascal
On 2020-09-01 23:44, Bo Berglund via fpc-pascal wrote: On Tue, 01 Sep 2020 22:46:55 +0200, Bo Berglund via fpc-pascal wrote: Hi, Further to this mystery: If I remove LazSerialPort from the dependencies and instead put SdpoSerialLaz there instead it also solves the problem: - Program builds

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Bo Berglund via fpc-pascal
On Tue, 01 Sep 2020 22:46:55 +0200, Bo Berglund via fpc-pascal wrote: >STRANGE "SOLUTION", BUT WHY? > >So even though I am not really using *anything* in LazSerial I added >LazSerialPort back to the dependencies and rebuilt the application. >Now the thread creation

Re: [fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Bo Berglund via fpc-pascal
On Tue, 01 Sep 2020 21:07:56 +0200, Bo Berglund via fpc-pascal wrote: >I get an error message when building a project after updating from SVN >to get the sources that build fine on another RPi4 identical in >configuration. > >"Fatal: Cannot find LazSerial used by RemoteIO. Check if package

[fpc-pascal] Lazarus complains that it cannot find a dependency, why?

2020-09-01 Thread Bo Berglund via fpc-pascal
I get an error message when building a project after updating from SVN to get the sources that build fine on another RPi4 identical in configuration. "Fatal: Cannot find LazSerial used by RemoteIO. Check if package LazSerialPort is in the dependencies." The LazSerial dependency has been