Building torchvision c++ API from source in windows 10

strong text Hi,

have tried to build Torchvision using cmake in windows10.

Torch 1.11, cuda 11.3, cuDNN 8.3.3

able to go through cmake process but after I click on torchvision.sln and using visual studio 2019 to build, the following error appears

Expand Table

Severity Code Description Project File Line Suppression State
Error C2664 ‘void jpeg_mem_dest(j_compress_ptr,unsigned char **,unsigned long *)’: cannot convert argument 3 from ‘vision::image::JpegSizeType *’ to ‘unsigned long *’ torchvision C:\vision\torchvision\csrc\io\image\cpu\encode_jpeg.cpp 87

I have installed jpeg using
.\vcpkg install --triplet x64-windows libjpeg-turbo

the following files are created
o Jpeg.lib in C:\vcpkg\installed\x64-windows\lib
o Jpeg62.dll in C:\vcpkg\installed\x64-windows\bin

possible to help?