[Pas2js] Fw: where to copy Pas2js units to get it work from lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Aug 23 22:56:02 CEST 2020


On Sun, 23 Aug 2020 22:07:47 +0200
"Mgr. Janusz Chmiel" <janusz.chmiel at volny.cz> wrote:

> I have tried several examples from demo sub folder from Trunk Pas2js.
> Every .lpi project file produces unusable project.

What means "unusable project"? A compile error?
If yes, then please setup the pas2js.cfg as I suggested. 

> I have built pas2js
> successfully from trunk so I will try it with The latest trunk
> release, since it contain professional webvidgets unit. 

Keep in mind that trunk needs a pas2js.cfg with 

-Fu$CfgDir/../../packages/*
-Fu$CfgDir/../../compiler/utils/pas2js/dist/

The pas2js release uses:

-Fu$CfgDir/../packages/*
-Fu$CfgDir/../compiler/utils/pas2js/dist/

Mattias


More information about the Pas2js mailing list