Open nazaninIT opened 7 years ago
I also have these problems.
And I solved this problem by using pip
.
py -2 -m pip install pcapy --global-option=build_ext --global-option="-LD:\files\git_repositories\WpdPack\Lib" --global-option="-ID:\files\git_repositories\WpdPack\Include"
I don't know why but it works now.
Hi. I am using mingw32 and 32 bit python 2.7
-WpdPack is downloaded and used in include and lib dir in setup.py . I changed the Include and Lib directories in setup.py (in pcapy) and they are true. -I also installed python setuptools -MinGW and gcc are correctly installed (I compiled many other C++ files with them, and using python) -I use command
python setup.py build_ext -c mingw32
in the folder contains pcapy. first I had this error :I added
#define hypot _hypot
before that line and this error faded away.now I have this error :
I don't know what shall I do with this. please help me.