Author Topic: Digiterm and could not open library error  (Read 3058 times)

jjwalter2001

  • Newbie
  • *
  • Posts: 1
Digiterm and could not open library error
« on: January 03, 2015, 08:42:44 am »
I'm just starting to play around with the DigiSpark Pro - and trying to use digiterm to connect via USB to see the data I'm sending back.  However, I can't seem to get digiterm to run.  It's giving me this error message:

Could not open library 'libusb-1.0.dll': The specified module could not be found.
.
Could not open library 'C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/lib/libusb-1.0.dll': The specified module could not be found.
.
Could not open library 'C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/bin/libusb-1.0.dll': The specified module could not be found.
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x86-mingw32/lib/ffi/library.rb:100:in `map'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x86-mingw32/lib/ffi/library.rb:100:in `ffi_lib'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/lib/libusb/call.rb:31:in `<module:Call>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/lib/libusb/call.rb:23:in `<module:LIBUSB>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/lib/libusb/call.rb:19:in `<top (required)>'
        from C:/Ruby21/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby21/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/lib/libusb.rb:17:in `<module:LIBUSB>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/libusb-0.4.1-x86-mingw32/lib/libusb.rb:16:in `<top (required)>'
        from C:/Ruby21/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby21/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/digiusb-1.0.5/lib/digiusb.rb:24:in `<top (required)>'
        from C:/Ruby21/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby21/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/digiusb-1.0.5/bin/digiterm:3:in `<top (required)>'
        from C:/Ruby21/bin/digiterm:23:in `load'
        from C:/Ruby21/bin/digiterm:23:in `<main>'

However, libusb-1.0.dll does exist in the lib directory it's trying to load it from...it just can't load it for some reason.  Google returns nothing worthwhile when searching for the error message - and I didn't see anything similar on these boards.

Any ideas how I can further troubleshoot and resolve the problem?

Thanks