-
Notifications
You must be signed in to change notification settings - Fork 318
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
cross compile for window on ubuntu error: no TunnelType member in struct IPADAPTER_ADDRESS #569
Comments
i have resolved it in temporary as follow:
|
Thanks for the report.
None of those should mean:
maybe your cross compiler is set up wrong? Can you describe your build system more? We build naively with mingw and MSStudio - and have not run into this. |
I have run into this issue when cross compiling iio-oscilloscope on Ubuntu 18.04 for Windows. What I did, was to set _WIN32_WINNT while generating the build system (without changing the CMakefiles.txt content). See here (analogdevicesinc/iio-osc-mingw@5908ee7) |
Yes, I think we should include these definitions when MINGW is used since the dns_sd code for windows won't compile if _WIN32_WINNT points to some old versions of Windows. |
This should fix #569 Signed-off-by: Robin Getz <[email protected]>
This should fix #569 Signed-off-by: Robin Getz <[email protected]>
This should fix #569 Signed-off-by: Robin Getz <[email protected]>
This should fix #569 Signed-off-by: Robin Getz <[email protected]>
I think this is now fixed in #574 |
libiio/dns_sd_windows.c
Line 82 in 740b3f4
when i cross compile it ,i found the definitions _WIN32_WINNT means XP, so the struct in iptypes.h pointer to an XP struct which has no member TunnelType.
The text was updated successfully, but these errors were encountered: