Answer the question
In order to leave comments, you need to log in
The project with asio in QTCreator does not compile, why?
I'm trying to compile a program with asio, I get the following error
. The code itself:
#include <iostream>
#include <winsock2.h>
#include <winsock.h>
#include <boost/asio.hpp>
#include <boost/asio/impl/src.hpp>
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>
#include <boost/system/cygwin_error.hpp>
#include <boost/system/linux_error.hpp>
#include <boost/system/windows_error.hpp>
using namespace std;
int main()
{
cout << "OK";
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question