Photometrics / PyVCAM

Python3.X wrapper for Photometrics and QImaging PVCAM based cameras
MIT License
36 stars 17 forks source link

Issue when installing, cannot find "master.h" #34

Closed kmcgrathgenerate closed 11 months ago

kmcgrathgenerate commented 11 months ago

I am trying to install the wrapper (WINDOWS) and I run into this issue:

C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
C:\repos\PyVCAM\src\pyvcam\pvcmodule.h(10): fatal error C1083: Cannot open include file: 'master.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

It cannot find the master.h. I also had to manually add my PVCAM_SDK_PATH to my environment variables and I set it to "C:\Program Files\Photometrics\PVCam", not sure if that is the right call but for some reason the sdk install didn't set this variable.

kmcgrathgenerate commented 11 months ago

Silly mistake, I had downloaded the PVCAM instead of PVCAM_SDK

tomhanak commented 11 months ago

Great you solved the issue by yourself. Closing.