Recent

Author Topic: LAMW fixes  (Read 654 times)

Seenkao

  • Hero Member
  • *****
  • Posts: 768
    • New ZenGL.
LAMW fixes
« on: January 30, 2026, 11:33:20 pm »
Hi all!

Я внёс исправления в проект, меня попросили, потому что не могли им воспользоваться. Правки были в основном для Linux, но возможно исправления подойдут и для Windows  и для MacOS. Внесённые изменения не проект полностью стабильным, я внёс изменения в компиляцию конечных проектов, с которыми достаточно часто сталкивались пользователи и они не один раз поднимались на этом форуме.

Проект выложен на Sourceforge. Там только основные папки, демок нет. Демки скачивайте на официальном сайте LAMW.

Что нужно сделать?
- В папке "ccr/lamw" удалите папки: "android_bridges", "android_wizard", "fcl_bridges" и "ide_tools".
- Откройте архив и из него распакуйте указанные папки в папку откуда удалили эти папки ("ccr/lamw").
- Откройте Lazarus и переустановите пакеты. Из папки "fcl_bridges" - пакет только компилируем. Далее пересоберем и устанавливаем последовательно друг за другом пакеты из папок: "android_bridges", "ide_tools" и "android_wizard".

Исправления приняты.

Но так же я хотел подсказать, как можно обойти ещё одну ошибку, которая появляется при создании нового проекта. Вы создаёте проект, далее закройте его. Если вас попросят сохранится, то сохраняйте проект. Откройте проект заново.

Всё, с проектом можно работать.

Забыл, не используйте версию NDK выше 25-й (тут тоже уже были проблемы у людей, которые использовали версии выше).

---------------------------------------------------------
Google translate:
I made some fixes to the project; they asked me to because they couldn't use it. The fixes were primarily for Linux, but they might also work for Windows and MacOS. The changes I made don't make the project completely stable; I made changes to the compilation of the final projects, which users have frequently encountered and have raised several times on this forum.

The project is available on Sourceforge. It only contains the main folders; there are no demos. Download the demos from the official LAMW website.

What needs to be done?
- In the "ccr/lamw" folder, delete the following folders: "android_bridges", "android_wizard", "fcl_bridges", and "ide_tools".
- Open the archive and unzip the specified folders into the folder from which you deleted them ("ccr/lamw").
- Open Lazarus and reinstall the packages. First, from the "fcl_bridges" folder—we'll just compile the package. Next, rebuild and install the packages from the "android_bridges," "ide_tools," and "android_wizard" folders one by one.

Corrections accepted.

But I also wanted to suggest a way to work around another error that appears when creating a new project. Create a project, then close it. If you're prompted to save, save the project. Reopen the project.

That's it, you can work with the project.

I forgot, don't use NDK version higher than 25 (people who used higher versions have had problems here too).

Good luck!
« Last Edit: January 30, 2026, 11:36:58 pm by Seenkao »
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

Seenkao

  • Hero Member
  • *****
  • Posts: 768
    • New ZenGL.
Re: LAMW fixes
« Reply #1 on: June 20, 2026, 03:11:23 pm »
Ко мне в очередной раз обратились с просьбой выложить версию для скачивания. Так как с Sourceforge скачать они не могли. И прежде чем выложить, я внёс очередные изменения, для более стабильной работы с LAMW:
- теперь нельзя создать проект, если необходимые пути не указаны. Выводится подсказка, что нужно сделать, чтоб прописать пути.
- по умолчанию указывается 25-я версия NDK. Если у вас версия NDK выше 25-й, то должно вывести предупреждение об ошибке.
- корректированы некоторые формы и компоненты на формах, для более понятной работы с ними. Коррекция касалась Linux, на других системах не проверял, но работать должно.

Все указанные ссылки - это один и тот же файл, просто чтоб как можно больше людей могло скачать данную версию, если какой-то из ресурсов недоступен.

Если у кого есть желание, то займитесь стабильностью данного проекта. Проект изначально "сырой" и требует доработки. Нужно вносить множество проверок, для стабилизации проекта и исключения многих недочётов. Багов в проекте очень много. У меня нет желания заниматься этим, потому что я им даже пользоваться не буду.
По необходимости, я могу помочь найти какие-то ошибки в нём. Но я буду откладывать это как можно дальше.

Всего хорошего.


-------------------------------------------------------------------
Google translate:

I was once again asked to make a downloadable version available, as they couldn't download it from Sourceforge. And before I publish it, I made some more changes to make it more stable with LAMW:
- you can't create a project now if the required paths aren't specified. A prompt appears explaining what needs to be done to specify the paths.
- NDK version 25 is specified by default. If your NDK version is higher than 25, you should see an error warning.
- Some forms and form components have been adjusted to make them more intuitive to use. This adjustment affected Linux, I haven't tested it on other systems, but it should work.

All the links provided are for the same file, so as many people as possible can download this version if one of the resources is unavailable.

If anyone is interested, please work on improving the stability of this project. The project is initially "raw" and requires revision. It is necessary to introduce numerous checks to stabilize the project and eliminate many shortcomings. The project is very buggy. I have no desire to do this because I won't even use it.
If necessary, I can help find some bugs. But I'll put it off as long as possible.

All the best.


https://sourceforge.net/projects/lamw/
https://disk.yandex.ru/d/Saj9bgmN_ZAJbQ
https://drive.google.com/file/d/1EFYzAB_kIkQiYzAXPs5wOGitGAMjLR2U/view?usp=drive_link
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

jmpessoa

  • Hero Member
  • *****
  • Posts: 2331
Re: LAMW fixes
« Reply #2 on: June 20, 2026, 11:07:27 pm »

Hi, Seenkao!

Can you send to me the modified/fixed  LAMW units ?
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Seenkao

  • Hero Member
  • *****
  • Posts: 768
    • New ZenGL.
Re: LAMW fixes
« Reply #3 on: June 21, 2026, 12:55:53 am »

Hi, Seenkao!

Can you send to me the modified/fixed  LAMW units ?
Я старался не исправлять твой проект, и все изменения на гитхабе учтены. Потому, можно просто попробовать использовать сразу версию, что я выложил, думаю там сразу будет видно что я менял (основные модули uformworkspace и uformsettingspaths). Мелких изменений много, и я не упомню где и что я изменял (можно посмотреть по датам). Больше из-за того, что приходилось править компоненты на формах (на Linux выглядит многое не так как на Windows и компоненты перекрывают друг друга).

Google translate:
I tried not to edit your project, and all the changes on GitHub are taken into account. Therefore, you can just try using the version I posted; I think it will be immediately clear what I changed (the main modules uformworkspace and uformsettingspaths). There are a lot of minor changes, and I don’t remember where and what I changed (you can look by date). This is mainly due to having to edit components in the forms (on Linux, many things look different than on Windows, and components overlap).

Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

 

TinyPortal © 2005-2018