Merge pull request #229 from processing/jssc_update_2

This commit is contained in:
Ben Fry
2021-10-03 12:51:16 -04:00
committed by GitHub
10 changed files with 1 additions and 6 deletions
-5
View File
@@ -803,11 +803,6 @@
<unzip src="${unpack.gluegen}.jar" dest="${unpack.gluegen}" />
<unzip src="${unpack.jssc}.jar" dest="${unpack.jssc}" />
<!-- Termporary; these appear to be in error
https://github.com/processing/processing4/issues/119 -->
<delete file="${unpack.jssc}/natives/windows_64/libjssc.dylib" />
<delete file="${unpack.jssc}/natives/windows_32/libjssc.dylib" />
<!-- <unzip src="macosx/work/Processing.app/Contents/Java/modes/java/libraries/serial/library/jssc.jar" dest="macosx/work/Processing.app/Contents/Java/modes/java/libraries/serial/library/jssc" /> -->
<apply executable="/usr/bin/codesign" dir="macosx/work" failonerror="true">
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
This is using a modified version of Java Simple Serial Connector by Alexey Sokolov. See https://github.com/gohai/java-simple-serial-connector for details on the modifications.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.