Build failed on windows - ssize_t
daniyalyasin93 opened this issue · comments
Daniyal Yasin commented
The build fails on windows for target aditofpython with Microsoft Visual Studio 2019 win64.
The error is:
aditofpython.cpp(142,25): error C2065: 'ssize_t': undeclared identifier [D:\Work\Repos\ToF\scripts\windows\build\bindings\python\aditofpython.vcxproj]
proj]
The solution is to include the header BaseTsd.h. This is described here: ycm-core/YouCompleteMe#3949 (comment)
Dan Nechita commented
Hi! Can you please share the Python version that you are using?
Daniyal Yasin commented
Hi
I have python 3.10.1
Dan Nechita commented
I use python 3.9. I didn't update to anything higher due to this error.
Thank you for the fix!
Daniyal Yasin commented
Thank you for approving. Glad to be able to contribute