I built the boost using minGW64-mingw32 ,it works for the header-only files,but when I using asio/spawn, it turn out error,see the flowing , I google it and ask chat-gbt all comes to the -lkernel32, but donesnt work for me , anybody any suggestion?
when I try using VS-ide and vcpkg to install boost, in VS it compile and run ok, this really me puzzled ....
I built the boost using minGW64-mingw32 ,it works for the header-only files,but when I using asio/spawn, it turn out error,see the flowing , I google it and ask chat-gbt all comes to the -lkernel32, but donesnt work for me , anybody any suggestion?
when I try using VS-ide and vcpkg to install boost, in VS it compile and run ok, this really me puzzled ....
my code is :