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

Problem with i686 version (c++ stdlib) #11

Open
Quaker762 opened this issue Dec 31, 2016 · 2 comments
Open

Problem with i686 version (c++ stdlib) #11

Quaker762 opened this issue Dec 31, 2016 · 2 comments

Comments

@Quaker762
Copy link
Member

For some reason, unless certain dlls are copied over to the application directory (libgcc_s_sjlj.dll, libstdc++6.dll and libwinpthread-1.dll), the i686 version of sh3rd.exe will fail to launch, with the error:

The application is unable to start: 0xc000007b
wot

From what I understand, this is because the application is attempting to load a 64-bit binary into the 32-bit executable. Is there a way to rectify this at compile time (I'm using mingw-w64 6.2.0 on Windows 7)

@z33ky
Copy link
Collaborator

z33ky commented Dec 31, 2016

My quick research seems to indicate it's just that it can't find the proper library.

Apparently there's a dumpbin tool that you can invoke to get a list of dependencies, hopefully like ldd it also attempts a lookup.
If you don't have MSVS installed, there's also this suggestion.

@Quaker762
Copy link
Member Author

Okay I'll have to look into it. Windows seems to act strangely when targeting both i686 on a 64-bit system (probably due to kernel32 and SysWoW)

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

No branches or pull requests

2 participants