Forum > Pas2JS
Lazarus 3 and Pas2JS missing
zendrael:
Hi!
Lazarus 3 was released with already built-in options to build pas2js projects but no pas2js compiler is shipped within it.
As it requires 2.2.1 (for projects like PWA), where can I get pre-built binaries of pas2js 2.2.1 instead of compiling it from sources?
Thank you in advance.
TRon:
--- Quote from: zendrael on January 07, 2024, 10:44:58 pm ---Lazarus 3 was released with already built-in options to build pas2js projects but no pas2js compiler is shipped within it.
--- End quote ---
pas2js is 'shipped' with Free Pascal commandline compiler.
--- Quote ---As it requires 2.2.1 (for projects like PWA), where can I get pre-built binaries of pas2js 2.2.1 instead of compiling it from sources?
--- End quote ---
I was unable to find precompiled binaries (downloads but snapshot is older). FPC 3.2.2 contains an even older version. FPC trunk contains pas2js 3.2.? and you would need to compile that yourself from source (a full FPC build (make) will create it for you and is located in the bin directory on a successful build).
I have no idea if FPC distribution packages contain pas2js (by default) because I always build the compiler/IDE from source.
zendrael:
Yeah, I need the precompiled ones as no matter what I do, I don't get it properly compiled, maybe missing something for sure.
I also found that ftp://ftpmaster.freepascal.org/fpc/contrib/pas2js/snapshot maybe has the most recent ones, but every time I try to access, it asks for a user and password...
Any ideas?
TRon:
--- Quote from: zendrael on January 07, 2024, 11:16:03 pm ---Yeah, I need the precompiled ones as no matter what I do, I don't get it properly compiled, maybe missing something for sure.
--- End quote ---
How are you compiling/building pas2js then and on/for which platform ?
As said, pas2js compiler is part of the FPC project and FPC can be build by invoking make. See also installing the Free Pascal compiler (subsection installing from source for your selected platform).
Alternatively (and in case you did not do so already) you can verify your compilation/setup with the instructions on the pas2js subgroup project. Though I haven't verified the instructions from there.
--- Quote ---I also found that ftp://ftpmaster.freepascal.org/fpc/contrib/pas2js/snapshot maybe has the most recent ones, but every time I try to access, it asks for a user and password...
--- End quote ---
That will point to the same location that I linked to (and the snapshot is out of date)
teos:
I have download Lazarus in the last weeks to learn that as beginner, I have to install pas2js in Lazarus. When I did so, I seems that only bootstrap alike components are actively developed, involved with writing code as you would with HTML and Javascript.
Excuse me if this is offtopic but I get the impression that Pas2Js is not interesting for the Lazarus community or am I wrong?
Navigation
[0] Message Index
[#] Next page