annotate java/jdc/README.txt @ 66:7a61dd082341 default tip

pydc: - fix double free triggered by capsule destructor, when freeing pydc and callback objects, manually
author Tassilo Philipp
date Fri, 24 May 2024 18:16:29 +0200
parents 40a2c4198016
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
1 BUILD
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
2 =====
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
3
20
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
4 1) make sure dyncall is built and libraries/headers are in include paths or
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
5 CFLAGS points to them, etc.
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
6
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
7 2) Build with:
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
8
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
9 make
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
10
21
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
11
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
12 RUNNING EXAMPLES
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
13 ================
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
14
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
15 For example, having build jdc, build and run UnixMathExample from this folder:
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
16
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
17 javac -d . examples/UnixMathExample.java
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
18 java -Djava.library.path=. UnixMathExample
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
19