hanseuljun / kinect-to-hololens

Kinect to Hololens in real-time
Apache License 2.0
38 stars 12 forks source link

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

Open cevo2022 opened 2 years ago

cevo2022 commented 2 years ago

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 commented 2 years ago

I fixed this error by change the code to following

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

image