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

Error while installing #168

Open
LizanLycan opened this issue May 30, 2017 · 1 comment
Open

Error while installing #168

LizanLycan opened this issue May 30, 2017 · 1 comment

Comments

@LizanLycan
Copy link

DESCRPTION
I have a problem trying to install the package. Install all dependencies that require, except ImageMagick, install this (ImageMagick-6.9.8-8-Q16-HDRI-x64-dll.exe)

ERROR
c:\Proyect-path\node_modules\nan\nan_new.h(208): error C2668: 'Nan::mp::IntegerFactory<v8::Int
eger>::New': ambiguous call to overloaded function (compiling source file ..\src\imagemagick.cc)
[C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj]
c:\Proyect-path\node_modules\nan\nan_new.h(114): note: could be 'v8::Localv8::Integer Nan::
imp::IntegerFactoryv8::Integer::New(uint32_t)' (compiling source file ..\src\imagemagick.cc)
c:\Proyect-path\node_modules\nan\nan_new.h(113): note: or 'v8::Localv8::Integer Nan::
imp::IntegerFactoryv8::Integer::New(int32_t)' (compiling source file ..\src\imagemagick.cc)
c:\Proyect-path\node_modules\nan\nan_new.h(208): note: while trying to match the argument lis
t '(MagickCore::Quantum)' (compiling source file ..\src\imagemagick.cc)
..\src\imagemagick.cc(810): note: see reference to function template instantiation 'v8::Localv8::Integer Nan::Newv8::Integer,MagickCore::Quantum(A0)' being compi
led
with
[
A0=MagickCore::Quantum
]
Compilación del proyecto terminada "C:\Proyect-path\node_modules\imagemagick-native\build\image
magick.vcxproj" (destinos predeterminados) -- ERROR.

Compilación del proyecto terminada "C:\Proyect-path\node_modules\imagemagick-native\build\bindi
ng.sln" (destinos predeterminados) -- ERROR.

ERROR al compilar.

"C:\Proyect-path\node_modules\imagemagick-native\build\binding.sln" (destino predeterminado) (1
) ->
"C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj" (destino predetermi
nado) (2) ->
(ClCompile destino) ->
..\src\imagemagick.cc(113): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data
[C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj]
..\src\imagemagick.cc(139): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
[C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj]
..\src\imagemagick.cc(277): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
[C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj]
..\src\imagemagick.cc(278): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
[C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj]

"C:\Proyect-path\node_modules\imagemagick-native\build\binding.sln" (destino predeterminado) (1
) ->
"C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj" (destino predetermi
nado) (2) ->
(ClCompile destino) ->
c:\Proyect-path\node_modules\nan\nan_new.h(208): error C2668: 'Nan::mp::IntegerFactory<v8::I
nteger>::New': ambiguous call to overloaded function (compiling source file ..\src\imagemagick.cc)
[C:\Proyect-path\node_modules\imagemagick-native\build\imagemagick.vcxproj]

4 Advertencia(s)
1 Errores

Tiempo transcurrido 00:00:05.67
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Proyect-path\node_modules\node-gyp\lib\build.js:285:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\nodejs\node.exe" "C:\Proyect-path\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Proyect-path\node_modules\imagemagick-native
gyp ERR! node -v v6.9.4
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
npm verb lifecycle [email protected]~install: unsafe-perm in lifecycle true

@bugparty
Copy link

same here

bugparty added a commit to bugparty/node-imagemagick-my that referenced this issue May 23, 2019
this compile error is caused by imagemagick header definenation changes
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