<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: error inside seial.ports() example 11_07 from the processing book</title>
		<link>http://forums.leaflabs.com/topic.php?id=197</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:14 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=197" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "error inside seial.ports() example 11_07 from the processing book"</title>
			<link>http://forums.leaflabs.com/topic.php?id=197#post-1375</link>
			<pubDate>Tue, 21 Sep 2010 20:00:26 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1375@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;quote: &#34;ava.lang.UnsatisfiedLinkError: /home/josheeg/Desktop/processing-1.2.1/libraries/serial/library/librxtxSerial.so: /home/josheeg/Desktop/processing-1.2.1/libraries/serial/library/librxtxSerial.so: wrong ELF class&#34;&#60;/p&#62;
&#60;p&#62;The IDE shouldnt try and load up the librxtx from the processing directory...you are compiling from inside the maple ide right?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "error inside seial.ports() example 11_07 from the processing book"</title>
			<link>http://forums.leaflabs.com/topic.php?id=197#post-1369</link>
			<pubDate>Tue, 21 Sep 2010 09:21:06 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">1369@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi josheeg,&#60;/p&#62;
&#60;p&#62;Which OS and architecture (32-bit or 64-bit?) are you running? The second error you have seems to indicate that you're either running the wrong librxtx package for your architecture
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "error inside seial.ports() example 11_07 from the processing book"</title>
			<link>http://forums.leaflabs.com/topic.php?id=197#post-1363</link>
			<pubDate>Mon, 20 Sep 2010 22:22:36 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">1363@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi josheeg,&#60;/p&#62;
&#60;p&#62;It looks like you forgot to set your pinMode in setup(). Try taking a look at the examples here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://arduino.cc/en/Reference/DigitalRead&#34; rel=&#34;nofollow&#34;&#62;http://arduino.cc/en/Reference/DigitalRead&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>josheeg on "error inside seial.ports() example 11_07 from the processing book"</title>
			<link>http://forums.leaflabs.com/topic.php?id=197#post-1362</link>
			<pubDate>Mon, 20 Sep 2010 22:03:48 +0000</pubDate>
			<dc:creator>josheeg</dc:creator>
			<guid isPermaLink="false">1362@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;error inside seial.ports() example 11_07 from the processing book I modified the int write code to work with the maple.&#60;/p&#62;
&#60;p&#62;The button on board is the input and serial monitor shows some weird character when I hit the button and nothing when I don't it is sending one askee character as if it was a character great this is good I want to send a lot of data...&#60;/p&#62;
&#60;p&#62;After the code it will show the processing error.&#60;/p&#62;
&#60;p&#62;// Example 11-06 from &#34;Getting Started with Processing&#34;&#60;br /&#62;
// by Reas &#38;amp; Fry. O'Reilly / Make 2010&#60;/p&#62;
&#60;p&#62;// Note: This is code for an Arduino board, not Processing&#60;/p&#62;
&#60;p&#62;int sensorPin = 38;  // Select input pin&#60;br /&#62;
int val = 0;&#60;/p&#62;
&#60;p&#62;void setup() {&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;void loop() {&#60;br /&#62;
  val = digitalRead(sensorPin);  // Read value from sensor&#60;br /&#62;
  SerialUSB.print(val, BYTE);&#60;br /&#62;
  delay(100); // Wait 100 milliseconds&#60;br /&#62;
} &#60;/p&#62;
&#60;p&#62;error to fallow I think it is because the int in a maple is 32 bits&#60;/p&#62;
&#60;p&#62;java.lang.UnsatisfiedLinkError: /home/josheeg/Desktop/processing-1.2.1/libraries/serial/library/librxtxSerial.so: /home/josheeg/Desktop/processing-1.2.1/libraries/serial/library/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver&#60;br /&#62;
java.lang.UnsatisfiedLinkError: /home/josheeg/Desktop/processing-1.2.1/libraries/serial/library/librxtxSerial.so: /home/josheeg/Desktop/processing-1.2.1/libraries/serial/library/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)&#60;br /&#62;
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)&#60;br /&#62;
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)&#60;br /&#62;
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)&#60;br /&#62;
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)&#60;br /&#62;
	at java.lang.System.loadLibrary(System.java:1028)&#60;br /&#62;
	at gnu.io.CommPortIdentifier.&#38;lt;clinit&#38;gt;(CommPortIdentifier.java:83)&#60;br /&#62;
	at processing.serial.Serial.list(Unknown Source)&#60;br /&#62;
	at Ex_11_07.setup(Ex_11_07.java:40)&#60;br /&#62;
	at processing.core.PApplet.handleDraw(Unknown Source)&#60;br /&#62;
	at processing.core.PApplet.run(Unknown Source)&#60;br /&#62;
	at java.lang.Thread.run(Thread.java:619)&#60;br /&#62;
processing.app.debug.RunnerException: RuntimeException: Error inside Serial.ports()&#60;br /&#62;
	at processing.app.Sketch.placeException(Sketch.java:1543)&#60;br /&#62;
	at processing.app.debug.Runner.findException(Runner.java:582)&#60;br /&#62;
	at processing.app.debug.Runner.reportException(Runner.java:558)&#60;br /&#62;
	at processing.app.debug.Runner.exception(Runner.java:498)&#60;br /&#62;
	at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)&#60;br /&#62;
	at processing.app.debug.EventThread.handleEvent(EventThread.java:255)&#60;br /&#62;
	at processing.app.debug.EventThread.run(EventThread.java:89)&#60;br /&#62;
Exception in thread &#34;Animation Thread&#34; java.lang.RuntimeException: Error inside Serial.ports()&#60;br /&#62;
	at processing.serial.Serial.errorMessage(Unknown Source)&#60;br /&#62;
	at processing.serial.Serial.list(Unknown Source)&#60;br /&#62;
	at Ex_11_07.setup(Ex_11_07.java:40)&#60;br /&#62;
	at processing.core.PApplet.handleDraw(Unknown Source)&#60;br /&#62;
	at processing.core.PApplet.run(Unknown Source)&#60;br /&#62;
	at java.lang.Thread.run(Thread.java:619)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
