[Pas2js] Pas2js 1.2.0RC1

warleyalex warleyalex at yahoo.com.br
Sat Dec 22 18:58:28 CET 2018


Lazarus 2.1 fpc 3.3.1 build date 20181221 --> code completion works with
annonymous function feature.

The lazarus/plugin based on "lazarus\components\pas2js\pas2jsdsgn.lpk"

It seems that package (pas2jsdsgn.lpk) you have commented a line at the
PJSDsgnRegister unit
--> //AProject.AddPackageDependency('pas2js_rtl');

We can not compile a pas2js project because it requires this dependency
('pas2js_rtl').
----------------------
Compile Project, OS: browser, CPU: ecmascript5, Target: project1.js: Exit
code 4, Errors: 8
Panic: Pas2JS Compiler version 1.2.0RC1 [2018/12/16] for Win32 i386
Panic: Info: (132) Message encoding is utf-8
Panic: Copyright (c) 2018 Free Pascal team.
Panic: Info: (126) Parsing D:\fpc2js\ex11\project1.lpr ...
Panic: Info: (126) Parsing D:\fpc2js\ex11\System.p ...
Panic: Fatal: (110) source file not found "D:\fpc2js\ex11\System.p"
Panic: Fatal: (118) Compilation aborted
Panic: tool stopped with exit code 4. Use context menu to get more
information.
-------------------
Compile Project, OS: browser, CPU: ecmascript5, Target: project1.js

Compile Reason: State file "D:\fpc2js\ex11\js\project1.compiled" of Project
is missing.
----------------------
right click on message... 
Compile Project, OS: browser, CPU: ecmascript5, Target: project1.js

Compile Reason: State file "D:\fpc2js\ex11\js\project1.compiled" of Project
is missing.


Executable: 
D:\fpc2js\pas2js-windows-1.2.0RC1\bin\pas2js.exe

CurrentDirectory:
D:\fpc2js\ex11\

Parameters:
-B
-Tbrowser
-Pecmascript5
-MObjFPC
-Sc
-O1
-l
-vewnhibq
-FiD:\fpc2js\ex11\js
-FuD:\fpc2js\ex11\
-FUD:\fpc2js\ex11\js\
-FED:\fpc2js\ex11\
-oD:\fpc2js\ex11\project1.js
-Jeutf-8
-Jirtl.js
-Jc
-Jminclude
project1.lpr

Command Line:
D:\fpc2js\pas2js-windows-1.2.0RC1\bin\pas2js.exe -B -Tbrowser -Pecmascript5
-MObjFPC -Sc -O1 -l -vewnhibq -FiD:\fpc2js\ex11\js -FuD:\fpc2js\ex11\
-FUD:\fpc2js\ex11\js\ -FED:\fpc2js\ex11\ -oD:\fpc2js\ex11\project1.js
-Jeutf-8 -Jirtl.js -Jc -Jminclude project1.lpr

Parsers: make, Pas2JS

ProcessID:
6264

ExitStatus:
4

Error: Exit code 4
--------------------------

If we add manually package dependency ('pas2js_rtl') to the project, it
works as expected.




--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list