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

Matthieu GIROUX girouxmatthieu at gmail.com
Tue Nov 16 20:24:28 CET 2021


Le 16/11/2021 à 19:28, Matthieu GIROUX a écrit :
> 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
>
i got the -gl linking error on Lazarus.

The error i shown is in the terminal.

-- 
LIBERLOG - Édition de livres de coaching et de logiciels
13 Rue François Tanguy PRIGENT A.15 - 35000 RENNES
Tél : 02 23 46 06 54 - Numéro vert : 06 44 733 008

https://www.agoravox.tv/auteur/matthius
https://liberlog.fr
https://archive.org/details/@matthius
https://www.ancestromania.be



More information about the Pas2js mailing list