pdbparse icon indicating copy to clipboard operation
pdbparse copied to clipboard

installation issues

Open tregua87 opened this issue 7 years ago • 2 comments

Hi! I am trying to install pdbparse on a Windows 10 machine, I have python 3.6 installed and I have also installed Visual Studio 2015 with C++ (and C++ programs are built properly).

I launch a classic pip installation like:

pip install pdbparse

As error I got:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\flavio\AppData\Local\Programs\Python\Python36\include -IC:\Users\flavio\AppData\Local\Programs\Python\Python36\include /Tcsrc/undname.c /Fobuild\temp.win-amd64-3.6\Release\src/undname.obj undname.c src/undname.c(22): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2

I tryied also to compile the last version from repo by using python setup.py build. Getting the same result.

I tryied also to set all the environment variables by using vcvarsall.bat, but apparently it does not work.

I am pretty sure I am missing something. But I don't get what.

May you help me please?

tregua87 avatar Jul 22 '17 15:07 tregua87

Unfortunately assert.h is not bundled with Visual Studio : you need to install the Windows SDK to have access to OS-level includes. That's why it is a real pain in the ass to build C Extensions for Python on Windows.

Morevoer, I've spotted some issues that currently break the build. I'll try to fix thoses this week.

lucasg avatar Aug 01 '17 12:08 lucasg

Hi! thank you very much for the support. I know it is very tedious, but Windows is a boundary of my project. I will check asap. Thanks again :)

tregua87 avatar Oct 12 '17 02:10 tregua87