Recent

Author Topic: TMS package "pas2js_rtl" not found  (Read 265 times)

kotakomputer

  • New member
  • *
  • Posts: 5
TMS package "pas2js_rtl" not found
« 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 ?

Handoko

  • Hero Member
  • *****
  • Posts: 3239
  • My goal: build my own game engine using Lazarus
Re: TMS package "pas2js_rtl" not found
« Reply #1 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

kotakomputer

  • New member
  • *
  • Posts: 5
Re: TMS package "pas2js_rtl" not found
« Reply #2 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.

Thaddy

  • Hero Member
  • *****
  • Posts: 9309
Re: TMS package "pas2js_rtl" not found
« Reply #3 on: November 20, 2019, 01:09:17 pm »
That is the same compiler! maybe lagging a bit.
also related to equus asinus.