Recent

Author Topic: Error after compilation  (Read 2256 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Error after compilation
« on: April 15, 2017, 02:11:48 pm »
Hello guys, I modified a d-logic of the program to use a rifid player. So that works on mac os x sierra. Lazarus compiles correctly, but when I launch the program does not start and gives me an error. Who tells me what is wrong? The link below will download the source ago

www.lazaruspascal.it/esempi/uFCoderSimplest.zip
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: Error after compilation
« Reply #1 on: April 15, 2017, 06:01:27 pm »
Your algorithm seems to be rather simple, but I expect that major portions of the logic are in the external dylib module. There seems to be the error. I also get an error, even on an old Mac Pro with Mac OS X 10.6 Snow Leopard (see attached screenshot). Is this the same error as the one that you get?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

 

TinyPortal © 2005-2018