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

Building with python is failing? #1

Open
thomasaarholt opened this issue Aug 16, 2017 · 1 comment
Open

Building with python is failing? #1

thomasaarholt opened this issue Aug 16, 2017 · 1 comment

Comments

@thomasaarholt
Copy link

thomasaarholt commented Aug 16, 2017

Hello, I tried installing hf-ica with python today, but ran into this error:

(py36) Me@DESKTOP-OPAB0G6 C:\Users\Me\Downloads\hf-ica-master\hf-ica-master\python
$ python setup.py build
running build
running build_py
running build_ext
building '_ica' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\Me\AppData\Local\conda\conda\envs\py36\lib\site-packages\numpy\core\include -Isrc\include -Isrc\bind -IC:\Users\Me\AppData\Local\conda\conda\envs\py36\include -IC:\Users\Me\AppData\Local\conda\conda\envs\py36\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tpsrc\bind\_ica.cpp /Fobuild\temp.win-amd64-3.6\Release\src\bind\_ica.obj -std=c++11 -fopenmp -msse4
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
cl : Command line warning D9002 : ignoring unknown option '-msse4'
_ica.cpp
src\bind\_ica.cpp(2): fatal error C1083: Cannot open include file: 'neo_ica/ica.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

It looks like neo_ica/ica.h is not being built, but I'm not sure where the problem is lying. Any advice?

@ptillet
Copy link
Owner

ptillet commented Aug 18, 2017

Hi Thomas. This project does not support windows unfortunately. In your case, there is a symlink from python/src/include to include/ which does not work. Even if it worked (you can try copying the file), there would probably be compilation errors. Could you try copying lib/ and include/ to python/src/lib and python/src/include, and tell me whether you encounter compilation errors or not? Maybe compilation for windows is not that far away.

Thanks!

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