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

compile error on windows 7 64bit when compile FontManagerWindows.cc #3

Closed
zoghal opened this issue Jul 3, 2015 · 2 comments
Closed

Comments

@zoghal
Copy link

zoghal commented Jul 3, 2015

hi
i have get this error when install:

C:\Users\zoghal\node_modules\font-manager>node "C:\Users\zoghal\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-g
yp\bin\node-gyp.js" rebuild
child_process: customFds option is deprecated, use stdio instead.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  FontManager.cc
  FontManagerWindows.cc
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics ar
e not enabled. Specify /EHsc (..\src\FontManager.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics ar
e not enabled. Specify /EHsc (..\src\FontManagerWindows.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
C:\Users\zoghal\node_modules\font-manager\node_modules\nan\nan.h(430): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data (..\src\FontManagerWindows.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
C:\Users\zoghal\node_modules\font-manager\node_modules\nan\nan.h(430): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data (..\src\FontManager.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
C:\Users\zoghal\node_modules\font-manager\node_modules\nan\nan.h(456): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data (..\src\FontManagerWindows.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
C:\Users\zoghal\node_modules\font-manager\node_modules\nan\nan.h(456): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data (..\src\FontManager.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
C:\Users\zoghal\node_modules\font-manager\node_modules\nan\nan.h(181): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible
loss of data (..\src\FontManager.cc) [C:\Users\zoghal\node_modules\font-manager\build\fontmanager.vcxproj]
          ..\src\FontManager.cc(19) : see reference to function template instantiation 'v8::Local<v8::Array> NanNew<v8::Array,unsigned __int64>
  (P)' being compiled
          with
          [
              P=unsigned __int64
          ]
..\src\FontManagerWindows.cc(457): warning C4267: 'argument' : conversion from 'size_t' to 'UINT32', possible loss of data [C:\Users\zoghal\nod
e_modules\font-manager\build\fontmanager.vcxproj]
     Creating library C:\Users\zoghal\node_modules\font-manager\build\Release\fontmanager.lib and object C:\Users\zoghal\node_modules\font-mana
  ger\build\Release\fontmanager.exp
  Generating code
  Finished generating code
  fontmanager.vcxproj -> C:\Users\zoghal\node_modules\font-manager\build\Release\\fontmanager.node
npm WARN unmet dependency C:\Users\zoghal\node_modules\yeoman\node_modules\grunt requires colors@'~0.6.0' but will load
npm WARN unmet dependency C:\Users\zoghal\node_modules\yeoman\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\zoghal\node_modules\yeoman\node_modules\prompt requires colors@'0.x.x' but will load
npm WARN unmet dependency C:\Users\zoghal\node_modules\yeoman\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\zoghal\node_modules\yeoman\node_modules\prompt\node_modules\winston requires colors@'0.x.x' but will load
npm WARN unmet dependency C:\Users\zoghal\node_modules\yeoman\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
font-manager@0.1.0 ..\..\node_modules\font-manager
└── nan@1.3.0

how to fix this problem?

@devongovett
Copy link
Member

Please try again with the latest version, which has upgrades for the latest version of node.

@zoghal
Copy link
Author

zoghal commented Dec 31, 2015

👍 thanks

@zoghal zoghal closed this as completed Dec 31, 2015
plusone-masaki referenced this issue in plusone-masaki/font-scanner Dec 26, 2022
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

2 participants