LAMW (solved): linking error, missing files? lazarus / 43-Android ---------------------------------------------------------------------- n000b · 2024-02-06 17:29 I installed LAMW Manager on Win10 64bit from https://github.com/dosza/LAMWManager-win. Then followed instructions from the PDF here to create a test program: https://drive.google.com/file/d/1CeDDpuDfRwYrKpN7VHbossH6GfZUfqjm/view . When building, I get these errors: Code: [Select]C:\lamw_manager\LAMW\sdk\ndk-bundle\toolchains\arm- linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux- androideabi-ld.bfd.exe: cannot find crtbegin_so.o C:\lamw_manager\LAMW\sdk\ndk-bundle\toolchains\arm-linux- androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi- ld.bfd.exe: cannot find -lc ... Error while linking Tried several times to reinstall LAMW, tried with a blank project, with the same result. Am I missing some files or is some path wrong? Can't find anything related to those files under the SDK folder. The project options dialog (1st pic) is a bit different than in the PDF (2nd pic). ---------------------------------------------------------------------- Thaddy · 2024-02-06 18:57 LAMW manager is NOT written by jmpessoa, who wrote LAMW, so I consider that you used the wrong place to look for a functional LAMW. ---------------------------------------------------------------------- nobody.00 · 2024-02-06 19:01 Try reset Open cmd as admin c:\lamw_manager\lamw_manager --reset ---------------------------------------------------------------------- Thaddy · 2024-02-06 19:23 No, just wait for an answer by jmpessoa. ---------------------------------------------------------------------- marcos-ebm · 2024-02-06 20:10 [using the translator] The best way to install LAMW is to do it manually, Since you use Windows, do the procedure in Option A from this link https://github.com/jmpessoa/lazandroidmodulewizard It may seem difficult at first, but if I can do it, you can too If you have any problems, tell us I never liked using Lamw_manager, fpcupdelux, because it always gave an error ---------------------------------------------------------------------- n000b · 2024-02-06 21:22 Installed everything from option A and did the Infrastructure Setup. Now a blank form compiles, but when adding a button, an error dialog "Error moving component jButton1;jButton" pops up, and message log has "Error: unit not found: AndroidWidget". The packages seemed to install correctly, and the Android components were added to the component tabs. The unit file is in: C:\laz4android2.2.2\components\lazandroidmodulewizard- master\android_bridges\ Shouldn't installing packages automatically handle the paths or do those need to be added by hand? Edit1: Added that folder to project options, now it at least compiles. Edit2: Maybe I forgot to restart Lazarus, tried the same with a new project and it finds the unit now without adding its path to the project. Edit3: Got Hello World working on the phone! ---------------------------------------------------------------------- jmpessoa · 2024-02-06 21:33 Quotetried the same with a new project and it finds the unit now without adding its path to the project..... Good! ---------------------------------------------------------------------- marcos-ebm · 2024-02-06 22:27 Whenever you start a new project, check the Add support Library option (see image)