Maybe also include it in the online package manager to make it easier to install this.OPM is for Lazarus Packages, and this is for FPC. So it will not be possible to use/maintain it by OPM
Well, NO, since pas2js is a default package it will be compiled by OPM of course...I cannot find it in the packages nor in OPM. The only thing I have found is the design package which adds relevant features to lazarus, but something is still missing (compiler? RTL?) to make such a project actually compile.
The transpiler itself is fpc, the package you found only the 'sugar' for Lazarus. It is the same like SQLDB or fpReport. All this packages are FPC-Packages and the componnets in Lazarus are like bridges to the pure fpc-parts. Not the main part.
This means if I create a new project and it says "Can't find unit system", shoud I report this bug against FPC? Or should I report it against Lazarus because the wizard forgot to add a needed package?If the cross compiling enviroment is not correct, so you must ask, who is responsible for this ? How have you installed the transpiler ?
This means if I create a new project and it says "Can't find unit system", shoud I report this bug against FPC? Or should I report it against Lazarus because the wizard forgot to add a needed package?If the cross compiling enviroment is not correct, so you must ask, who is responsible for this ? How have you installed the transpiler ?
Normal, i see the message unit system is not found, if the system is not correct installed or configured. This is not a problem of Lazarus.
Pas2JS Compiler version 2.1.1 [2021/10/16] for Linux x86_64
Info: (132) Message encoding is utf-8
Copyright (c) 2021 Free Pascal team.
Info: (126) Parsing /home/bernd/foldersync/Galaxy10/Work/ps2js/test-01/project1.lpr ...
/home/bernd/foldersync/Galaxy10/Work/ps2js/test-01/project1.lpr(5,5) Error: (3073) can't find unit "System"
Fatal: (118) Compilation aborted
is it possible that it is missing its fpc.cfg?
The transpiler itself is fpc, the package you found only the 'sugar' for Lazarus.