You are not logged in.
Pages: 1
Hello to all,
I have just added a mORMot sample for the very nice LAMW framework !
It can be found at: https://github.com/jmpessoa/lazandroidm … ORMotDemo1
Enjoy, Alfred.
Offline
Offline
Yes, in real life, it should be much smaller.
But its just a proof-of-concept.
Addition of mORMot sample mentioned here: http://forum.lazarus.freepascal.org/ind … #msg189939
Next p-o-c will be an OpenGL just-for-fun version,
with floating menus and animations,
and high battery consumption,
using the PXL library: http://forum.lazarus.freepascal.org/ind … d73d1bfb4f
Offline
Hi all,
I'm not able to compile the project with the current version of laz4android (lazarus 1.7 and fpc 3.1.1) and mOrmot (1.18) downloaded forme synapse.info website. Can you give me a hint please?
Offline
Hint:
Use fpcupdeluxe to install FPC trunk and Lazarus.
(mORMot needs recent FPC trunk)
Use fpcupdeluxe to install cross-compiler for Android.
Install LAMW. You could also use fpcupdeluxe for that: install module LAMW.
Of you go !!
Offline
Hi, I've tried to compile this demo but I can't. There are many errors. Can you share here wich source of mMormot have been used?
Offline
Hi, I've tried to compile this demo but I can't. There are many errors. Can you share here wich source of mMormot have been used?
You take your time ... ;-)
But serious: you must give me more info (about the errors encountered) to allow me to be able to help you.
Offline
I receive that error message on compiling
Project checks, Hints: 3
Note: passing compiler option -M twice with different values
Note: passing compiler option -FU twice with different values
Note: passing compiler option -o twice with different values
Compile Project, OS: android, CPU: arm, Target: C:\DCUsOutFPC\mORMotOnAndroid: Exit code 1, Errors: 3
And_Jni.pas(553,0) Error: Can't create assembler file: output\And_Jni.s
And_Jni.pas(553,0) Error: Compilation raised exception internally
Fatal: I/O error: File not open
Offline
@triguinhu
Again, I need more info to be able to help you !
What Lazarus and FPC version. How did you install FPC/Lazarus/LAMW. What Android version is your target. What Android SDK/NDK/Ant are you using.
Offline
Ok, thanks for your help
I use Lazarus 1.9.0 with FPC 3.1.1
I use fpcupdeluxe with lazarus and fpc trunk
I install LAMW and laz4droid modules by fpcupdeluxe too
I use JDK 1.7.0.80, SDK x86 Win update today, installed today too, NDK r9c and ANT 1.10.1
My OS is Windows 10 32 bits
Last edited by triguinhu (2017-12-20 15:52:59)
Offline
I have looked at your error.
It is generated by this code inside FPC compiler sources:
Assign(outfile,owner.AsmFileName);
{$push} {$I-}
Rewrite(outfile,1);
{$pop}
if ioresult<>0 then
begin
fioerror:=true;
Message1(exec_d_cant_create_asmfile,owner.AsmFileName);
end;
This seems clear: the file cannot be created ... access permissions ?
https://www.freepascal.org/docs-html/user/userse66.html
Offline
Thanks for help!!!
I change access permissions to allow all for all users but the error persist
I change development environment to fpc 3.0.4 and lazarus 1.8.0, ndk for r14b
I pass, new sample project compile ok!
But on declare in uses Mormot i received that error:
mORMot.pas(60619,0) Error: Error while assembling exitcode 1
I think I'm doing something wrong but I need some help here :-)
How to post All verbose messages on compiling: file .txt ou on quoted text? code text?
{}s
Rodrigo
Offline
To prevent a long conversation and long posts, I would like to suggest that you share your code somewhere.
And also the output (or screen-dumps) of your compile-efforts.
That would make life easier (for me), and increases the changes that we can help you !
Offline
Pages: 1