[gambit-list] Build sample for android on linux failed

陈进芬 hugh.jf.chen at gmail.com
Mon Sep 30 09:44:04 EDT 2013


I had android-ndk installed. I just forgot to mention it. And I tried
DemoHelloWorld and met the same problem. From the error message,the problem
is due to the directory structure.


On Mon, Sep 30, 2013 at 8:34 PM, tcl super dude <tcleval at gmail.com> wrote:

> You need android ndk installed. Try to compile DemoHelloWorld and see if
> it works first.
>  Em 30/09/2013 02:54, "陈进芬" <hugh.jf.chen at gmail.com> escreveu:
>
>>   I've just tried to build the Calculator sample app coming from
>> LambdaNative for android on linux,but I got two problems
>> 1.WARNINGS
>>  *** WARNING -- "calc_14.fnt" is not defined, ***            referenced
>> in:
>> ("/home/chenjf/apps/lambdanative/lambdanative-master-cache/android/build/3c4d196ded4c65584af892a98a926ace.c")
>>
>> *** WARNING -- "calc_24.fnt" is not defined, ***            referenced
>> in:
>> ("/home/chenjf/apps/lambdanative/lambdanative-master-cache/android/build/3c4d196ded4c65584af892a98a926ace.c")
>>
>> *** WARNING -- "calc_32.fnt" is not defined, ***            referenced
>> in: ("/home/chenjf/apps/lambd
>> 2.Error./make.sh: line 334:
>> /home/chenjf/apps/lambdanative/lambdanative-master/tmp.bJKtPg/src/
>> hughjfchen.com/hughjfchen/calculator/Calculator.java: No such file or
>> directory
>> ERROR: failed with exit code 1
>> >> substitution failed on bootstraps/android/bootstrap.java.in
>>  For the error,I checked the generated code and found
>> /home/chenjf/apps/lambdanative/lambdanative-master/tmp.bJKtPg/src/hughjfchen/com/hughjfchen/calculator/Calculator.java
>> So looks like that the generated dir should be hughjfchen/com, not the
>> hughjfchen.com
>> Is that a problem of Lambdanative or android-sdk?
>>
>> And following are my dev enviroment:
>> lambdanative master branch source code from GIT
>> android sdk 22.2.1
>> android sdk platform tool 18.0.1
>> android sdk build tool 18.0.1
>> android 2.3.3 (API 10)
>> archlinux linux with kernel 3.11.2
>>
>>
>> --
>>
>> Thanks and best regards,
>>
>> Hugh Chen
>> -------------------------------------
>> Email: hugh.jf.chen at gmail.com
>> "Work smart;Not work hard!"
>>
>> _______________________________________________
>> Gambit-list mailing list
>> Gambit-list at iro.umontreal.ca
>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>
>>


-- 

Thanks and best regards,

Hugh Chen
-------------------------------------
Email: hugh.jf.chen at gmail.com
"Work smart;Not work hard!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130930/129a90ce/attachment.htm>


More information about the Gambit-list mailing list