Android NDK: WARNING:jni/Android.mk:TEST: non-system libraries in linker flags: -lhsp3lib
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
[armeabi-v7a] Compile++ thumb: TEST <= hspsource.cpp
jni/hsp3embed/hspsource.cpp: In function 'void __HspEntry()':
jni/hsp3embed/hspsource.cpp:118:30: warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0001()':
jni/hsp3embed/hspsource.cpp:219:18: warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0002()':
jni/hsp3embed/hspsource.cpp:549:21: warning: deprecated conversion from string constant to 'char*'
"Compile thumb : TEST <= hsp_native_app_glue.c
"Compile++ thumb : TEST <= javafunc.cpp
jni/javafunc.cpp: In function 'void makePostParam(char*)':
jni/javafunc.cpp:314:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/javafunc.cpp: In function 'void makePostParamPair(char*)':
jni/javafunc.cpp:336:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/javafunc.cpp:336:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/javafunc.cpp: In function 'int j_httpRequest(char*, char*, int)':
jni/javafunc.cpp:372:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/javafunc.cpp:376:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"Compile thumb : TEST <= main.c
"Compile++ thumb : TEST <= hsp3r.cpp
jni/hsp3embed/hsp3r.cpp: In member function 'int Hsp3r::Reset(int, int)':
jni/hsp3embed/hsp3r.cpp:75:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
"Compile++ thumb : TEST <= hspsource.cpp
jni/hsp3embed/hspsource.cpp: In function 'void __HspEntry()':
jni/hsp3embed/hspsource.cpp:118:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0001()':
jni/hsp3embed/hspsource.cpp:219:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0002()':
jni/hsp3embed/hspsource.cpp:549:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
StaticLibrary : libstdc++.a
SharedLibrary : libTEST.so
Install : libTEST.so => libs/armeabi-v7a/libTEST.so
----- ここまでログ -----
結果は前回と同じでした。
窓月らら
2015/10/23(Fri) 03:09:55|NO.72442
うちも最初に環境構築する際に同じような状況になりました。
各ツールの整合性が取れてないんかな。
とりあえず、以下のような簡単なコードで試してみてください。
#include "hsp3dish.as"
setcls 1,$000000
repeat
redraw 0
color 0,255,255: pos 100,100: mes "TEST MESSAGE"
redraw 1
await 16
loop
----ここから----
@ECHO OFF
SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45
SET NDK_ROOT=C:\android\android-ndk-r9c
SET PATH=C:\android\apache-ant-1.9.6\bin;C:\android\android-sdk-windows\tools;C:\android\android-sdk-windows\platform-tools;C:\android\android-ndk-r9c;C:\Program Files\Java\jdk1.6.0_45\bin;%PATH%
C:
CD C:\android
CD TEST
ant debug
----ここまで----
何を意味しているのはわかりません。