Re: [fpc-pascal] ppcjvm issues

2017-01-09 Thread Jon Foster
On 01/08/2017 02:57 AM, Sven Barth wrote: On 07.01.2017 03:12, Jon Foster wrote: I've been working on building an app for Android using the FPC's JVM target. I'm using fpc 3.0.0. I've run into a couple of things that I'm not sure if they're bugs or I just don't know what I'm doing. I was using

Re: [fpc-pascal] ppcjvm issues

2017-01-09 Thread Jon Foster
On 01/07/2017 10:39 AM, leledumbo wrote: The first issue I ran into is this: procedure Cppp1Activity.onResume; begin inherited onResume; with AAAlertDialog.InnerBuilder(self) do begin setTitle(R.strings.app_name); end; end; I don't check by running the code

[fpc-pascal] JSON stream load/save recursive structure

2017-01-09 Thread Xiangrong Fang
Hi there, Can fpjson handle load AND save of the following structure from/to json: PTreeStructure = ^TTreeStructure; TTreeStructure = class name: string; value: Integer; items: array of PTreeStructure; end; Thanks! xrfang ___ fpc-pascal

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-09 Thread Bo Berglund
I have trouble understanding what I see after my build attempt. Please say what I am doing wrong... - Sources for FPC 3.0.2RC1 are in ~/dev/fpc/3.0.2RC1 - Seed compiler ppcarm v. 3.0.0 is in ~/dev/fpc - ~/bin is empty - I move into the source dir ~/dev/fpc/3.0.2RC1 - I run this command: make all

Re: [fpc-pascal] Bls: TProcess failed running Swift compiler

2017-01-09 Thread Lukasz Sokol
Hi Mr Bee, On 09/01/17 13:34, Mr Bee wrote: > I found the answer myself. It seems that I need to supply the full > path to the swift REPL executable. I don't understand why it requires > it for swift because it could call python executable just fine > without using full path. Anyway, problem

[fpc-pascal] Bls: TProcess failed running Swift compiler

2017-01-09 Thread Mr Bee
I found the answer myself. It seems that I need to supply the full path to the swift REPL executable. I don't understand why it requires it for swift because it could call python executable just fine without using full path. Anyway, problem solved. :)  –Mr Bee Pada Senin, 9 Januari 2017

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-09 Thread Bart
On 1/9/17, Bo Berglund wrote: > Or could I skip the sourceinstall part and just point lazarus to the > downloaded sources from SVN from which fpc was built? Generally speaking, for Lazarus that is enough. Sources are needed for CodeTools, not for compiling/building. Bart

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-09 Thread Bo Berglund
On Sat, 7 Jan 2017 13:19:09 +0100, Sven Barth wrote: >Am 07.01.2017 11:33 schrieb "Bo Berglund" : >> make all install FPC="/home/pi/bin/fpc/3.0.0" >> INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF" >> >> Will this put the binaries