I can't build androidlcltest in windows lazarus / 43-Android ---------------------------------------------------------------------- roeug · 2012-11-16 06:20 Lazarus-1.1-39105-fpc-2.6.1-20121017-win32.exe Lazarus-1.1-39105-fpc-2.6.1-20121017-win32.exe Lazarus-1.1-39105-fpc-2.6.1-20121017-cross-arm-wince-win32.exe fpc4android-r20768.7z  -> …\lazarusfpc261\fpc\2.6.1\bin\i386-win32\ppcrossarm.exe                                        -> …\lazarusfpc261\fpc\2.6.1\units\arm-linux program nonandroidtest - OK library androidlcltest - ERROR  -MObjFPC -Scghi -O1 -Tlinux -Parm -Xs -XX -vewnhi -Filib\arm-linux -Fl..\..\..\android-ndk-r8b\platforms\android-8\arch-arm\usr\lib -Fl..\..\..\android-ndk-r8b\toolchains\arm-linux- androideabi-4.4.3\prebuilt\windows\lib\gcc\arm-linux-androideabi\4.4.3 -Fu..\..\lcl\units\arm-linux\win32 -Fu..\..\lcl\units\arm-linux -Fu..\..\components\lazutils\lib\arm-linux -Fu..\..\packager\units\arm-linux -Fu. -FUlib\arm-linux\ -l -FEandroid\libs\armeabi\ -oliblclapp.so.so -dLCL -dLCLwin32 -dANDROID -Xd -CpARMV6 PPU Loading …\lazarusfpc261\fpc\2.6.1\units\arm-linux\rtl\system.ppu fcllaz.pas(0,0) Fatal: Can not find system used by fcllaz, ppu=..\..\fpc\2.6.1\units\arm-linux\rtl\system.ppu [TEST]button … Unitsearch: system.pp Unitsearch: system.pas ... Can't find unit system used by Program Compilation aborted WARNING: unit search path does not exist: C:\Programas\lazarusfpc261\lcl\units\arm-linux\win32 WARNING: unit search path does not exist: C:\Programas\lazarusfpc261\lcl\units\arm-linux WARNING: unit search path does not exist: C:\Programas\lazarusfpc261\components\lazutils\lib\arm-linux ---------------------------------------------------------------------- Leledumbo · 2012-11-16 12:27 QuotePPU Loading …\lazarusfpc261\fpc\2.6.1\units\arm- linux\rtl\system.ppu fcllaz.pas(0,0) Fatal: Can not find system used by fcllaz, ppu=..\..\fpc\2.6.1\units\arm-linux\rtl\system.ppuSeems like a checksum mismatch, try recompiling rtl and packages for arm-linux. ---------------------------------------------------------------------- roeug · 2012-11-19 07:04 Never compiled rtl before. > .\lazarusfpc261\fpc\2.6.1\source\rtl>…\lazarusfpc261\fpc\2.6.1\bin\i 386-win32\make.exe ./lazarusfpc261/fpc/2.6.1/bin/i386-win32/make.exe -C win32 all …. > /lazarusfpc261/fpc/2.6.1/bin/i386-win32/make.exe -C linux all Result the same: fcllaz.pas(0,0) Fatal: Can not find system used by fcllaz, ppu=..\..\fpc\2.6.1\units\arm-linux\rtl\system.ppu ---------------------------------------------------------------------- marcov · 2012-11-19 12:12 Afaik the FPC 2.6.x series doesn't support Android. You need a special android branch (2.5.1 based) for that? ---------------------------------------------------------------------- Andru · 2012-11-19 21:00 Quote from: marcovAfaik the FPC 2.6.x series doesn't support Android.With special patches - supports. But seems people just don't understand what they do and get troubles, or just AndroidLCL needs something special. So, for everybody in future - DO NOT USE my patches and FreePascal 2.6.x(mentioned above fpc4android-r20768.7z) prepared for using with ZenGL and some other libraries, because nobody will help here. Read wiki, where you can find info written specially for Lazarus and Custom Drawn Interface. ---------------------------------------------------------------------- roeug · 2012-11-20 06:24 > people just don't understand... fpc4android-r20768.7z prepared for using with ZenGL and some other libraries Sorry. May be should rename (in future) fpc4android-r##.7z to fpc4android-ZenGL-r##.7z The main problem (for win Lazarus) was the output name Result LCL test installed and runs (at the moment with black screen) Lazarus 1.02 FPC 2.6.0 1) fpc4android_2_5_1_2_apr_2012.zip       *.exe -> …lazarusfpc260\fpc\2.6.0\bin\i386-win32  units - > …lazarusfpc260\fpc\2.5.1\units\arm-linux 2) Project/Target file name (-o) WAS android\libs\armeabi\liblclapp.so MUST be android\libs\armeabi\liblclapp (NO EXTENTION so) 3) Edit generate_debug_key.bat, build_debug_apk.bat - SET PATH…SET ANDROID_HOME…SET APK_SDK_PLATFORM….SET APK_PROJECT_PATH… (psws – senhas –remain) ---------------------------------------------------------------------- roeug · 2012-11-26 08:02 Result2 LCL test installed and runs Lazarus-1.1-39105-fpc-2.6.1-20121017-win32.exe 1) fpc4android_2_5_1_2_apr_2012.zip       *.exe -> …lazarusfpc260\fpc\2.6.1\bin\i386-win32  units - > …lazarusfpc260\fpc\2.5.1\units\arm-linux 2) Project/Target file name (-o) WAS android\libs\armeabi\liblclapp.so MUST be android\libs\armeabi\liblclapp (NO EXTENTION so) 3) Edit generate_debug_key.bat, build_debug_apk.bat - SET PATH…SET ANDROID_HOME…SET APK_SDK_PLATFORM….SET APK_PROJECT_PATH… (psws – senhas –remain) androidlcl  – runs OK