Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI-Console Error: LoadLibrary('mupen64plus.dll') error: The specified module could not be found #651

Open
tunes0710 opened this issue Jun 3, 2019 · 5 comments

Comments

@tunes0710
Copy link

tunes0710 commented Jun 3, 2019

Hi all.
I've downloaded both mupen64plus-bundle-win32-2.5.zip and mupen64plus-bundle-win32-2.5.9.zip

Have extracted them to individual folders, opened up a command prompt and cd'd to each one
but when I run mupen64plus-ui-console.exe I get

 __  __                         __   _  _   ____  _
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
             |_|         https://mupen64plus.org/
Mupen64Plus Console User-Interface Version 2.5.9

UI-Console Error: LoadLibrary('mupen64plus.dll') error: The specified module could not be found.

UI-Console Error: LoadLibrary('.\mupen64plus.dll') error: The specified module could not be found.

UI-Console Error: AttachCoreLib() Error: failed to find Mupen64Plus Core library

The same error as this person (#429) was getting when he was compiling them himself.

Are the binary package requirements needed for pre-compiled exe's? or just when you are compiling yourself?

How would I figure out which package I am missing.. I was originally missing msvcr120.dll, but I think that is because I am on a 64 bit version of windows (10). I downloaded a 32 bit .dll and put that in the folder and it got me past that issue.

Any help would be appreciated.
Cheers :-)

@tunes0710
Copy link
Author

Forgot to add... I downloaded m64py and installed that and that opens and I can run games through that ok.

@Narann
Copy link
Member

Narann commented Jun 3, 2019 via email

@tunes0710
Copy link
Author

tunes0710 commented Jun 3, 2019

If I create a new folder with the contents of m64py and copy over mupen64plus-ui-console.exe and then run it in the folder, it works

 __  __                         __   _  _   ____  _
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
             |_|         https://mupen64plus.org/
Mupen64Plus Console User-Interface Version 2.5.9

UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.0
UI-Console:             Includes support for Dynamic Recompiler.
UI-Console Error: no ROM filepath given

If I copy over the mupen64plus.dll from either the 2.5.0 or 2.5.9 folder in to the test folder, it then gives the loadlibrary error

10/02/2019 11:51 468,480 mupen64plus.dll <--- dll from bundle package
19/01/2017 04:24 3,605,504 mupen64plus.dll <--- dll from m64py

Is the one in the bundle looking for pre-requisites?

How easy is it to compile from source? As I'm wondering if it would be easier to do that...

@richard42
Copy link
Member

It's not too hard to compile from source with visual studio. There must be some DLL dependency which is missing from our binary build. You could also use this tool called "Dependency Walker" to find the missing dependent library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants