Forum > PDAs and Smartphones

LAMW manager out of date?

(1/1)

mike_p:
I've decided to jump into compiling apps for Android.
After a lot of looking around, the best approach seemed to be to use LAMW manager.
[Thanks for the very comprehensive scripts Daniel!]

After downloading I looked at the script 'simple-lamw-install.sh'

it currently has these values set:

--- Code: ---FPC_TRUNK_VERSION=3.2.0-beta
_FPC_TRUNK_VERSION=3.2.0
FPC_TRUNK_SVNTAG=fixes_3_2
LAZARUS_STABLE_VERSION="2.0.12"
LAZARUS_STABLE=lazarus_${LAZARUS_STABLE_VERSION//\./_}
CMD_TOOLS_VERSION="7583922"
CMD_SDK_TOOLS_ZIP="commandlinetools-win-${CMD_TOOLS_VERSION}_latest.zip"
CMD_SDK_TOOLS_DIR="$ANDROID_SDK_ROOT\\cmdline-tools"
ANT_VERSION="1.10.5"

--- End code ---

I presume would be best to change FPC_TRUNK_VERSION to 3.2.2 and LAZARUS_STABLE_VERSION to 3.4 ?

Also has a hard coded path in the newinstaller.ps1 script: `$env:PATH="C:\Users\Daniel\LAMW\sdk\tools;" + $env:path`

mike_p:
I've updated to:
_FPC_TRUNK_VERSION=3.2.2
FPC_TRUNK_SVNTAG=fixes_3_2
LAZARUS_STABLE_VERSION="3.4"

The installation appeared to work and I now have Lazarus 3.4 with all the Android stuff installed.

However, it won't build a basic app.
Several messsages like this:
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

any ideas?

Navigation

[0] Message Index

Go to full version