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

Windows x86 support #28

Closed
aminya opened this issue Nov 28, 2020 · 0 comments · Fixed by #29
Closed

Windows x86 support #28

aminya opened this issue Nov 28, 2020 · 0 comments · Fixed by #29
Labels

Comments

@aminya
Copy link
Collaborator

aminya commented Nov 28, 2020

  win_delay_load_hook.cc
ftbase.obj : warning LNK4006: _FT_Library_SetLcdGeometry already defined in ftlcdfil.obj; second definition ignored [C:\Users\aminy\Documents\GitHub\J
avaScript\node-freetype2\build\gyp\libfreetype.vcxproj]
ftbase.obj : warning LNK4006: _FT_Library_SetLcdFilter already defined in ftlcdfil.obj; second definition ignored [C:\Users\aminy\Documents\GitHub\Jav
aScript\node-freetype2\build\gyp\libfreetype.vcxproj]
ftbase.obj : warning LNK4006: _FT_Library_SetLcdFilterWeights already defined in ftlcdfil.obj; second definition ignored [C:\Users\aminy\Documents\Git
Hub\JavaScript\node-freetype2\build\gyp\libfreetype.vcxproj]
ftbase.obj : warning LNK4006: _ft_lcd_padding already defined in ftlcdfil.obj; second definition ignored [C:\node-freetype2\build\gyp\libfreetype.vcxproj]
  libfreetype.vcxproj -> C:\node-freetype2\build\Release\\libfreetype.lib
  util.cc
  FreeType2.cc
  FontFace.cc
C:\node-freetype2\src\FontFace.cc(106,21): error C2666: 'Napi::Object::operator []': 3 overloads have similar
conversions [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\node_modules\node-addon-api\napi-inl.h(1118,22): message : could be 'Napi::Value Napi::Objec
t::operator [](uint32_t) const' [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\node_modules\node-addon-api\napi-inl.h(1114,22): message : or       'Napi::Value Napi::Objec
t::operator [](const std::string &) const' [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\node_modules\node-addon-api\napi-inl.h(1110,22): message : or       'Napi::Value Napi::Objec
t::operator [](const char *) const' [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\node_modules\node-addon-api\napi-inl.h(1106,49): message : or       'Napi::Object::PropertyL
Value<uint32_t> Napi::Object::operator [](uint32_t)' [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\node_modules\node-addon-api\napi-inl.h(1102,52): message : or       'Napi::Object::PropertyL
Value<std::string> Napi::Object::operator [](const std::string &)' [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\node_modules\node-addon-api\napi-inl.h(1098,52): message : or       'Napi::Object::PropertyL
Value<std::string> Napi::Object::operator [](const char *)' [C:\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\src\FontFace.cc(106,21): message : or       'built-in C++ operator[(napi_value, int)' [C:\\node-freetype2\build\freetype2.vcxproj]
C:\node-freetype2\src\FontFace.cc(106,21): message : while trying to match the argument list '(Napi::Array, FT
_Int)' [C:\node-freetype2\build\freetype2.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\aminy\AppData\Roaming\npm\pnpm-global\4\node_modules\.pnpm\node-gyp@7.1.2\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:329:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:277:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\aminy\\AppData\\Roaming\\npm\\pnpm-global\\4\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--target=12.0.0" "--de
vdir=C:\\Users\\aminy\\AppData\\Local\\Temp\\prebuildify\\node" "--target_arch=ia32" "--release"
gyp ERR! cwd C:\node-freetype2
gyp ERR! node -v v15.2.1
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
node-gyp exited with 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@aminya aminya added the bug label Nov 28, 2020
@aminya aminya linked a pull request Nov 29, 2020 that will close this issue
aminya added a commit that referenced this issue Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant