Mplay.jl icon indicating copy to clipboard operation
Mplay.jl copied to clipboard

can't run mplay on Windows, DLL doesn't load

Open MarkNahabedian opened this issue 1 year ago • 6 comments

On MSWindows, when I try to mplay a MIDI file I get an error that a DLL can't be loaded:

using Mplay
  Activating project at `c:\Users\Mark Nahabedian\.julia\dev\RegistryCI.jl`
mplay("foo.mid")
ERROR: could not load library "C:\Users\Mark Nahabedian\.julia\packages\Mplay\zc7Lu\src\lib/libglfw.dll"
Access is denied. 
Stacktrace:
 [1] Init
   @ C:\Users\Mark Nahabedian\.julia\packages\Mplay\zc7Lu\src\GLFW.jl:27 [inlined]
 [2] mplay(path::String, device::String)
   @ Mplay C:\Users\Mark Nahabedian\.julia\packages\Mplay\zc7Lu\src\Mplay.jl:268
 [3] mplay(path::String)
   @ Mplay C:\Users\Mark Nahabedian\.julia\packages\Mplay\zc7Lu\src\Mplay.jl:266
 [4] top-level scope
   @ none:1

I tried using regsvr32 to register the DLL, but it complains that

"the module ... was loaded but the entry-point DllRegisterServer was not found.

Make sure that ... is a valiud DLL or OCX file and then try again.

MarkNahabedian avatar May 15 '23 15:05 MarkNahabedian