Recent

Author Topic: Crosscompile in the same IDE without Laz4Android?  (Read 3067 times)

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Crosscompile in the same IDE without Laz4Android?
« on: June 26, 2018, 05:59:39 pm »
Hi everyone, would like know if i can have two instance of compiler and alternate between they like i do in Rad Delphi.? ( 64, 32, android, IOS ) Without install laz4Android, using the IDE version 1.8.4?
Somebody use this way?

I use Windows 10.
Thanks a lot.
Today better than yesterday.

Handoko

  • Hero Member
  • *****
  • Posts: 5154
  • My goal: build my own game engine using Lazarus
Re: Crosscompile in the same IDE without Laz4Android?
« Reply #1 on: June 26, 2018, 06:10:12 pm »
Did you mean to switch between different targets?

If yes, then you can use Build Modes:
Lazarus main menu > Project > Project Options > Compiler Options > Build modes (click the 3 dots)

Read more:
http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Build_modes

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Crosscompile in the same IDE without Laz4Android?
« Reply #2 on: June 26, 2018, 07:23:47 pm »

Hi Almir!

"Fpcupdeluxe" can help you to install an unique lazarus instance and then add many cross-compilers:

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.6.1d

But,  you will [continue] need LAMW framework to produce Android Apk.

[and at the moment iOS is out of lazarus scope....]
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard


Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Re: Crosscompile in the same IDE without Laz4Android?
« Reply #4 on: June 26, 2018, 09:47:43 pm »
Hi, when i open new project LAMW and the Lazarus send a message in the image on attach.
I would like have Target Android and Windows in the unique IDE without two installations, like as in DELPHI, or a script (bat) to compile Android project without alternate between IDE.
It is a only little detail... but would cool if IDE Lazarus suport this.
I go install two IDE like before.
Thank for lose your precious time in reply-me.
Thank a lot.
Today better than yesterday.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: Crosscompile in the same IDE without Laz4Android?
« Reply #5 on: June 26, 2018, 10:09:52 pm »
Quote
I would like have Target Android and Windows in the unique IDE without two instalations...

Yes, you can!

1) Laz4Android + LAMW [win32 + android]

or

2) Install lazarus using "fpcupdeluxe" and make yourself all  [need] cross-compilers.
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Almir Lima

  • New Member
  • *
  • Posts: 36
    • iSoft Tecnlogia Digital
Re: Crosscompile in the same IDE without Laz4Android?
« Reply #6 on: June 27, 2018, 11:45:12 am »
I try it, but not work. 


C:\fpcupdeluxe\fpcbootstrap\git (filename: git64.zip)
fpcupdeluxe: WARNING: FPCNativeInstaller (FindSVNSubDirs): Could not find svn executable in or under C:\fpcupdeluxe\fpcbootstrap\svn\
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: FPCNativeInstaller (DownloadSVN): Downloading SVN client from https://www.visualsvn.com/files/Apache-Subversion-1.10.0.zip
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: FPCNativeInstaller (DownloadSVN): Downloading SVN client from https://sourceforge.net/projects/win32svn/files/1.8.15/apache24/svn-win32-1.8.17-ap24.zip/download
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: FPCNativeInstaller (DownloadSVN): Could not find SVN executable. Please make sure it is installed.
Today better than yesterday.

 

TinyPortal © 2005-2018