2012年6月13日 星期三

[Processing] C:\processing-1.2.1\libraries\JMyron\library\JMyron.dll: Can't find dependent libraries



A tip for Windows 7 users, from lgfa321:
If you are getting this error when you try to run: processing.app.debug.RunnerException: UnsatisfiedLinkError: D:\Software\processing-1.2.1\libraries\JMyron\library\JMyron.dll: Can't find dependent libraries:

"Reason : Windows 7 doesn't come with MicroSoft C libraries, which were normally include in the other (older) Windoes system.
This means there are two files missing in the Windows 7 system: MSVCP71.DLL and Msvcr71.dll
Solution : Download these two files from here:
http://www.addictivetips.com/?attachment_id=38105
AND!
For Windows 7 32-bit OS: put both dll files inside Windows/System32 folder
For Windows 7 64-bit OS: put both dll files inside Windows/SysWOW64 folder."



Setup Instructions for OSX 10.7 Lion (from AaronW):
  1. Unzip and Install the Arduino IDE v1.0 for OSX into your applications folder.
  2. Unzip and Install the Processing IDE v1.5.1 for OSX into your applications folder.
  3. Run the Arduino IDE,( I was prompted to automatically download and install a Java runtime as this was run on a clean install of OSX).
  4. Run the Processing IDE, and close it again.
  5. Check that there is now an “arduino” and “processing” folder in your user “Documents” folder
  6. Download Code Version 6.02.zip from the Project Sentry Gun Website.
  7. Extract the zip file and open “Code Version 6.02.zip/Arduino Code/Turrett_06_02/Turret_06_02.ino”,in the Arduino IDE, upload to your Arduino controller.
  8. Copy the “Code Version 6.02.zip/Processing code/libraries” folder to your user “Documents /Processing” folder.
  9. Download libJMyron.jnilib compiled for intel macs from http://jibberia.com/projects and use it to replace the libJMyron.jnilib currently located in your user “Documents/Processing/libraries/JMyron/library” folder.
  10. Run the Processing IDE and load “Code Version 6.02.zip/Processing code/Turrret_06_02/Turret_06_02.pde”.
  11. Click Run.