Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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 2514 times)
0 Members and 1 Guest are viewing this topic.
Offline jiapei100

Junior Member





« Posted 2009-10-04 15: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 Member





« Reply #1 - Posted 2009-10-05 05: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
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #2 - Posted 2009-10-05 07: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 Member





« Reply #3 - Posted 2009-10-05 15: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 Member





« Reply #4 - Posted 2009-10-05 17: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 Member





« Reply #5 - Posted 2009-10-05 17: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
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #6 - Posted 2009-10-05 17: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 Member





« Reply #7 - Posted 2009-10-07 00: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
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #8 - Posted 2009-10-07 07: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (119 views)
2013-05-17 21:29:12

alaslipknot (126 views)
2013-05-16 21:24:48

gouessej (157 views)
2013-05-16 00:53:38

gouessej (147 views)
2013-05-16 00:17:58

theagentd (162 views)
2013-05-15 15:01:13

theagentd (147 views)
2013-05-15 15:00:54

StreetDoggy (191 views)
2013-05-14 15:56:26

kutucuk (215 views)
2013-05-12 17:10:36

kutucuk (214 views)
2013-05-12 15:36:09

UnluckyDevil (217 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.088 seconds with 22 queries.