Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cevo2022 opened this issue Aug 28, 2022 · 1 comment

Comments

@cevo2022
Copy link

cevo2022 commented Aug 28, 2022

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
Copy link
Author

I fixed this error by change the code to following

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant