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
Afficher les réponses par date
You need android ndk installed. Try to compile DemoHelloWorld and see if it works first. Em 30/09/2013 02:54, "陈进芬" hugh.jf.chen@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@gmail.com "Work smart;Not work hard!"
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
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@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@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@gmail.com "Work smart;Not work hard!"
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Please use the LambdaNative issue tracker for this sort of LambdaNative specific issues: https://github.com/part-cw/lambdanative/issues
The missing fonts seem to indicate that you did not once configure and build for your host before building for android. This is necessary to create the resource compilers (without which the fonts will not be built) and also gsc, which is run on the host to generate the portable C code. Please do the following:
make scrub ./configure Calculator make make install
Confirm that the app is working on your host system, and then proceed to do:
./configure Calculator android verbose make
if the problem persists, please do not reply on this thread, but file an issue on the LambdaNative github tracker, and include the full output of the last make command.
Chris
________________________________________ From: gambit-list-bounces@iro.umontreal.ca [gambit-list-bounces@iro.umontreal.ca] On Behalf Of 陈进芬 [hugh.jf.chen@gmail.com] Sent: Sunday, September 29, 2013 10:54 PM To: gambit-list@iro.umontreal.ca Subject: [gambit-list] Build sample for android on linux failed
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.javahttp://hughjfchen.com/hughjfchen/calculator/Calculator.java: No such file or directory ERROR: failed with exit code 1
substitution failed on bootstraps/android/bootstrap.java.inhttp://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.comhttp://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@gmail.commailto:hugh.jf.chen@gmail.com "Work smart;Not work hard!"
Chris, Thanks for your reply. I will your suggestions first. If the problem still persist,I will file a bug report using github issue tracker. Thanks again,
On Mon Sep 30 22:25:17 2013 Petersen, Chris CPetersen@cw.bc.ca wrote:
Please use the LambdaNative issue tracker for this sort of LambdaNative specific issues: https://github.com/part-cw/lambdanative/issues
The missing fonts seem to indicate that you did not once configure and build for your host before building for android. This is necessary to create the resource compilers (without which the fonts will not be built) and also gsc, which is run on the host to generate the portable C code. Please do the following:
make scrub ./configure Calculator make make install
Confirm that the app is working on your host system, and then proceed to do:
./configure Calculator android verbose make
if the problem persists, please do not reply on this thread, but file an issue on the LambdaNative github tracker, and include the full output of the last make command.
Chris
From: gambit-list-bounces@iro.umontreal.ca [gambit-list-bounces@iro.umontreal.ca] On Behalf Of 陈进芬 [hugh.jf.chen@gmail.com] Sent: Sunday, September 29, 2013 10:54 PM To: gambit-list@iro.umontreal.ca Subject: [gambit-list] Build sample for android on linux failed
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.javahttp://hughjfchen.com/hughjfchen/calculator/Calculator.java: No such file or directory ERROR: failed with exit code 1
substitution failed on bootstraps/android/bootstrap.java.inhttp://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.comhttp://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@gmail.commailto:hugh.jf.chen@gmail.com "Work smart;Not work hard!"