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

Win2k3 installation #2

Open
chalda opened this issue Mar 25, 2013 · 3 comments
Open

Win2k3 installation #2

chalda opened this issue Mar 25, 2013 · 3 comments
Assignees

Comments

@chalda
Copy link

chalda commented Mar 25, 2013

I've spend a few hours now trying to get this to build on a windows machine, do you have any tips? There are all sorts of VS linker errors and a lot of the calls seem to be hardcoded for UNIX.

@ghost ghost assigned mooz Mar 26, 2013
@santeriv
Copy link

santeriv commented Jun 1, 2013

+1
Some tips from someone who has done before windows specific configs with node-gyp would be nice...

I got this far with custom version of node-icu-charset : https://github.com/santeriv/node-icu-charset-detector/blob/patch-1/binding.gyp on Win 7 and Win 8

First of course downloaded/unzipped 32-bit icu release.zip \lib \bin \Include folders to my Visual Studio\VC http://site.icu-project.org/download/51#TOC-ICU4C-Download

in my package.json I have it like this:

  "dependencies": {
  ....
    "node-icu-charset-detector": "git://github.com/santeriv/node-icu-charset-detector.git#patch-1"
  },

Error was still (wrong i18n lib icuin.lib??)

node-icu-charset-detector.obj : error LNK2001: unresolved external symbol ucsdet_close_51 [M:\apps\test\node_modules\node-icu-charset-detector\build\node-icu-charset-detector.vcxproj]
node-icu-charset-detector.obj : error LNK2001: unresolved external symbol ucsdet_getConfidence_51 [M:\apps\test\node_modules\node-icu-charset-detector\build\node-icu-charset-detector.vcxproj]
...
M:\apps\test\node_modules\node-icu-charset-detector\build\Release\node-icu-charset-detector.node : fatal error LNK1120: 7 unresolved externals [M:\apps\test\node_modules\node-icu-charset-detector\build\node-icu-charset-detector.vcxproj]
gyp ERR! build error

@vBm
Copy link

vBm commented Dec 29, 2015

Guess no one cares about Windows users ;x

@ForsakenHarmony
Copy link

download icu, unpack the includes to ~.node-gyp\5.10.0\include\node

getting this now though:

LINK : fatal error LNK1181: cannot open input file '`icu-config --detect-prefix --ldflags`.lib' [C:\Users\ArmyOfAnarchi
sts\Programming\JS\node-icu-charset-detector\build\node-icu-charset-detector.vcxproj]

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

5 participants