Here is my configuration:
Lazarus 2.0.1 Svn-Revision 60692, fpc 3.0.4, x86_64-win64
pas2js-windows-1.4.0RC6 installed in subfolder in lazarus folder: d:/lazarus/pas2js
I followed instructions from here
http://wiki.freepascal.org/lazarus_pas2js_integration and set path of pas2js to:
d:/lazarus/pas2js/bin/pas2js.exe
I opened the example democanvas2d.lpi and tried to compile but I get error:
"
Project: Executing command before: cannot find executable "pas2js.exe", Errors: 1
Panic: internal error: cannot find executable "pas2js.exe"
"
What is wrong? What should I set for path of pas2js?Only when I change the command in [Project Options > Compiler Options > Compiler Commands> Execute Before Command:] to D:\lazarus\pas2js\bin\pas2js.exe then I can compile it.