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
Unable to install on 32-bit Windows OS #40
Comments
Hmm, no clue sorry, node checksum seems to not match. You are better off asking the guys at node-gyp what the issue is. |
I found this Issue 693 in node-gyp's repo. But it isn't of much help. I even tried installing it without using my own build of dlib and let npm download and build dlib using VS2017 build tools but it still throws the same error. Is there any other way? |
The error is thrown by node-gyp in the install script, when trying to install the node headers. The auto build of dlib on windows is currently hardcoded to x64, so I would definitely use an own build of dlib for that. |
As I have stated before, I had initially used my own build of dlib for 32-bit Windows but still encountered the aforementioned error. |
Yes I know, just saying you should stick with your own build. I have no clue what could cause this problem as I never ran into this, sorry. Maybe also nodejs/node-gyp#724 helps, or upgrading npm/ the node-gyp version that comes bundled with npm. |
Nope. Still getting the same error. |
Feel free to close this issue. |
Okay, well one could also download the node headers manually and set the node path with |
Hi,
I need to build my project for 32-bit systems.
Hence I have built dlib for 32-bit Windows and have set the DLIB_INCLUDE_DIR & DLIB_LIB_DIR in windows PATH variable.
But I am getting following error:
C:\face-detector>npm i face-recognition@0.4.0
dlib-build@0.0.6 install C:\face-detector\node_modules\dlib-build
node ./install.js
found dlib
DLIB_INCLUDE_DIR: C:\prj\dlib_build_release\include
DLIB_LIB_DIR: C:\prj\dlib_build_release\lib
face-recognition@0.4.0 install C:\face-detector\node_modules\face-recognition
node-gyp rebuild
C:\face-detector\node_modules\face-recognition>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_
modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_mo
dules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: win-x86/node.lib local checksum 4514e8d359637abcf994f36fc110b956c73344e761773de5e9c72a0cccec59b5 not match remote
c4edece2c0aa68e816c4e067f397eb12e9d0c81bb37b3d349dbaf47cf246b0b7
gyp ERR! stack at deref (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:266:20)
gyp ERR! stack at Request. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:384:24)
gyp ERR! stack at emitOne (events.js:121:20)
gyp ERR! stack at Request.emit (events.js:211:7)
gyp ERR! stack at IncomingMessage. (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1085:12)
gyp ERR! stack at Object.onceWrapper (events.js:313:30)
gyp ERR! stack at emitNone (events.js:111:20)
gyp ERR! stack at IncomingMessage.emit (events.js:208:7)
gyp ERR! stack at endReadableNT (_stream_readable.js:1055:12)
gyp ERR! stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node
-gyp.js" "rebuild"
gyp ERR! cwd C:\face-detector\node_modules\face-recognition
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! face-recognition@0.4.0 install:
node-gyp rebuild
npm ERR! Exit status 1
OS: Windows 7, 32-bit
Node: v8.9.4
npm: 5.6.0
The text was updated successfully, but these errors were encountered: