node-qt
node-qt copied to clipboard
Installing on 64 bit windows fails
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]
Same trouble here. Help please. What to do with it?
What is your compiler? Please use 64-bit compiler on 64-bit OS.
I tried using VS2012 and VS2010 compilers in both 64-bit and 32-bit modes.
If your windows is x64 version, install nodejs x86 version but not x64 version .... da da da problem fixed!
@wrj898 that fixed it for me thanks.
wait i get this now when running the example script on node-qt main page.
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