Forum > Android
LAMW Install not working
petex:
I installed using the manager vs 0.8.6.4 for Windows.
I opened the "hello world" app and it would not build. See error log:
--- Quote ---...............................
Project: Executing command before: Success
before build...
Compile Project, OS: android, CPU: arm, Target: C:\lazarusAndroid\LAMW\lazandroidmodulewizard\demos\GUI\AppHelloWord\libs\armeabi-v7a\libcontrols.so: Exit code 1, Errors: 1
Fatal: Cannot find system used by controls. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\lazarusAndroid\LAMW\LAMW4Windows\fpc\3.2.0\units\arm-android\rtl\system.ppu..
--- End quote ---
nobody.00:
There is know issue: https://github.com/dosza/LAMWManager-win/tree/current#cannot-build-lamw-demos
petex:
It mentions "Android project Options", these are not present on the Lazarus IDE 2.0.12
--- Quote ---Cannot Build LAMW Demos
By default LAMW Manager uses (Android) Crosscompile to ARMv7+vFPV3, but LAMW Demos uses ARMV6+Cfsoft, you need apply this configuration:
Open your LAMW Demo with LAMW4Windows
On menu bar go to Project --> Project Options ... --> [LAMW] Android Project Options --> Build --> Chipset --> ARMV7a+FVPv3
--- End quote ---
If I try and create a new (empty) GUI project it is worse ......
--- Quote ---Messages
Verbose: Selected chip architecture: armeabi-v7a
Verbose: Taking libraries from folder: C:\Users\peter\Dev\LAMWProjects\AppLAMWProject1\libs\armeabi-v7a
Project: Executing command before: Success
before build...
Compile Project, OS: android, CPU: arm, Target: C:\Users\peter\Dev\LAMWProjects\AppLAMWProject1\libs\armeabi-v7a\libcontrols.so: Exit code 1, Errors: 1
C:\lazarusAndroid\LAMW\sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.bfd.exe: cannot find -ldl
C:\lazarusAndroid\LAMW\sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.bfd.exe: cannot find -ljnigraphics
C:\lazarusAndroid\LAMW\sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.bfd.exe: cannot find -lc
controls.lpr(731,15) Error: Error while linking
--- End quote ---
af0815:
--- Quote from: petex on October 31, 2024, 08:19:54 pm ---It mentions "Android project Options", these are not present on the Lazarus IDE 2.0.12
--- End quote ---
I have Lazarus 3.0 (rev lazarus_3_0) FPC 3.2.2 i386-win32-win32/win64 with LAMW here (is also a older install). Lazarus 2.0.12 look a little outdated.
How have you installed your version ?
petex:
i just installed the latest from github - LAMW manager. Its meant to be a hands free install. I haven't intervened.
I really don't know what is the best approach as there are several alternatives. I am sure its all good stuff but it really appears to be so flaky.
Navigation
[0] Message Index
[#] Next page