Which Lazarus sources/version for LAMW lazarus / 43-Android ---------------------------------------------------------------------- tintinux · 2016-04-21 13:29 Hi I'm not able to download these sources as specified in "lamw/linux/new_how_to_install_by_renabor", and same with the last revision. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i svn co -r 49563 http://svn.freepascal.org/svn/lazarus/trunk lazarus At home, I have the issue only with Lazarus sources, not FPC or my sources. This is due to my network. Probably By]"]>Blockedbile optimization prevents downloads with SVN  And at my work, external svn and sourceforge are completely forbidden. Except finding another place to download, I have not found any solution. If someone has one, he is welcome ! In another hand, as application developper with real customers (not yet with Android... but I hope) , I should not work on the last, or on an arbitrary trunk version, but preferabily on a stable version. So my question is Is it possible to use LAMW and target Android with Lazarus 1.6 (and FPC 3.0) sources. (I can download these sources in SourceForge), or are there known issues ? Or, if not true, where can I download a working revision of the trunk branch (not found on SourceForge, the trunk is out of date there) ?  Thanks for your help ---------------------------------------------------------------------- Handoko · 2016-04-21 13:40 Quote from: tintinux on April 21, 2016, 03:29:54 pmI'm not able to download these sources as specified in "lamw/linux/new_how_to_install_by_renabor", and same with the last revision. I had same problem with you. Here how I solved it. Use your browse to open this page: svn.freepascal.org/svn/lazarus/trunk lazarus Then you will see the latest current version. It is 52226 when I replying this post. So, change the command: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i svn co -r 49563 http://svn.freepascal.org/svn/lazarus/trunk lazarus To the latest current version you found: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i svn co -r 52226 http://svn.freepascal.org/svn/lazarus/trunk lazarus ---------------------------------------------------------------------- tintinux · 2016-04-21 13:54 Thanks, but I have also a download error with your revision 52226... Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i me@computer:~/Android$ svn co -r 52226 http://svn.freepascal.org/svn/lazarus/trunk lazarusA    lazarus/images/splash_source/column.svgsvn: E200014: Checksum error for '/home/me/Android/lazarus/images/splash_source/cheetah.jpg' :   attendu :  6aacc9ec4379fc85ffcd70fb856971b3    obtenu :  267bbb371c3ba2c034a1ffbbe791b5f3 If you or someone else had these source in another place or dropbox, it would help, although not very easy for the future ! Regards ---------------------------------------------------------------------- jmpessoa · 2016-04-21 14:33 Yes, You can  start LAMW with FPC 3.0. ---------------------------------------------------------------------- Cyrax · 2016-04-22 06:42 Quote from: tintinux on April 21, 2016, 03:54:10 pmThanks, but I have also a download error with your revision 52226... Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i me@computer:~/Android$ svn co -r 52226 http://svn.freepascal.org/svn/lazarus/trunk lazarusA    lazarus/images/splash_source/column.svgsvn: E200014: Checksum error for '/home/me/Android/lazarus/images/splash_source/cheetah.jpg' :   attendu :  6aacc9ec4379fc85ffcd70fb856971b3    obtenu :  267bbb371c3ba2c034a1ffbbe791b5f3 If you or someone else had these source in another place or dropbox, it would help, although not very easy for the future ! Regards Use GIT to get Lazarus sources : https://github.com/graemeg/lazarus ---------------------------------------------------------------------- tintinux · 2016-04-22 10:35 Quote from: jmpessoaYou can  start LAMW with FPC 3.0. Ok, good news, I'm moving forward I am wanting to use Lazarus 1.6 sources, stored in /usr/share/lazarus/1.6 and Fpc 3.0.0 sources in /usr/share/fpcsrc/3.0.0 I have checked with a classic Linux project of mine, the fpc and lazarus sources are still searched and found there in this project. But when I load and try to compile AppDemo1/jni/Controls.lpi  fpc sources are not found (lazarus sources are). Probably it is a consequence of bad settings in my previous attempts... But I can't find where the fpc sources location are defined for this Android project. Can you help me ? Thanks ---------------------------------------------------------------------- jmpessoa · 2016-04-22 15:35 Hello tintinux! You could build your  cross compile? If not, please: Goto: Lazarus IDE menu "Tools" --->  "[Lamw] Android Module Wizard" ---> "Build FPC Cross Android" to "Build" and "Install"  .....  Or goto   "new_how_to_install_by_renabor.txt"   in folder "...\linux" ---------------------------------------------------------------------- tintinux · 2016-04-22 18:06 Hi ! I Goto: Lazarus IDE menu "Tools" --->  "[Lamw] Android Module Wizard" ---> "Build FPC Cross Android" No path are initially specified. For the 2 first I can find the correct value, I think. But where/what is the "make" ?   (not make.exe on Linux, sure) I have installed the stable version from the " .deb of sourceForge. BTW :  could you anchor the panel to the windows right side, we can't read the example (see the screen copy). And the Radiogroup "Architecture" too... Thanks for your help ! ---------------------------------------------------------------------- A.S. · 2016-04-23 18:44 Quote from: tintinux on April 22, 2016, 08:06:54 pmBut where/what is the "make" ?   (not make.exe on Linux, sure) I have installed the stable version from the " .deb of sourceForge. You should use "make" from your system. Try "which make" in terminal and use shown path without trailing path delimiter. ---------------------------------------------------------------------- tintinux · 2016-04-24 12:58 Hi Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i which makereturns /usr/bin/make If I use the GUI to specify this (and also /usr/bin which is for me a path)  I get immediately the message : cannot running Extern Tool [make]! And also : In the status bar : Success FPC Cross x86 Android was Build!    OK Button is disabled, and paths are not saved. See attached screen copy 1. However this looks working in command line mode : Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i cd ~/Android/fpcsrc/3.0.0make clean crossall OS_TARGET=android CPU_TARGET=armsudo make crossinstall OS_TARGET=android CPU_TARGET=arm INSTALL_PREFIX=/usr After that, when I load the Android project (controls.lpi) and Build, I get a compilation error : See attached screen copy 2. On this system, In have only FPC 3.0.0 installed and I don't understand why FPC_FULLVERSION>=30101 is true. Thanks for help ! ---------------------------------------------------------------------- jmpessoa · 2016-04-24 15:18 Hello tintinux! If you have only "FPC 3.0.0" then, I think, you need a FPC SOURCE trunk [> 3.0.0] to produce a fpc cross-compiler! ---------------------------------------------------------------------- tintinux · 2016-05-10 08:11 Hi I'm using FPC 3.0.0 binary installed with the debian package downloaded from SourceForge. This is the only one FP Compiler installed on my system. Is it normal that "FPC_FULL_VERSION >= 30101"  is true ?   Why ? Thanks ---------------------------------------------------------------------- Leledumbo · 2016-05-10 10:05 Quote from: tintinux on May 10, 2016, 10:11:12 amIs it normal that "FPC_FULL_VERSION >= 30101"  is true ?   Why ? No, it should not. 30101 means 3.1.1. 3.0.0 should be 30000. ---------------------------------------------------------------------- tintinux · 2016-05-12 07:07 Ok, thanks. To build a demo Android APK, on my Ubuntu with FPC 3.0.0 and Lazarus 1.6, I have had to change /usr/share/lazarus/1.6/lcl/Translations.pas this way :   Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure UpdateFromRSJ;  var    Parser: TJSONParser;    JsonItems, SourceBytes: TJSONArray;    JsonData, JsonItem: TJSONObject;    K, L: Integer;    Data: TJSONData;  begin    //Parser := TJSONParser.Create(InputLines.Text{$IF FPC_FULLVERSION>=30101},jsonscanner.DefaultOptions{$ENDIF});    Parser := TJSONParser.Create(InputLines.Text); I still do not understand why it was necessary. Again, I have no binary or source other than FPC 3.0.0 and Lazarus 1.6 Best regards