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

Install fails in Windows #12

Open
mc2 opened this issue Dec 20, 2017 · 1 comment
Open

Install fails in Windows #12

mc2 opened this issue Dec 20, 2017 · 1 comment

Comments

@mc2
Copy link

mc2 commented Dec 20, 2017

Hope this helps:

> [email protected] install C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding
> node-gyp rebuild
C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding>if not defined npm_config_node_gyp (node "C:\Users\m\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\m\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
Warning: Missing input files:
C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\..\..\..\vendor\icu\iculslocs.cc
C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\..\..\..\vendor\icu\no-op.cc
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  csdetect.cpp
  csmatch.cpp
  csr2022.cpp
  csrecog.cpp
  csrmbcs.cpp
  csrsbcs.cpp
  csrucode.cpp
  csrutf8.cpp
c:\users\m\appdata\roaming\npm\node_modules\detect-character-encoding\vendor\icu\common\unicode/uclean.h(152): warning C4229: anachronism used: modifiers on data are ignored (compiling source file ..\..\..\vendor\icu\i18n\csdetect.cpp) [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\icui18n.vcxproj]
  inputext.cpp
  ucln_in.cpp
  ucsdet.cpp
  win_delay_load_hook.cc
c:\users\m\appdata\roaming\npm\node_modules\detect-character-encoding\vendor\icu\common\unicode/uclean.h(152): warning C4229: anachronism used: modifiers on data are ignored (compiling source file ..\..\..\vendor\icu\i18n\ucln_in.cpp) [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\icui18n.vcxproj]
  icui18n.vcxproj -> C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\Release\\icui18n.lib
  cmemory.cpp
  uarrsort.cpp
  ucln_cmn.cpp
  uenum.cpp
  umutex.cpp
  uobject.cpp
  utypes.cpp
  win_delay_load_hook.cc
c:\users\m\appdata\roaming\npm\node_modules\detect-character-encoding\vendor\icu\common\unicode/uclean.h(152): warning C4229: anachronism used: modifiers on data are ignored (compiling source file ..\..\..\vendor\icu\common\ucln_cmn.cpp) [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\icuucx.vcxproj]
c:\users\m\appdata\roaming\npm\node_modules\detect-character-encoding\vendor\icu\common\unicode/uclean.h(152): warning C4229: anachronism used: modifiers on data are ignored (compiling source file ..\..\..\vendor\icu\common\cmemory.cpp) [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\icuucx.vcxproj]
c:\users\m\appdata\roaming\npm\node_modules\detect-character-encoding\vendor\icu\common\unicode/uclean.h(152): warning C4229: anachronism used: modifiers on data are ignored (compiling source file ..\..\..\vendor\icu\common\umutex.cpp) [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\vendor\icu\icuucx.vcxproj]
  icuucx.vcxproj -> C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\Release\\icuucx.lib
  icuWrapper.cpp
  win_delay_load_hook.cc
     Creating library C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\Release\icuWrapper.lib and object C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\Release\icuWrapper.exp
icui18n.lib(csmatch.obj) : error LNK2001: unresolved external symbol ucnv_open_59 [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
icui18n.lib(csmatch.obj) : error LNK2001: unresolved external symbol ucnv_toUChars_59 [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
icui18n.lib(csmatch.obj) : error LNK2001: unresolved external symbol ucnv_close_59 [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
icuucx.lib(uenum.obj) : error LNK2001: unresolved external symbol u_UCharsToChars_59 [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
icuucx.lib(uenum.obj) : error LNK2001: unresolved external symbol u_charsToUChars_59 [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
icuucx.lib(ucln_cmn.obj) : error LNK2001: unresolved external symbol utrace_cleanup_59 [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\Release\icuWrapper.node : fatal error LNK1120: 6 unresolved externals [C:\Users\m\AppData\Roaming\npm\node_modules\detect-character-encoding\build\icuWrapper.vcxproj]
@sonicdoe
Copy link
Owner

Thanks. As mentioned in the readme, I’m aware that detect-character-encoding doesn’t currently work on Windows. I’ll keep this issue open but I probably won’t have the time to address it anytime soon.

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