fpc-pascal · 2020-09
- Lazarus complains that it cannot find a dependency, why?7
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…
- Cross platform question about lpi file content6
I am trying to find the cause of a linker error when building my application on Linux. While doing this I looked in the project file projname.lpi and found this strange…
- json parser line numbers5
the line numbering of the json parser has been changed recently. It used to say "Error at line 1"... when there was an error in the first line, but now it says "Error at…
- basic question on begin, end;11
I have a basic shuffle routine. I put being, end statements in the outer loop for clarification. It ended up producing random results. Commenting out the begin, end…
- Buffer size for TCP DNS queries in netdb4
I've spent some time this past couple of weeks reading through the DNS resolver code in netdb and poring over RFCs that specify the protocol with a view to adding…
- fpcmake packaging7
I've never used fpcmake before and instead relied on my own custom build system solutions which are a pain to maintain and non-standard which it makes extra work…
- Coalition for App Fairness0
Leading App Developers Form The Coalition for App Fairness to Promote Competition and Protect Innovation on Digital Platforms…
- stdcall without the ;9
I just compiled a lazarus project made in 2105 with fpc 3.2.0 and, while it works here, it fails when the customer runs it. I noticed that I'm using a dll and the…
- -Fu unit search path and network paths9
are supported in -Fu (unit search path) networks paths? i.e. -Fu\\server\share -Fu\\server\share\path ? When I am compiling project, which is located on local drive, but…
- netdb and DNS queries for MX, TXT, and other resource types3
I'm in need of a library to perform DNS lookups for a range of different resource types such as MX, TXT, PTR and so on. At first I thought that netdb would do the job,…
- String literals and code page of .pas source file37
I would like to have source file in Windows-1250 encoding, where are stored literal strings like 'áéíóčž' in Windows-1250 encoding (I share this one file between…
- Ethernet Relays17
Does anyone have any advice on how to get started sending commands from FPC to use these ethernet relays: https://www.amazon.com/gp/product/B076CNJNFH Default IP…
- FPC for FreeBSD/PowerPC643
I'm attempting to port FPC to Freebsd/PowerPC64 and need some help. I've added initial code to get started. However, when trying to cross compile I'm getting an…
- How to build for arm6 in RaspberryPi on arm7?7
I am using RPi3 and RPi4 platforms when working on RPi projects with Lazarus 2.0.8 and Fpc 3.0.4. Now I realized that the binaries I create will probably not work on…
- Sending Hex codes over TCP/IP7
I'm trying to figure out how to send and receive Arrays of Bytes or perhaps a buffer of hex codes over TCP/IP, but everything I find seems to want to send and receive…
- Fpc make questions...3
I am not very informed about how make works when building fpc installations, I have just used commands I have gathered online and it has worked... Now I would like to…
- TFPObjectlist example5
Am I correct that TFPObjectlist is kind of like Tstringlist, except instead of creating and array of strings, it creates an array of objects? I'm wanting to do something…
- How to implement a circular buffer object in pascal?10
I would like to create a buffer into which a thread can push incoming data and the main thread can extract it for processing. Data are coming from the serial port in a…
- Help with TList example6
I'm trying to figure out how TList works. I found the code example below by doing a search, but I can't compile it, I get Error: Illegal qualifier on the line…
- Why can I not build fpc 3.0.4 with ppcarm 3.0.0 or 3.0.4?1
I have a script I use all the time to install FPC/Lazarus on Raspberry Pi units when I configure for development. Today when I was setting up a Raspberry PiZero I was…
- TFPTimer does not fire, why?3
Ì have a problem using TFpTimer on Linux (FPC 3.0.4, Lazarus 2.0.8 on Raspbian). The application is a small GUI test app where I have added a timer in order to update…
- Thread problem1
I'm having a problem with the OS/2 version of the compiler. This simplified version of my program keeps generating an exception when compiled and run in EComStation 1.2,…
- Finding Port Addresses0
Does anyone know how I can use FreePascal to obtain all the installed Serial and Parallel Port addresses on Windows 10? I have a program that reads registry keys at…
- x86-linux-gnu cross2
On Mac OS X 10.8, I have built an fpc-3.0.4 runtime-library for CPU_TARGET=x86_64 OS_TARGET=linux BINUTILSPREFIX=x86_64-linux-gnu- after building gnu binutils-2.34 for …
- Procedural generics question9
Inside a generic procedure (no objects used just a procedure) is there a way to check which type the code is being used for such as: generic procedure Add<integer,…
- FFI or RTTI invoke for Apple arm647
for PascalScript FFI support, are there plans to support RTTI .Invoke, or any form of FFI available to do dynamic invoke from Pascalscript to FPC/api code? Carlo Kok
- Using built-in serial instead of synaser and the like for Linux console app?15
What is the advantage of using synaser over serial in a simple non-gui program running in the console in Linux? I have been struggling making LazSerial work in a console…
- Linux GTK-2 GUI app9
Any recommendations for distributing a FPC gtk-2 GUI app on Linux ? I would prefer it to be as simple as possible. Use something like AppImage ? Create a .desktop file?…
