Recent

Author Topic: Trying to compile amw_ide_tools.lpk package  (Read 2285 times)

Luigi

  • New Member
  • *
  • Posts: 26
Trying to compile amw_ide_tools.lpk package
« on: February 04, 2018, 10:51:45 pm »
Hello,
  I try to use LAMW (see http://wiki.lazarus.freepascal.org/LAMW) but when i try to compile the package 'amw_ide_tools.lpk' lazarus raises the exception in file XWindow.pas(7,6): 'can't find unit x used by XWindow'.

But the file 'x.pp' is present in 'C:\Android\laz4android1.8\fpc\3.0.4\source\packages\x11\src\x.pp' and this path i can see in tooltip that appears when I leave mouse cursor over unit listed in uses clausole in interface of file 'XWindow.pas'

I used Laz4Android 1.8.0 with fpc 3.0.4

I don't know what I to do to solve my problem.

Can anyone can help me?

Thanks
« Last Edit: February 04, 2018, 10:58:02 pm by Luigi »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Trying to compile amw_ide_tools.lpk package
« Reply #1 on: February 04, 2018, 11:50:28 pm »

Hi, Luigi!

To compile and install a LAMW package you need a system/default project [win or linux] open in Lazarus IDE
[not a LAMW project]

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Samuel

  • Newbie
  • Posts: 1
Re: Trying to compile amw_ide_tools.lpk package
« Reply #2 on: March 11, 2021, 06:00:14 pm »
People under the windows are probably writing this project.
I was just installing this on Lazarus under Linux.
I had to correct some bugs!
If they even tested it, they would have noticed it.
Unfortunately, it doesn't work under Linux.

Could you please remove the information that this works under Linux?
Or adding information that only run under windows.

Handoko

  • Hero Member
  • *****
  • Posts: 5154
  • My goal: build my own game engine using Lazarus
Re: Trying to compile amw_ide_tools.lpk package
« Reply #3 on: March 11, 2021, 06:28:59 pm »
Hello Samuel,
Welcome to the forum.

I just tested LAMW some days ago. I installed it using LAMW4Linux-installer script. I was able to install it on Ubuntu 18.04.5. Although it failed to build AppDemo1 but I managed to build apk if I start a new project. I haven't tested it thoroughly but seemed to be okay.

If you have problem installing or using LAMW, please provide more information. What bugs have you corrected? What is not working? Please share what you've found, so the developer can fix them

https://forum.lazarus.freepascal.org/index.php/topic,53519.msg395966.html#msg395966
« Last Edit: March 11, 2021, 06:37:03 pm by Handoko »

 

TinyPortal © 2005-2018