Recent

Author Topic: PAS2JS standard configuration in Lazarus 2  (Read 3807 times)

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
PAS2JS standard configuration in Lazarus 2
« on: February 25, 2019, 10:37:05 am »
Has anyone tested the pas2js in Lazarus 2.0?

I've installed the pas2jsdsgn to the IDE.
But I'm missing the pas2js.exe.
When I start a webbrowser project, the IDE comes with the message
Quote
The current FPC has no config file. It will probably miss some units. Check your installation of FPC
Than this message appears:
Quote
Error

[Content]
The project uses target OS=browser and CPU=i386.
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.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

rvk

  • Hero Member
  • *****
  • Posts: 6111
Re: PAS2JS standard configuration in Lazarus 2
« Reply #1 on: February 25, 2019, 11:15:02 am »
Did you install pas2js too? It is still required.

Quote
Requires Lazarus 1.9+ and either a pas2js snapshot or svn checkout (see here).
http://wiki.freepascal.org/lazarus_pas2js_integration

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: PAS2JS standard configuration in Lazarus 2
« Reply #2 on: February 25, 2019, 01:30:35 pm »
Strange that you still have to download the required files from the SVN to get it work.
I always thought that Lazarus 2.0 was ready to use with default pas2js

This problem is solved

Now I have another problem, but therefore I create a new topic
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: PAS2JS standard configuration in Lazarus 2
« Reply #3 on: February 25, 2019, 03:19:11 pm »
At the moment pas2js has a higher release frequency than Lazarus.
I hope to release pas2js 1.4 this week.

It is planned to bundle pas2js with the Lazarus release. So much todo, so little time...

 

TinyPortal © 2005-2018