Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2020-09

  1. Lazarus complains that it cannot find a dependency, why?

    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…

    Bo Berglund, Joost van der Sluis, Tomas Hajny
    7
  2. Cross platform question about lpi file content

    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…

    Bo Berglund, Michael Van Canneyt, Sven Barth
    6
  3. json parser line numbers

    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…

    Benito van der Zander, Michael Van Canneyt
    5
  4. basic question on begin, end;

    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…

    dano none, Bart, Bernd Oppolzer
    11
  5. Buffer size for TCP DNS queries in netdb

    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…

    Noel Duffy, Michael Van Canneyt
    4
  6. fpcmake packaging

    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…

    Ryan Joseph, Ben Grasset, Michael Van Canneyt
    7
  7. Coalition for App Fairness

    Leading App Developers Form The Coalition for App Fairness to Promote Competition and Protect Innovation on Digital Platforms…

    Adriaan van Os
    0
  8. stdcall without the ;

    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…

    Luca Olivetti, Michael Van Canneyt, Santiago A.
    9
  9. -Fu unit search path and network paths

    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…

    LacaK, Marco van de Voort, Michael Van Canneyt
    9
  10. netdb and DNS queries for MX, TXT, and other resource types

    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,…

    Noel Duffy, Michael Van Canneyt
    3
  11. String literals and code page of .pas source file

    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…

    LacaK, Bart, Benito van der Zander
    37
  12. Ethernet Relays

    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…

    James Richters, Ched, Michael Van Canneyt
    17
  13. FPC for FreeBSD/PowerPC64

    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…

    Curtis Hamilton, Jonas Maebe, Karoly Balogh (Charlie/SGR
    3
  14. How to build for arm6 in RaspberryPi on arm7?

    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…

    Bo Berglund, Jonas Maebe, Tomas Hajny
    7
  15. Sending Hex codes over TCP/IP

    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…

    James Richters, Bo Berglund, Brian
    7
  16. Fpc make questions...

    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…

    Bo Berglund, Tomas Hajny
    3
  17. TFPObjectlist example

    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…

    James Richters, Ryan Joseph, Sven Barth
    5
  18. How to implement a circular buffer object in pascal?

    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…

    Bo Berglund, Brian, Martin Frb
    10
  19. Help with TList example

    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…

    James Richters, Jean SUZINEAU, Ryan Joseph
    6
  20. Why can I not build fpc 3.0.4 with ppcarm 3.0.0 or 3.0.4?

    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…

    Bo Berglund
    1
  21. TFPTimer does not fire, why?

    Ì 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…

    Bo Berglund, Michael Van Canneyt
    3
  22. Thread problem

    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,…

    Paul Renaud, Travis Siegel
    1
  23. Finding Port Addresses

    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…

    James Richters
    0
  24. x86-linux-gnu cross

    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 …

    Adriaan van Os, Jonas Maebe, Marco van de Voort
    2
  25. Procedural generics question

    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,…

    Unknown author, Benito van der Zander, leledumbo
    9
  26. FFI or RTTI invoke for Apple arm64

    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

    Carlo Kok, Michael Van Canneyt, Sven Barth
    7
  27. Using built-in serial instead of synaser and the like for Linux console app?

    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…

    Bo Berglund, Carsten Bager, Christo Crause
    15
  28. Linux GTK-2 GUI app

    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?…

    Adriaan van Os, leledumbo, Michael Van Canneyt
    9