GetTickCount disappeared on Raspberry PI lazarus / 66-Unix ---------------------------------------------------------------------- hakelm · 2017-12-10 11:38 On my Linux desktop the little program below compiles without a glitch. When trying to compile it on Raspberry Pi with Free Pascal Compiler version 2.6.0-9+rpi1+wsf1 [2015/04/28] for arm I get Error: Identifier not found "GetTickCount64". Looking at sysutilh.inc that contains GetTickCount on my desktop and the one on my Pi I see that they are totally different. Searching for files containing  "GetTickCount" on the Pi doesn't give any promising candidates for a good source. What can I do? Thanks in advance for any tip. H program Project1; {$mode objfpc}{$H+} uses   {$IFDEF UNIX}{$IFDEF UseCThreads}   cthreads,   {$ENDIF}{$ENDIF}   Classes,sysutils   { you can add units after this }; {$R *.res} begin   writeln(GetTickCount64); end. ---------------------------------------------------------------------- Thaddy · 2017-12-10 11:45 It simply works here after disabling the res entry: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i program Project1; {$mode objfpc}{$H+} uses  {$IFDEF UNIX}{$IFDEF UseCThreads}  cthreads,  {$ENDIF}{$ENDIF}  Classes,sysutils  { you can add units after this }; // {$R *.res} //disable this begin  writeln(GetTickCount64);end. BTW: You are using a really old version: upgrade to Stretch and you have a more recent FPC/Lazarus. ---------------------------------------------------------------------- marcov · 2017-12-10 12:07 2.6.0 is awfully old, probably before tickcount64 was standarized. 2.6.2,2.6.4,3.0.0,3.0.2, and 3.0.4 came all after it, and FPC is not known for its speedy updates. ---------------------------------------------------------------------- Thaddy · 2017-12-10 12:17 Marco, two days ago I was able to download the 3.0.4 tar for eabihf raspberry pi. When I try to retrieve the link today it is gone. Rather annoying. ---------------------------------------------------------------------- hakelm · 2017-12-10 12:43 Thanks I will upgrade and see what happens. H ---------------------------------------------------------------------- marcov · 2017-12-10 12:44 Quote from: Thaddy on December 10, 2017, 01:17:42 pmMarco, two days ago I was able to download the 3.0.4 tar for eabihf raspberry pi. When I try to retrieve the link today it is gone. Rather annoying. (searching and interpreting vague info), ah, you mean via http. I fixed something, should be live tomorrow. ---------------------------------------------------------------------- rvk · 2017-12-10 13:15 I changed my script for installation of Laz/FPC trunk a few days ago and needed 3.0.4 for compilation of FPC. I took the one from ftp which is still there: ftp://ftp.freepascal.org/pub/fpc/dist/3.0.4/arm-linux/ Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i wget -O compiler3.tar ftp://ftp.freepascal.org/pub/fpc/dist/3.0.4/arm- linux/fpc-3.0.4.arm-linux-eabihf-raspberry.tar Even the stack.nl mirror for The Netherlands has it: ftp://freepascal.stack.nl/pub/mirrors/fpc/dist/3.0.4/arm-linux/ ---------------------------------------------------------------------- hakelm · 2017-12-10 15:01 Free Pascal Compiler version 3.0.4 [2017/10/11] for arm did the trick. Thanks H ---------------------------------------------------------------------- Thaddy · 2017-12-10 15:15 Quote from: hakelm on December 10, 2017, 04:01:58 pmFree Pascal Compiler version 3.0.4 [2017/10/11] for arm did the trick. Thanks H Also, Marco, TNX!