1

This is my first time using Ruby. Currently I am trying to run this Ruby script on Windows. I have downloaded an extracted this to c:/PhotoOrganizer-master

It also requires pHash so I have downloaded and extracted (to c:/pHash).

I have set the following environment variable:

PHASH_LIB = c:/pHash/Release

Currently when I run the script (ruby PhotoOrganizer) I get the following error:

C:/Ruby200-x64/.../ffi/library.rb:133:in
`block in ffi_lib': Could not open library 'C:\pHash\Release\pHash.dll':  
(LoadError)

What am I doing wrong?

p_mcp
  • 2,643
  • 8
  • 36
  • 75

0 Answers0