Lazarus

Programming => Networking and Web Programming => Topic started by: kotakomputer on November 20, 2019, 10:19:40 am

Title: TMS package "pas2js_rtl" not found
Post by: kotakomputer on November 20, 2019, 10:19:40 am
I ask to this forum because I'm not buy TMS Web Core yet, so I can't post to their forum :)


After install TMS Web Core and pas2js, then when I create new project "TMS Web Core Application" I got error
Code: Text  [Select][+][-]
  1. TMS package "pas2js_rtl" not found:
  2. "C:\tmssoftware\TMS WEB Core RSXE12\Core Source\RTL\pas2js_rtl.lpk"
  3.  

I have open and compile C:\lazarus\pas2js\packages\rtl\pas2js_rtl.lpk, but still error. Compiler options already set to:
- C:\tmssoftware\TMS WEB Core RSXE12\Compiler\pas2js.exe

Any idea to fix this issue?
Should I just copy C:\lazarus\pas2js\packages\rtl\pas2js_rtl.lpk to C:\tmssoftware\TMS WEB Core RSXE12\Core Source\RTL ?
Title: Re: TMS package "pas2js_rtl" not found
Post by: Handoko on November 20, 2019, 10:33:42 am
I never tried TMS Web Core.

But is what you usually need to do for installing a package:

1. Lazarus main menu > Package > Open Package File
2. On the package windows > Compile, then Use > Add to project
3. It should be shown on the Project Inspector
Title: Re: TMS package "pas2js_rtl" not found
Post by: kotakomputer on November 20, 2019, 01:02:22 pm
I never tried TMS Web Core.

But is what you usually need to do for installing a package:

1. Lazarus main menu > Package > Open Package File
2. On the package windows > Compile, then Use > Add to project
3. It should be shown on the Project Inspector

I add pas2js_rtl.lpk to Project Inspector but still error. So I just copy C:\lazarus\pas2js\packages\rtl\pas2js_rtl.lpk to C:\tmssoftware\TMS WEB Core RSXE12\Core Source\RTL, error gone but I wonder if TMS requires this or not (because TMS Web Core has its own compiler at C:\tmssoftware\TMS WEB Core RSXE12\Compiler\).

NB: Using Lazarus 2.0.2 and 2.0.6 both have same issue with TMS Web Core  1.2.
Title: Re: TMS package "pas2js_rtl" not found
Post by: Thaddy on November 20, 2019, 01:09:17 pm
That is the same compiler! maybe lagging a bit.
TinyPortal © 2005-2018