[Pas2js] I would like to get JS units substitutes to compile my wcl treeview

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 16 22:18:01 CET 2021


On Tue, 16 Nov 2021 19:28:18 +0100
Matthieu GIROUX <girouxmatthieu at gmail.com> wrote:

> Le 16/11/2021 à 18:44, Mattias Gaertner a écrit :
> >>
> >> [...] >
> >> I use Lazarus 2.2 RC2.  
> > :)
> >
> > In the menu Tools / Options / Environment / Pas2js / Path of pas2js
> > set the path to the pas2js of the release (
> > yourpath/bin/x86_64-linux/pas2js ).
> >
> > And open the lpk file once using Package / Open package file
> > yourpath/packages/rtl/pas2js_rtl.lpk
> > This way the IDE knows what pas2js_rtl.lpk to use.
> >
> > Then your webapp should compile.
> >
> > Mattias  
> 
> I linked to #HOME/pas2js/bin/x86_64-linux/pas2js.
> 
> I have opened #HOME/pas2js/packages/rtl/pas2js_rtl.lpk
> 
> I always get this error :
> 
> Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Code de
> sortie 2" Error: (lazarus) [TMainIDE.DoBuildProject]
> PkgBoss.DoCompileProjectDependencies failed

In the Messages window right to open popupmenu, then Save / Save
All/Original messages to file.
Then post it here or to me.

Mattias



More information about the Pas2js mailing list