kinect-to-hololens icon indicating copy to clipboard operation
kinect-to-hololens copied to clipboard

I got stucked at step7 I got this error. Is there something wrong with ASIO version?

Open cevo2022 opened this issue 2 years ago • 1 comments

Once I run the build-plugin I got this error

D:\kinect-to-holo\cpp\src\kh_receiver.cpp(14,46): error C2039: 'get_io_context': is not a member of 'asio::basic_stream _socket<asio::ip::tcp,asio::any_io_executor>' [D:\kinect-to-holo\cpp\build\x86\src\KinectToHololens.vcxproj] D:\kinect-to-holo\vcpkg\installed\x86-windows\include\asio/ip/tcp.hpp(82): message : see declaration of 'asio::basic_st ream_socket<asio::ip::tcp,asio::any_io_executor>' [D:\kinect-to-holo\cpp\build\x86\src\KinectToHololens.vcxproj] D:\kinect-to-holo\cpp\src\kh_receiver.cpp(14,37): error C2512: 'asio::ip::basic_resolver<asio::ip::tcp,asio::any_io_exe cutor>::basic_resolver': no appropriate default constructor available [D:\kinect-to-holo\cpp\build\x86\src\KinectToHolo lens.vcxproj]


I got stucked at step7 I got this error. Is there something wrong with ASIO version?

cevo2022 avatar Aug 28 '22 07:08 cevo2022

I fixed this error by change the code to following

However it got stucked at this new error. Any idea how to fix ?

image

cevo2022 avatar Aug 28 '22 13:08 cevo2022