I have an error : asio.hpp: No such file or directory.
The compiler won't recognize the library asio.hpp.
I tries <asio.hpp> and "asio.hpp" . both doesnt work.
asio.hpp is located in "C:\Users\mines\Desktop\Projects\Server\asio-1.28.0\include" and I update including path c_cpp_properties.json.
My c_cpp_properties.json :
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"C:\\Users\\mines\\Desktop\\Projects\\Server\\asio-1.28.0\\include"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c17",
"cppStandard": "gnu++14",
"intelliSenseMode": "windows-gcc-x64",
"compilerPath": "C:/TDM-GCC-64/bin/g++.exe"
}
],
"version": 4
}
My source code :
#include <iostream>
#define ASIO_STANDALONE
#include <asio.hpp>
int main()
{
return 0;
}
I don't have an idea what is wrong.
Any help is appreciate.