We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Processing + Carnivore == UnsatisfiedLinkError
Page Index Toggle Pages: 1
Processing + Carnivore == UnsatisfiedLinkError (Read 1638 times)
Processing + Carnivore == UnsatisfiedLinkError
Apr 14th, 2009, 6:50am
 
Hi,

I'm a bit new to Processing (but really enjoying it!) and an ok java programmer. I'm having real problems with Carnivore.

I'm running OSX 1.5 on a MBP and every time I run even the demo sketches from the site it gives me the following terminal read out:

[org.rsg.carnivore.CarnivoreP5] starting carnivore core
[org.rsg.carnivore.Core] starting Carnivore core...
[org.rsg.carnivore.net.Devices] Found network devices: {en1=AirPort}

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: net.sourceforge.jpcap.capture.PacketCapture.open(ILjava/lang/String;IZI)V
     at net.sourceforge.jpcap.capture.PacketCapture.open(Native Method)
     at net.sourceforge.jpcap.capture.PacketCapture.open(PacketCapture.java:53)
     at org.rsg.carnivore.Core.openCaptureOnEveryDevice(Core.java:76)
     at org.rsg.carnivore.Core.<init>(Core.java:53)
     at org.rsg.carnivore.CarnivoreP5.<init>(CarnivoreP5.java:43)
     at sketch_CP5_example3.setup(sketch_CP5_example3.java:180)
     at processing.core.PApplet.handleDraw(PApplet.java:1400)
     at processing.core.PApplet.run(PApplet.java:1328)
     at java.lang.Thread.run(Thread.java:637)

It would be really great if anyone could help! I really want to get an idea down but can't at the moment because of this!

Thanks in advance for any help!


Re: Processing + Carnivore == UnsatisfiedLinkError
Reply #1 - Apr 14th, 2009, 8:52am
 
Looks like a library discrepancy.
Searching... UnsatisfiedLinkError: "Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native."
I don't know Carnivore, but I found its description in the libraries listing. It looks a bit like Wireshark, and I know that for the latter, I must install WinPCap, a generic network capture library for Windows. Perhaps you have to install something similar for your OSX (what is MBP?).
Re: Processing + Carnivore == UnsatisfiedLinkError
Reply #2 - Apr 14th, 2009, 11:26am
 
Sorry, mbp is Macbook Pro. I've just finished a course at Uni using wireshark and I had a whole load of hell getting it working. Maybe it's something to do with that...
Re: Processing + Carnivore == UnsatisfiedLinkError
Reply #3 - Mar 11th, 2010, 10:00am
 
ive just encountered the same problem on two different systems. ive tested it on about 10 machines, 2 had this problem. Does anybody knows what the problem could be ? the wincap, and mac equivalent ( a suso command) is not the problem. the problem seems to be about the library. still i dont know what the problem could be.
jims, did you solve it ?
Page Index Toggle Pages: 1