-
-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathjssc.txt
More file actions
6 lines (4 loc) · 622 Bytes
/
jssc.txt
File metadata and controls
6 lines (4 loc) · 622 Bytes
1
2
3
4
5
6
This is using a modified version of Java Simple Serial Connector by Alexey Sokolov. See https://github.com/gohai/java-simple-serial-connector and https://github.com/sampottinger/jssc for details on the modifications to support Processing.
To compile the C++ portion of the library on OS X:
g++ -shared [or: -dynamiclib?] -arch i386 -arch x86_64 -I/System/Library/Frameworks/IOKit.framework/Versions/A/Headers -I$JAVA_HOME/include -I$JAVA_HOME/include/darwin -framework IOKit -framework CoreFoundation -o libjSSC-2.6.jnilib jssc.cpp
Update 2022-10-18: Upstream java-native/jssc now packages all of the libs in a fat jar.