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

Installing on 64 bit windows fails #22

Open
9point6 opened this issue Jul 25, 2013 · 7 comments
Open

Installing on 64 bit windows fails #22

9point6 opened this issue Jul 25, 2013 · 7 comments

Comments

@9point6
Copy link

9point6 commented Jul 25, 2013

Performing an npm install on windows 8 64 bit fails with the following error:

QtCore4.lib(QtCore4.dll) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' [.......\node_modules\node-qt\build\qt.vcxproj]

If I try setting the windows sdk environment to x86 I get this error instead:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformToolsets\Windows7.1SDK\Microsoft.Cpp.x64.Windows7.1SDK.targets(20,5):
error : You are attempting to build an AMD64 application from an x86 environment. If using the Windows 7.1 SDK, type setenv /x64 [........\node_modules\node-qt\build\qt.vcxproj]
@qfox
Copy link

qfox commented Aug 4, 2013

Same trouble here. Help please. What to do with it?

@chengluyu
Copy link

What is your compiler? Please use 64-bit compiler on 64-bit OS.

@9point6
Copy link
Author

9point6 commented Aug 14, 2013

I tried using VS2012 and VS2010 compilers in both 64-bit and 32-bit modes.

@wrj898
Copy link

wrj898 commented Jan 11, 2014

If your windows is x64 version, install nodejs x86 version but not x64 version .... da da da problem fixed!

@manvir-singh
Copy link

@wrj898 that fixed it for me thanks.

@manvir-singh
Copy link

wait i get this now when running the example script on node-qt main page.
capture

@chenkline
Copy link

install error
QtCore4.lib(QtCore4.dll) : fatal error LNK1112: module machine type 'X86' confl
icts with target machine type 'x64' [E:\nodejs\node-qt-master\build\qt.vcxproj]

Node.js version x86/v0.10.26
OS: windows 7
machine : x64

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

6 participants