Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (591)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  jinput CVS compilation...  (Read 3596 times)
0 Members and 1 Guest are viewing this topic.
Offline jiapei100

Junior Devvie





« Posted 2009-10-04 13:39:54 »


missing the following import package:

1  
import net.java.games.util.plugins.*;


Where can I find
1  
net.java.games.util.plugins
??

Best Regards
JIA Pei

Welcome to Vision Open
http://www.visionopen.com
Offline jiapei100

Junior Devvie





« Reply #1 - Posted 2009-10-05 03:07:46 »


I modified "native\build.xml" a bit to make sure libraries are correctly located.
However, jinput Compiling Errors continue:

1) From within Eclipse


1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
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
1  
<apply dir="." parallel="true" executable="cl" failonerror="true">

of file
1  
..\jinput\plugins\windows\src\native\build.xml



2) From within Visual Studio 2008 Tool-> Command Prompt

1  
2  
3  
4  
5  
6  
7  
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
1  
<javac srcdir="src/java" destdir="classes" debug="true" deprecation="true" source="1.6" target="1.6">

of file
1  
..\jinput\plugins\wintab\build.xml


How to modify the build.xml to make jinput compilable?


Cheers
JIA Pei



Welcome to Vision Open
http://www.visionopen.com
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #2 - Posted 2009-10-05 05:55:33 »

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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jiapei100

Junior Devvie





« Reply #3 - Posted 2009-10-05 13:13:09 »

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

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

Welcome to Vision Open
http://www.visionopen.com
Offline jiapei100

Junior Devvie





« Reply #4 - Posted 2009-10-05 15:17:23 »


Now, problem changes to

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
    [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

Welcome to Vision Open
http://www.visionopen.com
Offline jiapei100

Junior Devvie





« Reply #5 - Posted 2009-10-05 15:39:32 »


Now, build successfully.

jutils.jar must be put into ../lib/
due to jinput/CoreAPI/build.xml requirements here
<property name="utils" location="../lib/jutils.jar"/>   


Welcome to Vision Open
http://www.visionopen.com
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #6 - Posted 2009-10-05 15:52:46 »

I like it when problems fix themselves whilst I'm at work Smiley

Is there a particular reason you wanted to compile this yourself?, or are you just interested in the inner workings?

Cheers

Endolf

Offline jiapei100

Junior Devvie





« Reply #7 - Posted 2009-10-06 22:20:58 »



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



I like it when problems fix themselves whilst I'm at work Smiley

Is there a particular reason you wanted to compile this yourself?, or are you just interested in the inner workings?

Cheers

Endolf

Welcome to Vision Open
http://www.visionopen.com
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #8 - Posted 2009-10-07 05:58:27 »

BTW, you still didn't answer my question yet.

Where can I find Wintab SDK ? I'd love to download and install it.

The first hit on google is the SDK FAQ, it's on the same site.

Endolf

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Gibbo3771 (9 views)
2014-11-24 19:59:16

trollwarrior1 (35 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (66 views)
2014-11-07 19:57:14

TehJavaDev (70 views)
2014-11-03 22:04:50

BurntPizza (68 views)
2014-11-03 18:54:52

moogie (83 views)
2014-11-03 06:22:04
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!