-
Notifications
You must be signed in to change notification settings - Fork 4
/
COMPILING
71 lines (40 loc) · 1.76 KB
/
COMPILING
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Java API for the Logitech LCD G19 gaming keyboard - 2010-04-11
David Powell <[email protected]>
<http://github.com/djpowell/lcdjni>
This software is distributed under the MIT licence.
----------------------------------------
Prerequisites
-------------
"JDK 6" is required to build the Java components.
"Apache Ant" must be installed to run the build scripts.
The C++ components were developed using "Visual C++ 2008 Express".
"Windows SDK Version 7.0" is required to build the C++ components.
By default, Visual C++ 2008 Express is only capable of building the
32-bit version of the DLL, but the Windows SDK also includes the
64-bit compiler.
The build files make the following assumptions:
a. That the Logitech SDK has been unzipped to:
C:\Program Files\Logitech\GamePanel Software\LCD Manager\SDK\LCDSDK_3.04.143
b. That the 64-bit JDK 1.6 has been installed to c:\jdk
c. That the 32-bit JDK 1.6 has been installed to c:\jdk32
The Visual C++ project configuration may require editing if the environment is different.
Compilation
-----------
To build the JAR files, examples, and C++ DLL:
1. Start the Windows SDK "CMD Shell" from the start menu.
2. cd <project-dir>
3. Type ant
If you are having problems building the 64-bit DLL, you can skip it by
running:
1. Start the Windows SDK "CMD Shell" from the start menu.
2. cd <project-dir>
3. Type ant -Dskip-64=true
If you don't have Visual C++ or the Windows SDK installed, you can
just build the Java components by running:
1. Start a command prompt
2. cd <project-dir>
3. Type ant -Dskip-64=true -Dskip-32=true
You can also skip building the webstart example, by adding the parameter:
-Dskip-webstart=true
--
Dave