You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Android SDK API 14 or newer http://developer.android.com/sdk/
72
+
* Android SDK API 21 or newer http://developer.android.com/sdk/
73
73
* JOCL and JOGL from JogAmp http://jogamp.org/
74
74
75
75
Finally, please make sure everything has the same bitness: **32-bit and 64-bit modules do not mix under any circumstances**.
@@ -89,7 +89,7 @@ Eclipse (Java SE 7 or newer):
89
89
1. Navigate to Project > Properties > Java Build Path > Libraries and click "Add External JARs...".
90
90
2. Locate the JAR files, select them, and click OK.
91
91
92
-
IntelliJ IDEA (Android 4.0 or newer):
92
+
IntelliJ IDEA (Android 5.0 or newer):
93
93
94
94
1. Follow the instructions on this page: http://developer.android.com/training/basics/firstapp/
95
95
2. Copy all the JAR files into the `app/libs` subdirectory.
@@ -107,9 +107,11 @@ Sample Usage
107
107
The class definitions are basically ports to Java of the original header files in C/C++, and I deliberately decided to keep as much of the original syntax as possible. For example, here is a method that tries to load an image file, smooth it, and save it back to disk:
@@ -273,13 +276,16 @@ Furthermore, after creating a `pom.xml` file with the following content:
273
276
<dependency>
274
277
<groupId>org.bytedeco</groupId>
275
278
<artifactId>javacv-platform</artifactId>
276
-
<version>1.4.4</version>
279
+
<version>1.5-SNAPSHOT</version>
277
280
</dependency>
278
281
</dependencies>
282
+
<build>
283
+
<sourceDirectory>.</sourceDirectory>
284
+
</build>
279
285
</project>
280
286
```
281
287
282
-
And by placing the source code above in `src/main/java/Demo.java`, we can use the following command to have everything first installed automatically and then executed by Maven:
288
+
And by placing the source code above in `Demo.java`, or similarly for other classes found in the [`samples`](samples), we can use the following command to have everything first installed automatically and then executed by Maven:
283
289
```bash
284
290
$ mvn compile exec:java -Dexec.mainClass=Demo
285
291
```
@@ -291,8 +297,8 @@ Build Instructions
291
297
If the binary files available above are not enough for your needs, you might need to rebuild them from the source code. To this end, the project files were created for:
Once installed, simply call the usual `mvn install` command for JavaCPP, its Presets, and JavaCV. By default, no other dependencies than a C++ compiler for JavaCPP are required. Please refer to the comments inside the `pom.xml` files for further details.
0 commit comments