Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Bo Berglund via lazarus
On Tue, 21 Feb 2023 19:18:28 +0100, Bo Berglund via lazarus wrote: >I was trying to nail down the reason for the fppkg errors on start of Lazarus >2.2.4. >I had the install running fine except for the Config screen showing up on every >start of Lazarus with an error message about fp

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 10:43:35 +0100, Bo Berglund via lazarus wrote: >Lacking any advice here I started over by removing the old Lazarus directory >and >the pcp dir and then build from start with a new set of source files in a fresh >2.2.4 subdir... > >All was Ok until again

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 18:05:25 +0100, Ondrej Pokorny via lazarus wrote: >On 22.02.2023 18:01, Bo Berglund via lazarus wrote: >> So now I have found a package in OnLinePackageManager that will hose Lazarus >> if >> installed: >> BGRABitmap >> >> Up un

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-23 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 22:59:15 +0100, Werner Pamler via lazarus wrote: >You uninstall a package in the "Package" > "Install/Uninstall packages" >dialog. Select the package to be removed in the left list, click >"Uninstall selection" and then "Save and Rebuild IDE". I did the "Uninstall selection

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-15 Thread Bo Berglund via lazarus
On Thu, 9 Mar 2023 10:31:17 +0100, Mattias Gaertner via lazarus wrote: >The Lazarus team is glad to announce the release of Lazarus 2.2.6. > >This is a bugfix release and was built with FPC 3.2.2. > I did not know of this when I yesterday went to install the latest Lazarus release from sources o

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Bo Berglund via lazarus
On Thu, 16 Mar 2023 09:05:06 +0100, Martin Frb via lazarus wrote: >On 16/03/2023 07:53, Bo Berglund via lazarus wrote: >> The install seems to have worked, but seeing this release comment I >> now have to >> ask if 3.2.2 is a *requirement* for proper operation or if it j

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Bo Berglund via lazarus
On Thu, 16 Mar 2023 20:00:02 +0100, Martin Frb via lazarus wrote: >On 16/03/2023 18:46, Bo Berglund via lazarus wrote: >> >> But it also seems like on each system there is only one version of fpc that >> can >> be "active" (at least on Linux) because its co

[Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-16 Thread Bo Berglund via lazarus
I have used Lazarus 2.2.6 with fpc 3.2.2 on an Ubuntu 22.04 PC (recently dist-upgraded from 20.04) to modify a video handling command line utility I started back in 2018. It uses calls to ffmpeg to do the actual video stuff and it was originally built using earlier versions of Lazarus (2.0.12) and

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus wrote: >Some portability is obtained if the libraries are linked as "static" . >If "dynamic" linking is selected , during execution of the program , >the "same" library should be in the executing computer . > How is this accom

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 08:43:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >FPC has not changed. It still works the same. >Everything that is under control of FPC is linked statically. > >But a complex GUI system like the LCL uses GTK/GDK/Qt and other libraries, >and those are dynamic, ex

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 14:17:11 +0100, Sven Barth via lazarus wrote: >Bo Berglund via lazarus schrieb am Fr., 17. >März 2023, 13:54: >> This aplication is a console (i.e NO GUI) application and it only uses >> these >> units: >> >> videosplitcmb.lpr: >>

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 14:28:28 +0100 (CET), Michael Van Canneyt via lazarus wrote: >> Since I am only using FPC units, how can I know??? > >You want to say that you don't even know what the units do that you are using ? > >You have no idea how scary that is to me... > No, I wanted to say how could

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-26 Thread Bo Berglund via lazarus
On Thu, 16 Mar 2023 20:48:29 +0100, Giuliano Colla via lazarus wrote: >Il 16/03/2023 18:46, Bo Berglund via lazarus ha scritto: > >> I have a number of Lazarus releases installed where 3.0.4 is the fpc used. >> So they all used the same and there was no problem. >> (This

[Lazarus] Can older Lazarus use newer FPC?

2023-03-28 Thread Bo Berglund via lazarus
If I already have some Lazarus versions installed when FPC stable was 3.0.4 and I later install FPC 3.2.0 or 3.2.2, can I then change the compiler to use for the older Lazarus versions to the new Fpc? If I look at the Lazarus Tools/Options/Environment/Files I see items like: Compiler executable:

[Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-03-31 Thread Bo Berglund via lazarus
I am investigating the possibilities to use IPC between a Lazarus and a Delphi7 application running on Windows. I was discussing this on the Lazarus forum where I got a tip to use SimpleIPC, which apparently is delivered with the Fpc compiler itself. The tip was given in this post: https://forum.l

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Bo Berglund via lazarus
On Sat, 1 Apr 2023 01:58:05 +0200, Giuliano Colla via lazarus wrote: >Among the internet examples of Delphi 7 you should find a small app named >netchat, >which provides a basic IPC. It’s quite simple and bullet-proof. I’ve converted >to >Lazarus on Linux, and used as a base for my needs of IP

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Bo Berglund via lazarus
On Sat, 01 Apr 2023 09:37:00 +0200, Bo Berglund via lazarus wrote: >On Sat, 1 Apr 2023 01:58:05 +0200, Giuliano Colla via lazarus > wrote: > >>Among the internet examples of Delphi 7 you should find a small app named >>netchat, >>which provides a basic IPC. It’s quite

[Lazarus] Lazarus/Fpc on RaspberryPi4 - linkxxx.res files stack up, why?

2023-04-05 Thread Bo Berglund via lazarus
Does someone here know what I can do in order not having my project folder polluted by numerous files named link.res where is a decimal number apparently random in nature? Yesterday I removed about 20 of these files and now again I have 8 new such files in the directory... Is there some s

Re: [Lazarus] Lazarus/Fpc on RaspberryPi4 - linkxxx.res files stack up, why?

2023-04-05 Thread Bo Berglund via lazarus
On Wed, 5 Apr 2023 23:06:09 +0200, John Landmesser via lazarus wrote: >Am 05.04.23 um 20:50 schrieb Bo Berglund via lazarus: >> Does someone here know what I can do in order not having my project folder >> polluted by numerous files named link.res where is a decimal numbe

Re: [Lazarus] AutoSave does not save project file...

2023-04-06 Thread Bo Berglund via lazarus
On Thu, 20 May 2021 21:10:10 +0200, Bo Berglund via lazarus wrote: >On Sun, 11 Apr 2021 11:29:36 +0200, Bo Berglund via lazarus > wrote: > >>I have installed AutoSave from the OnlinePackageManager on all of my numerous >>Lazarus installations and in general it works well. &

[Lazarus] Lazarus 2.2.6/Fpc 3.2.2 Win-32 - Cannot add desktops, why?

2023-04-10 Thread Bo Berglund via lazarus
I was following my notes on how to configure a newly installed Lazauus to my liking when I stumbled across an item I have not seen AFAICT: Normally I configure different desktops to use for different types of application, for example the one for standard GUI applications is different from what I u

[Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-15 Thread Bo Berglund via lazarus
I have a project that builds fine on one RPi4 where I have installed Lazarus 2.2.6/Fpc 3.2.2 from sources. This is a rather old device and I am trying to create a backup build unit to migrate into On this I have installed the same versions but using fpcupdeluxe for arm-linux. On the new unit some

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-16 Thread Bo Berglund via lazarus
On Sat, 15 Apr 2023 13:41:57 +0200, Bo Berglund via lazarus wrote: >I have a project that builds fine on one RPi4 where I have installed Lazarus >2.2.6/Fpc 3.2.2 from sources. >This is a rather old device and I am trying to create a backup build unit to >migrate into >On this I

[Lazarus] Is there a setting to include debug symbols when starting from Lazarus only?

2023-04-16 Thread Bo Berglund via lazarus
Las 2.2.6/Fpc 3.2.2 I use the config item: Project/ProjectOptions/CompilerOptions/Debugging/GenerateInfoForTheDebugger in order to include symbols or not in the executable. Now I wonder if there is some way to configure this such that it works like this: - Use Run menu Build or Compile: no symbo

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-16 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 10:58:18 +0200, Bo Berglund via lazarus wrote: >And now the project as checked out via subversion builds fine and works as it >should. It builds both on Windows10 and on RaspberryPi4. > >So the errors I had before must be related to the older operating system &

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-16 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 20:25:18 +0200, Jean SUZINEAU via lazarus wrote: >Unfortunately my lazarus is installed in French , I don't have the exact >label of the menu item in English, > >But usually for this kind of problem I use "Nettoyer et construire" in >"Exécuter" menu. > >I imagine that in Eng

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-19 Thread Bo Berglund via lazarus
On Mon, 17 Apr 2023 10:32:51 +0200, Mattias Gaertner via lazarus wrote: >On Mon, 17 Apr 2023 10:11:28 +0200 >Giuliano Colla via lazarus wrote: > >> Il 17/04/2023 08:15, Bo Berglund via lazarus ha scritto: >> >> > You never stop learning! >> >> An

[Lazarus] Code editor column mode does not work...

2023-04-19 Thread Bo Berglund via lazarus
I am coding on a headless RaspberryPi4B via RealVNC and it works rather well from my Windows 10 workstation. But there is one item I have yet to figure out: How can I enable column selection with the mouse? If I use the Alt key and click where I want to start the selection then when I move the mo

Re: [Lazarus] Is there a setting to include debug symbols when starting from Lazarus only?

2023-04-19 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 13:32:12 +0200, Martin Frb via lazarus wrote: > >On 16/04/2023 11:15, Bo Berglund via lazarus wrote: >> - Use Run menu Build or Compile: no symbols should be included. >> - Click the green run arrow button then the symbols will be included. > > >

Re: [Lazarus] Code editor column mode does not work...

2023-04-23 Thread Bo Berglund via lazarus
On Wed, 19 Apr 2023 21:50:07 +0200, Marco van de Voort via lazarus wrote: > >On 19-4-2023 19:24, Martin Frb via lazarus wrote: >> >> Sounds like the OS / desktop manager grabs the mouse first. >> >> 2 possibilities. >> >> 1) change the OS config (if possible / I don't know) >> >> 2) Tools > Optio

[Lazarus] Cannot use bookmarks in code window - why?

2023-04-23 Thread Bo Berglund via lazarus
I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine (RaspberryPi4). I installed Laz/Fpc using fpcupdeluxe if that matters. Now I have gotten to a project size that really needs the ability to set/clear/jumpto bookmarks. But I have found no way to set a bookmark here! I am pr

Re: [Lazarus] Cannot use bookmarks in code window - why?

2023-04-23 Thread Bo Berglund via lazarus
On Sun, 23 Apr 2023 19:55:48 +0200, Martin Frb via lazarus wrote: >On 23/04/2023 19:39, Bo Berglund via lazarus wrote: >> I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine >... >> I have looked at the same version of Lazarus on my Windows workstation and

Re: [Lazarus] MJPEG streamer

2023-07-23 Thread Bo Berglund via lazarus
On Sun, 23 Jul 2023 18:35:05 +1000, Steve Gatenby via lazarus wrote: >Would anybody know if there is a component / code to enable reading an >mjpeg stream from a http camera to a Lazarus form/panel (or anything really) > >Dont mind installing libraries etc - > >Looking to suit Linux specifically

[Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
I have now installed the 64 bit version of PiOS on an RPi4B device. If I install Lazarus/FPC on that can it create applications both for 32 and 64 bit RPi operating systems? Or do I have to install two versions of Lazarus and/or FPC to be able to do that? It would be nice to have only one Lazaru

Re: [Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
On Wed, 15 Nov 2023 19:52:51 +0300, Alexey Torgashin via lazarus wrote: >fpcUpDeluxe allows to install additional FPC folder. with 'crosses' - >for ex, I have additional FPC on Linux with crosses for Windows, Linux >ARM, *BSD x32+x64, macOS x64+ARM. In the IDE you can specify that new >FPC ins

Re: [Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
On Wed, 15 Nov 2023 20:25:58 +0300, Alexey Torgashin via lazarus wrote: >> then I have to use fpcupdeluxe to install Lazarus + FPC then. > >Lazarus can be old. Only FPC need to be installed from Deluxe. Old >Lazarus - in it, specify path for new FPC. >Alex I asked on the Lazarus forum as well,

Re: [Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
On Wed, 15 Nov 2023 21:53:11 +0100, Bo Berglund via lazarus wrote: >I refer the discussion over to the Lazarus forum (see link above). Just a quick follow-up here: It seems like the fpc sources have not been updated with the solution to the bug discussed here: https://gitlab.com/freepascal.

[Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
I have installed Lazarus on a Raspberry Pi4B running bookworm 64 bit operating system. I first tried to use fpcupdeluxe to do it but it fails miesrably with a linker error when building fpc. So then I decided to try the following: 1) Use apt install fpc to getb the latest 3.2.2 compiler installed.

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
On Thu, 16 Nov 2023 14:27:27 +0100, John Landmesser via lazarus wrote: >Am 16.11.23 um 13:30 schrieb Bo Berglund via lazarus: >> I have installed Lazarus on a Raspberry Pi4B running bookworm 64 bit >> operating >> system. >> I first tried to use fpcupdeluxe to do it

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
On Thu, 16 Nov 2023 16:49:25 +0100, Werner Pamler via lazarus wrote: >Am 16.11.2023 um 13:30 schrieb Bo Berglund via lazarus: >> 2) Retrieve the Lazarus 2.2.6 sources from GitLab >IIRC, the fppkg check has been by-passed by Laz 3.0. So, please try to >install the RC2 of v3, or

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
On Thu, 16 Nov 2023 18:49:46 +0100, Bo Berglund via lazarus wrote: >On Thu, 16 Nov 2023 16:49:25 +0100, Werner Pamler via lazarus > wrote: > >>Am 16.11.2023 um 13:30 schrieb Bo Berglund via lazarus: >>> 2) Retrieve the Lazarus 2.2.6 sources from GitLab >>IIRC, the

[Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-19 Thread Bo Berglund via lazarus
I created a video editing tool back in 2018 or so in order to help pinpointing cut points for editing mp4 videos. At the time I did not find anything useful other than PasLibVLC, which I have been using since then on Windows. It works OK for what I need but I have to install the custom package int

Re: [Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-19 Thread Bo Berglund via lazarus
On Sun, 19 Nov 2023 14:50:34 +0100, Bo Berglund via lazarus wrote: >procedure TfrmMainVlc.FormCreate(Sender: TObject); >begin > FPlayer:=TLCLVLCPlayer.Create(Self); > FPlayer.ParentWindow:=PVideo; > FPlayer.OnPositionChanged:=@DoPositionChanged; //Set event handle

Re: [Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-20 Thread Bo Berglund via lazarus
On Sun, 19 Nov 2023 14:50:34 +0100, Bo Berglund via lazarus wrote: >Lazarus contains LibVLC as a standard package available to be installed in the >GUI using Package/Install-remove packages! No download needed from external >sources! >Anyway, I have been experimenting with the ex

[Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
As I have written in other posts I am trying to port a video application from Windows to Linux, specifically on Raspberry Pi4B with either bullseye or bookworm operating systems. The application runs very well on Windows and is based on PasLibVLC found here: https://prog.olsztyn.pl/paslibvlc/ But

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
On Tue, 21 Nov 2023 16:23:37 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Tue, 21 Nov 2023, Bo Berglund via lazarus wrote: > >> As I have written in other posts I am trying to port a video application from >> Windows to Linux, specifically on Raspberry Pi4B

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
On Tue, 21 Nov 2023 18:05:22 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Tue, 21 Nov 2023, Bo Berglund via lazarus wrote: > >Where did you find paslibvlc ? I found it here years ago: https://prog.olsztyn.pl/paslibvlc/ And the first commit to my video tool in s

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
On Tue, 21 Nov 2023 19:29:58 +0100, Bo Berglund via lazarus wrote: >- Set video speed --- >To set the speed this is what I use in my code: > >procedure TfrmMain.btnFFClick(Sender: TObject); >begin > vlcPlayer.SetPlayRate(speSpeed.Value); >

[Lazarus] Lazarus make clean fails...

2023-12-02 Thread Bo Berglund via lazarus
I have installed Lazarus 2.2.6 from sources on my RPi4B using fpc 3.2.0. This works fine. Then I compiled fpc 3.2.2 to get to a later version and did a make install/make sourceinstall on that version of fpc. Then I wanted to rebuild Lazarus with the new fpc so I first tried with a Lazarus rebuild

Re: [Lazarus] Lazarus make clean fails...

2023-12-03 Thread Bo Berglund via lazarus
On Sat, 02 Dec 2023 19:03:41 +0100, Bo Berglund via lazarus wrote: >And concerning the compiler: > >$ which fpc >/home/bosse/bin/fpc > >$ which ppcarm >/home/bosse/bin/ppcarm > >$ fpc >Free Pascal Compiler version 3.2.2 [2023/11/29] for arm > >$ ppcarm >F

Re: [Lazarus] Lazarus make clean fails...

2023-12-04 Thread Bo Berglund via lazarus
On Sun, 3 Dec 2023 21:45:57 +0100 (CET), Michael Van Canneyt via lazarus wrote: >> Now I still get the same error when I try to do the make clean operation. >> >> ~/devtools/lazarus/2.2.6 $ make clean >> make: -iVSPTPSOTO: No such file or directory >> Makefile:234: *** The Makefile doesn't suppor

Re: [Lazarus] Lazarus make clean fails...

2023-12-04 Thread Bo Berglund via lazarus
On Mon, 4 Dec 2023 11:40:02 +0100 (CET), Michael Van Canneyt via lazarus wrote: >If you have multiple compilers on your system, you may be using a different >compiler compared to when you do not specify this parameter. I have several fpc:s too... >I always specify the starting compiler (because

[Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-04 Thread Bo Berglund via lazarus
I have built a new system where I have installed fpc 3.2.2 and Lazarus 2.2.4 from sources like I normally do. In this case I have encountered a very strange issue never seen before but repeatable using both 2.2.4 and 2.2.6. All seems OK until I use the Tools/Options/Editor/Display/Color window to

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-04 Thread Bo Berglund via lazarus
On Mon, 04 Dec 2023 15:58:59 +0100, Bo Berglund via lazarus wrote: >I have built a new system where I have installed fpc 3.2.2 and Lazarus 2.2.4 >from sources like I normally do. > >In this case I have encountered a very strange issue never seen before but >repeatable using both

[Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

2023-12-06 Thread Bo Berglund via lazarus
Since every customization of Lazarus means the IDE must be rebuilt it also means that Lazarus must be installed where the current user has permissions to do that. But when installing stuff via sudo apt install package it normally gets into read-only locations, right? So how does this work? I hav

Re: [Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

2023-12-07 Thread Bo Berglund via lazarus
On Thu, 7 Dec 2023 00:34:01 +0100, Mattias Gaertner via lazarus wrote: > > >On 07.12.23 00:05, Bo Berglund via lazarus wrote: >> Since every customization of Lazarus means the IDE must be rebuilt it also >> means >> that Lazarus must be installed where the current

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-07 Thread Bo Berglund via lazarus
On Mon, 04 Dec 2023 19:18:28 +0100, Bo Berglund via lazarus wrote: >Has anyone here managed to get Lazarus 2.2.6 running on a headless Raspberry >Pi4B with 32 bit PiOS bookworm and using VNC to access it? So the mystery remains even after I have done this on my RPi4B: - Stopped and di

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-07 Thread Bo Berglund via lazarus
On Thu, 07 Dec 2023 18:34:57 +0100, Bo Berglund via lazarus wrote: >I will make a new attempt by starting over from scratch on a new system disk >and >just install fpc/lazarus and of course xrdp so I can use the desktop on the >headless system. But it will take some time to reach th

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-08 Thread Bo Berglund via lazarus
On Fri, 8 Dec 2023 09:18:17 +0100, Jean SUZINEAU via lazarus wrote: >May be you'll find some information in the log, something like : > >cat /var/log/xrdp.log > This is how the 13 minute session end was logged: [20231207-21:44:04] [INFO ] sesman connect ok [20231207-21:44:04] [INFO ] sending lo

[Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-10 Thread Bo Berglund via lazarus
I am setting up my new RPi3B with 64 bit Pi-OS Bookworm and have now come to FreePascal/Lazarus. Freepascal is built from sources (trunk of 3.2.3) using a seed compiler 3.2.2 earlier obtained as an apt install on an RPi4B also running Pi-OS 64 bit Bookworm. On this new system I want to build from

Re: [Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-10 Thread Bo Berglund via lazarus
On Sun, 10 Dec 2023 20:01:15 +0300, Maxim Ganetsky via lazarus wrote: >> So I am using the self-compiled fpc 3.2.3 to build Lazarus 2.2.6 and it fails >> during build with the following exit message (only end of output shown): >This combination of FPC and Lazarus won't work. You should use head

Re: [Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-10 Thread Bo Berglund via lazarus
On Sun, 10 Dec 2023 20:10:38 +0300, Mehmet Erol Sanliturk via lazarus wrote: >There is a statement > > 90 {$ENDIF} > >Its outside of {$IFDEF } is not listed . >It is very likely that > >mrNone..mrLast > >values are defined outside of ( IFDEF , ENDIF ) pairs . > Below is the full text of that f

Re: [Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-11 Thread Bo Berglund via lazarus
On Mon, 11 Dec 2023 07:49:25 +0300, Mehmet Erol Sanliturk via lazarus wrote: >( 1 ) > >Please notice statement 3 : > >1 unit UITypes >2 {$IF FPC_FULLVERSION >= 30200} >3 deprecated 'Use System.UITypes instead (available since FPC 3.2.0)'; > >( 2 ) > >Present form of this unit is defective : > >2

[Lazarus] Proper procedure after changing files for an installed package?

2023-12-25 Thread Bo Berglund via lazarus
This is using Lazarus 3.0.0. I have a package with a GUI component which files I have downloaded on-line. The files are stored in a subdirectory to the pcp directory of Lazarus. The package has been "installed" in Lazarus earlier. Now I have retrieved updated files for this package and I wonder wh

[Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-12 Thread Bo Berglund via lazarus
I wrote a commit reporting application for Windows Server16 back in 2018 using then current Lazarus/Fpc. It is a command line program called from a hook in subversion to distribute the log message and details of commits among co-workers. It uses Indy 10.6.2 to do its job. The mailer class has thes

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-13 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 09:31:19 +0100, Jean SUZINEAU via lazarus wrote: >I am not sure but it looks like your program is using TLS v1 protocol. >I think that TLS v1 is deprecated and now your SMTP mailserver requires >a newer version of TLS. >May be your SMTP mailserver / Windows Server 2016 has be

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-13 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 09:30:17 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Sat, 13 Jan 2024, Bo Berglund via lazarus wrote: > >> I wrote a commit reporting application for Windows Server16 back in 2018 >> using >> then current Lazarus/Fpc. >>

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-13 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 17:03:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >Or you use the system installed mailer. That's what I do. >I write the mail to file and invoke sendmail. > >No hassle with TLS, failed connections and whatnot. >sendmail will do what it takes, even retry in case of

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-14 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 17:03:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >You could also use Synapse. I always prefer synapse over Indy. > So I have now verified that I cannot use Indy10 for email sending anymore :( ... I have used Indy since a very long time like 20 years or so when de

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-14 Thread Bo Berglund via lazarus
On Sun, 14 Jan 2024 12:54:08 +0100 (CET), Michael Van Canneyt via lazarus wrote: >The synapse package is not installed in the IDE, it does not >install any components on the component palette. > >The Synapse package just offers classes which you must create in code. > >But once you compiled the p

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-14 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 00:54:59 +0100, Bo Berglund via lazarus wrote: >I wrote a commit reporting application for Windows Server16 back in 2018 using >then current Lazarus/Fpc. >It is a command line program called from a hook in subversion to distribute the >log message and details of c

[Lazarus] Using PasLibVLC to play video files - how to update duration?

2024-10-27 Thread Bo Berglund via lazarus
So several years ago I wrote a Video player/editor usng Lazarus/FPC with the PasLibVLC library. ( https://prog.olsztyn.pl/paslibvlc/ ) The last build was done in end of 2023 with the then current FPC/Lazarus/PasLibVLC (3.0.7). It was a cleanup to remove some un-needed fluff on screen not related t

Re: [Lazarus] Using PasLibVLC to play video files - how to update duration?

2024-10-27 Thread Bo Berglund via lazarus
On Sun, 27 Oct 2024 14:51:04 +0100, Bo Berglund via lazarus wrote: >Question: >- >How should I proceed to update the video length while playing it in the player? > >It affects both the length displayed on screen as well as the progress bar >showing where the current pl

[Lazarus] Can LazVlc update the length of a file while playing?

2024-11-11 Thread Bo Berglund via lazarus
I have created a video player/editor based on PasLibVlc some 5-6 years ago and it works for the original purposes. This is on Windows 10. It was created to handle mp4 files, but it can open other video file formats as well, thanks to the VLC back-end. Now I have a new use which it cannot perform p

[Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

2024-09-24 Thread Bo Berglund via lazarus
I have run into a problem where certain customers require the applications to be "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to do that when building an app? If so how does one go about it? Googling brings up stuff about Windows SDK etc, but I want to stay with FPC

Re: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

2024-09-24 Thread Bo Berglund via lazarus
On Tue, 24 Sep 2024 11:20:26 +0200, Martin Frb via lazarus wrote: >On 24/09/2024 09:09, Bo Berglund via lazarus wrote: >> I have run into a problem where certain customers require the applications >> to be >> "signed" and now I wonder if there is an option som

[Lazarus] How to see which Lazarus/Fpc version was used?

2024-11-09 Thread Bo Berglund via lazarus
I have a lot of FPC/Lazarus projects and it is getting confusing when I need to look at an older project for a bugfix or update because I am not sure which Lazarus/Fpc version was used the last time I worked on it... I don't want to try to port it onto a newer vertsion just for a bit of maintenance

Re: [Lazarus] How to see which Lazarus/Fpc version was used?

2024-11-09 Thread Bo Berglund via lazarus
On Sat, 9 Nov 2024 19:53:17 +0100, Mattias Gaertner via lazarus wrote: > > >On 11/9/24 17:59, Bo Berglund via lazarus wrote: >> I have a lot of FPC/Lazarus projects and it is getting confusing when I need >> to >> look at an older project for a bugfix or update

Re: [Lazarus] Using PasLibVLC to play video files - how to update duration?

2024-11-09 Thread Bo Berglund via lazarus
On Sun, 27 Oct 2024 18:18:20 +0100, Bo Berglund via lazarus wrote: >On Sun, 27 Oct 2024 14:51:04 +0100, Bo Berglund via lazarus > wrote: > >>Question: >>- >>How should I proceed to update the video length while playing it in the >>player? >> &g

<    2   3   4   5   6   7