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

Build for Windows 10 #82

Closed
vandanparmar opened this issue Oct 8, 2019 · 6 comments
Closed

Build for Windows 10 #82

vandanparmar opened this issue Oct 8, 2019 · 6 comments
Assignees
Labels

Comments

@vandanparmar
Copy link

I have been trying to build this on windows in a variety of different ways - following the build instructions. There is an image below of the error whilst attempting to pip install from Visual Studio 14.0 build tools command prompt.

I have also tried building from source, with mingw and cygwin. But neither of these seem to work. I would really appreciate some more detailed installation instructions for windows 10.

image

@vandanparmar vandanparmar changed the title Build on Python Build for Windows 10 Oct 8, 2019
@joachimmetz
Copy link
Member

@vandanparmar can you provide detailed logs/information about "But neither of these seem to work."

the error in the screenshot does not contain enough detail for me to determine what is going wrong on your system.

Also have a look at https://github.com/libyal/libpff/wiki/Building

@joachimmetz joachimmetz self-assigned this Oct 8, 2019
@vandanparmar
Copy link
Author

I am currently using a Windows 10 build with Anaconda python 3.7. I am only trying to build the python bindings.

I was expecting that with pip install libpff-python from within a Visual Studio command prompt would work, however this does not yielding the error above. Pip installation does seem to work on Linux and Mac OS.

@joachimmetz
Copy link
Member

I was expecting that with pip install libpff-python from within a Visual Studio command prompt would work

This depends on many different factors. Note that pip is not one of the preferred build options in the documentation.

@vandanparmar
Copy link
Author

vandanparmar commented Oct 8, 2019

Ok - makes sense. To confirm, on Windows 10, for python 3.7, what would be your recommended build procedure, to build just the python bindings? Using python setup.py build also does not work.

@joachimmetz
Copy link
Member

  1. python bindings are WIP see Add Python bindings #2
  2. setup.py build is automatically tested on AppVeyor https://ci.appveyor.com/project/libyal/libpff/build/job/uuwfjafdj16s42na#L37 and that is passing, so I suspect the issue with your build environment
  3. You'll need to provide me with details about what is not working, otherwise I'm unable to help you

@vandanparmar
Copy link
Author

Thank you for your help, the build now seems to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants