mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
7 lines
622 B
Plaintext
7 lines
622 B
Plaintext
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.
|