Recent

Author Topic: error linking androidlcltest app  (Read 3711 times)

capslock

  • New Member
  • *
  • Posts: 12
error linking androidlcltest app
« on: March 13, 2013, 02:43:20 am »
I just install lazarus and fpc android from scratch. When compiling androidlcltest.lpr I get the following messages:

C:\lazarus\fpc\2.6.0\bin\x86_64-win64\arm-linux-ld.exe: error: cannot find -ljnigraphics
C:\lazarus\fpc\2.6.0\bin\x86_64-win64\arm-linux-ld.exe: error: cannot find -llog

The compiler options include ndk library, as follow:

 -MObjFPC -Scghi -WR -O1 -Tlinux -Parm -Xs -XX -vewnhi -Filib\arm-linux -FlC:\android-ndk-r8d\platforms\android-14\arch-arm\usr\lib -FlC:\android-ndk-r8d\toolchains\arm-linux-androideabi-4.7\prebuilt\windows\lib\gcc\arm-linux-androideabi\4.7 -Fu..\..\lcl\units\arm-linux\customdrawn -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 -dLCLcustomdrawn -dANDROID -Xd -CpARMV6

NDK libraries at:

C:\android-ndk-r8d\platforms\android-14\arch-arm\usr\lib

Lazarus X86_64-win64 1.0.6
fpc4android 2.5.1.2

Thanks.

« Last Edit: March 13, 2013, 03:03:23 am by Gustavo Adolfo Moennich »

capslock

  • New Member
  • *
  • Posts: 12
[SOLVED] Re: error linking androidlcltest app
« Reply #1 on: March 13, 2013, 11:26:31 pm »
Solved.

I thing there are a bug when linking ndk r8d.
Downgraded to ndk 7 solve the problem.


Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: error linking androidlcltest app
« Reply #2 on: March 14, 2013, 04:35:10 pm »
Quote
I thing there are a bug when linking ndk r8d.
Downgraded to ndk 7 solve the problem.
That's kinda weird though could possibly be true. I have no problem linking with r8d though, but I'm on 32-bit linux.

 

TinyPortal © 2005-2018