HSPポータル
サイトマップ お問い合わせ


HSPTV!掲示板


未解決 解決 停止 削除要請

2014
0809
やたかhsp3dh.exeのビルドでerroeが 対策教えてください4解決


やたか

リンク

2014/8/9(Sat) 11:06:49|NO.63625

半月ぶりに、バージョンアップを確認するためにhsp3dh.exeしたとき、前までビルドできていたのに
下のようにerrorが出ているようで対策教えてください(前のバージョンでも,同梱のサンプルソースでも同じです)
BUILD FAILED
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:734: Error running javac.exe compiler
オブション設定のSDKフォルダは今までとおりC:\android\adt-bundle-x86-20140321\sdkです
●表示は
#HSP script preprocessor ver3.4beta5 / onion software 1997-2014(c)
#Use file [hspdef.as]
#HSP code generator ver3.4beta5 / onion software 1997-2014(c)
#Code size (1854) String data size (204) param size (0)
#Vars (38) Labels (8) Modules (0) Libs (0) Plugins (0)
#No error detected. (total 2432 bytes)

Android NDK: WARNING:jni/Android.mk:hsp_y1: 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: hsp_y1 <= hspsource.cpp
jni/hsp3embed/hspsource.cpp: In function 'void __HspEntry()':
jni/hsp3embed/hspsource.cpp:122:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0001()':
jni/hsp3embed/hspsource.cpp:223:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0002()':
jni/hsp3embed/hspsource.cpp:553:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
[armeabi-v7a] SharedLibrary : libhsp_y1.so
[armeabi-v7a] Install : libhsp_y1.so => libs/armeabi-v7a/libhsp_y1.so

Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre6\lib\tools.jar
Buildfile: C:\android\hsp_y1\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 22.6.4
[checkenv] Installed at C:\android\adt-bundle-x86-20140321\sdk

-setup:
[echo] Project Name: hsp_y1
[gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.3
[echo] Resolving Build Target for hsp_y1...
[gettarget] Project Target: Android 4.0.3
[gettarget] API level: 15
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\android\hsp_y1\bin\rsObj
[mkdir] Created dir: C:\android\hsp_y1\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for hsp_y1...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 4 source files to C:\android\hsp_y1\bin\classes

BUILD FAILED
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:734: Error running javac.exe compiler

Total time: 0 seconds



この記事に返信する


Satio Soft

リンク

2014/8/9(Sat) 12:52:29|NO.63632

バージョンが古いためJREとHSP3Dishの互換性がないと考えられます。



やたか

リンク

2014/8/9(Sat) 15:26:52|NO.63637

回答ありがとうございます。
再確認で申し訳ありません。
x86(32bit)版のJRE6+JDK6を推奨と書いていたので、前回わざとjre6を使っって動いていたのですが
これが問題でしょうか?



skyblue

リンク

2014/8/10(Sun) 12:14:22|NO.63665

Javaの指定を見直して見て下さい。
JREではなくJDKのパスを指定して見て下さい。
tools.jarが見つかりませんというエラーが出ているので



やたか

リンク

2014/8/11(Mon) 10:32:56|NO.63708

javaフォルダ間違ってました。
なぜかソース名入れてました??(汗)
お手数おかけして申し訳ありませんでした。
皆様、回答ありがとうそざいました。



ONION software Copyright 1997-2023(c) All rights reserved.