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 support ? #10

Open
darkyen opened this issue Sep 13, 2014 · 16 comments
Open

Windows support ? #10

darkyen opened this issue Sep 13, 2014 · 16 comments

Comments

@darkyen
Copy link

darkyen commented Sep 13, 2014

Maybe use node-pre-gyp for distributing windows packages ? [building for windows is a pita]

@hayleyxyz
Copy link

+1

3 similar comments
@chinajuanbob
Copy link

+1

@Malkiz
Copy link

Malkiz commented Jun 25, 2015

+1

@pararuk
Copy link

pararuk commented Sep 14, 2015

+1

@yangpu
Copy link

yangpu commented Jan 12, 2016

Is there any plan to support windows platform?

@Rafi993
Copy link

Rafi993 commented May 10, 2016

I managed to get this library running in windows.just install node-gyp in windows as given here or here then install node-phash using npm.

@Rafi993
Copy link

Rafi993 commented May 10, 2016

@darkyen please close the issue once you are able to proceed

@dzcpy
Copy link

dzcpy commented Jun 28, 2016

@Rafi993 still can't install on windows. It seems there's a missing header file </usr/include/complex.h>. How to solve this issue?

@Rafi993
Copy link

Rafi993 commented Jun 28, 2016

If you are using mac please refere here

@dzcpy
Copy link

dzcpy commented Jun 28, 2016

It's too difficult to install this module, I've switched to a better module ghash which utilizes sharp for image decoding. It works pretty well!

@ystarikovich
Copy link

ystarikovich commented Oct 27, 2016

@Rafi993
Obviously windows version has an issue.

P.S. node-gyp installed properly

e:\javascript\node-phash\deps\phash\ph_fft.h(32): fatal error C1083: Cannot open include file: '/usr/include/complex.h': No such file or directory (compiling source file ......\deps\pHash\ph_fft.c) [e:\JavaSc
ript\node-phash\build\deps\pHash\phash.vcxproj]

Think problem is here inside deps/pHash/ph_fft.h

#include </usr/include/complex.h>

P.S. I changed dependency to file which you have and it's not compiled any more.

@ystarikovich
Copy link

ystarikovich commented Oct 27, 2016

I changed source for pHash (using last one from pHash.org 0.9.4) and tried to build artifact, but now have another errors, might be you can help me with these errors.

Creating library e:\JavaScript\node-phash\build\Release\pHashBinding.lib and object e:\JavaScript\node-phash\build\Release\pHashBinding.exp
phash.lib(pHash.obj) : error LNK2001: unresolved external symbol readdir [e:\JavaScript\node-phash\build\pHashBinding.vcxproj]
phash.lib(pHash.obj) : error LNK2001: unresolved external symbol rewinddir [e:\JavaScript\node-phash\build\pHashBinding.vcxproj]
phash.lib(pHash.obj) : error LNK2001: unresolved external symbol closedir [e:\JavaScript\node-phash\build\pHashBinding.vcxproj]
phash.lib(pHash.obj) : error LNK2001: unresolved external symbol opendir [e:\JavaScript\node-phash\build\pHashBinding.vcxproj]
e:\JavaScript\node-phash\build\Release\pHashBinding.node : fatal error LNK1120: 4 unresolved externals [e:\JavaScript\node-phash\build\pHashBinding.vcxproj]

@Muqito
Copy link

Muqito commented Oct 31, 2016

I need this as well 👍 Windows 7 64bit

@ystarikovich
Copy link

@Muqito
I made a fork and compile it on Win 10 64bit. You can try to use my fork, this is not final solution, but it's working for me.

@Rafi993
Copy link

Rafi993 commented Nov 6, 2016

I guess it is the commit that was made later that is causing the issue. node libraries with c/c++ bindings generally tend to have a problem in windows some permanent solution for this kind of bindings has to be found. so that we don't need to compile these dependencies manually but just do npm install.

@nok3250
Copy link

nok3250 commented Aug 5, 2019

Пидорасы! Сделайте под винтоуз!!111

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