missing the following import package:
import net.java.games.util.plugins.*;
Where can I find
net.java.games.util.plugins
??
Best Regards
JIA Pei
missing the following import package:
import net.java.games.util.plugins.*;
Where can I find
net.java.games.util.plugins
??
Best Regards
JIA Pei
I modified “native\build.xml” a bit to make sure libraries are correctly located.
However, jinput Compiling Errors continue:
compile_dir:
[echo] C:\jiapei\MyPrograms\Eclipse\jinput\plugins\common\src\native
[echo] sdkhome: C:\Program Files\Microsoft SDKs\Windows\v6.1
[echo] dxhome: C:\Program Files\Microsoft DirectX SDK (March 2009)
[echo] target arch: x86
compile_dir:
[echo] C:\jiapei\MyPrograms\Eclipse\jinput\plugins\windows\src\native
[echo] sdkhome: C:\Program Files\Microsoft SDKs\Windows\v6.1
[echo] dxhome: C:\Program Files\Microsoft DirectX SDK (March 2009)
[echo] target arch: x86
compile_dir:
[echo] C:\jiapei\MyPrograms\Eclipse\jinput\plugins\windows\src\native\raw
[echo] sdkhome: C:\Program Files\Microsoft SDKs\Windows\v6.1
[echo] dxhome: C:\Program Files\Microsoft DirectX SDK (March 2009)
[echo] target arch: x86
compile_dir:
[echo] C:\jiapei\MyPrograms\Eclipse\jinput\plugins\windows\src\native\dx8
[echo] sdkhome: C:\Program Files\Microsoft SDKs\Windows\v6.1
[echo] dxhome: C:\Program Files\Microsoft DirectX SDK (March 2009)
[echo] target arch: x86
link:
[echo] C:\Program Files\Java\jdk1.6.0_16\jre\lib
[echo] dxhomelib: C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86
[echo] sdkhomelib: C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib
[echo] target arch: x86
BUILD FAILED
C:\jiapei\MyPrograms\Eclipse\jinput\build.xml:104: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\build.xml:63: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\plugins\windows\build.xml:50: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\plugins\windows\src\native\build.xml:91: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\plugins\windows\src\native\build.xml:35: apply returned: -1073741515
The reason seems to be around line 35
<apply dir="." parallel="true" executable="cl" failonerror="true">
of file
..\jinput\plugins\windows\src\native\build.xml
BUILD FAILED
C:\jiapei\MyPrograms\Eclipse\jinput\build.xml:104: The following error occurred
while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\build.xml:63: The following error occurred w
hile executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\plugins\wintab\build.xml:16: Compile failed;
see the compiler error output for details.
This seems to tell there is something wrong around line 16
<javac srcdir="src/java" destdir="classes" debug="true" deprecation="true" source="1.6" target="1.6">
of file
..\jinput\plugins\wintab\build.xml
How to modify the build.xml to make jinput compilable?
Cheers
JIA Pei
Do you have the wintab SDK installed?.
If not, you can always try removing that from the dist ant target in the main build.xml
HTH
Endolf
Sorry for my stupid question.
I got to know what do you refer to now.
Probably something referred to here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windows.tabletpc.developer&tid=30a65aa4-cd31-4b3b-99f9-00bbb76e4726&cat=en_US_992cdceb-f751-4e52-97c9-7c5ccb936daa&lang=en&cr=US&sloc=&p=1
But still, where can I find this staff?
Alright, it’s better for me to remove it.
Cheers
JIA
Now, problem changes to
[javac] Compiling 21 source files to C:\jiapei\MyPrograms\Eclipse\jinput\coreAPI\classes
[javac] C:\jiapei\MyPrograms\Eclipse\jinput\coreAPI\src\java\net\java\games\input\DefaultControllerEnvironment.java:52: package net.java.games.util.plugins does not exist
[javac] import net.java.games.util.plugins.*;
[javac] ^
[javac] C:\jiapei\MyPrograms\Eclipse\jinput\coreAPI\src\java\net\java\games\input\DefaultControllerEnvironment.java:199: cannot find symbol
[javac] symbol : class Plugins
[javac] location: class net.java.games.input.DefaultControllerEnvironment
[javac] Plugins plugins = new Plugins(file);
[javac] ^
[javac] C:\jiapei\MyPrograms\Eclipse\jinput\coreAPI\src\java\net\java\games\input\DefaultControllerEnvironment.java:199: cannot find symbol
[javac] symbol : class Plugins
[javac] location: class net.java.games.input.DefaultControllerEnvironment
[javac] Plugins plugins = new Plugins(file);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
BUILD FAILED
C:\jiapei\MyPrograms\Eclipse\jinput\build.xml:104: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\build.xml:63: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jinput\coreAPI\build.xml:12: Compile failed; see the compiler error output for details.
What can I do ?
Rgds
JIA
Now, build successfully.
jutils.jar must be put into …/lib/
due to jinput/CoreAPI/build.xml requirements here
I like it when problems fix themselves whilst I’m at work
Is there a particular reason you wanted to compile this yourself?, or are you just interested in the inner workings?
Cheers
Endolf
Hi, in fact, I just would like to build my own packages, no matter it’s on Windows or Linux.
Particularly, for Java staff, I’d love to track into the source all the time, rather than just refer to the documentations. More particularly, for Java3D/JOGL, there seems to be no standard documentation at the current stage due to the fast upgrading of these two packages (well, Java3D is somewhat slower)
Anyway, to track into the source code is always for my own understanding and implementation. For Java3D, I really would like to track into the ObjectFile.load() function.
BTW, you still didn’t answer my question yet.
Where can I find Wintab SDK ? I’d love to download and install it.
Cheers
JIA