Recent

Author Topic: pas2js on RPI5  (Read 405 times)

comdora

  • New Member
  • *
  • Posts: 19
pas2js on RPI5
« on: March 08, 2025, 01:49:03 pm »
Hello, I'm trying to use pas2js for the first time on raspberry pi 5, but when opening the demo program, I get a message that the pas2js compiler does not support target aach64-browser. I've never used pas2js, and lazarus very rarely, so I'd like someone to help me configure everything so that I can use pas2js.

Thank you in advance

Bojan

PascalDragon

  • Hero Member
  • *****
  • Posts: 5940
  • Compiler Developer
Re: pas2js on RPI5
« Reply #1 on: March 08, 2025, 05:26:12 pm »
While a pas2js project should have proper defaults you could manually select ECMAScript5 or ECMAScript6 as “Operating System” in the project's settings.

comdora

  • New Member
  • *
  • Posts: 19
Re: pas2js on RPI5
« Reply #2 on: March 09, 2025, 11:53:02 pm »
Hi, thanks for your answer. I have changed CPU to ecmascript5 but now I have next message

The project uses target OS=browser and CPU=ecmascript5.
The system.ppu for this target was not found in the FPC binary directories.
Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories.

What I should do?

Thanks

Thaddy

  • Hero Member
  • *****
  • Posts: 16813
  • Ceterum censeo Trump esse delendam
Re: pas2js on RPI5
« Reply #3 on: March 10, 2025, 10:29:44 am »
Pas2js can not find rtl.js. Make sure your configuration is OK and that the rtl.js is actually built and on tthe correct path.
Changing servers. thaddy.com may be temporary unreachable but restored when the domain name transfer is done.

 

TinyPortal © 2005-2018