-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Asio.hpp is Riddled with errors (also with config.hpp) #1553
Comments
This one should be used in a textbook about how to not write issues on github. |
@NahilTheDolfin you have to add (a lot) more information about what you're trying to do with ASIO. What version you're using, how you are compiling, and more. This is sometimes known as a MRE (https://en.wikipedia.org/wiki/Minimal_reproducible_example) If you don't do that the chances that someone is going to go out of their way to guess what your problem is are extremely slim. |
@joaotavora I guess I should set the whole asio thing up before restarting I guess |
deos that mean i have set up ASIO? and i just need a yes or no response, but ill just set up asio to fix the problem and so i can continue on. |
Goal: I’m using Asio to set up a node server and node client for a cryptocurrency project I’m building. The purpose is to manage decentralized network communication where nodes can validate transactions and share block data across the network. Details What I’m trying to do: Handle multiple incoming and outgoing connections simultaneously for real-time updates. Support both a node server (for handling requests) and a node client (for connecting users to the network). Asio Version: 1.30.2 Compiler/IDE: GCC Compiler: GCC OS: Windows 11 |
These are not enough details. |
Ok no problem, just tell me what details i need to say. Thanks in advance |
so here is the code `#include using boost::asio::ip::tcp; class NodeClient {
private:
}; int main(int argc, char* argv[]) { OS : Windows 11 Professional
Handle multiple incoming and outgoing connections simultaneously for real-time updates. Support both a node server (for handling requests) and a node client. personally, its a little short, but i personally think asio should be set up so it can be fixed theres not any problems, just wanna know if i should set up asio, but if any more errors happens, that means i didnt give the other code, but hey. if you meet an error just tell me, and ill have pleasure to send other codes |
(and also when it stops at private dont worry i think it just misunderstood. |
and also Langauge : C++ |
Ok let me make one last attempt here, even though this seemed like a lost cause from the first message:
And maybe then you will get some help. |
Oh, i was just sending the original code i was working on and i did that for... i guess nothing, i use the GDB/LLDB C++ on VSC, to run some other codes, i use C++ git.exe build. Hello again, so the error codes theyre like 181 and they're all the same "cannot open source file "asio/windows/object_handle.hpp"", thats the error and theyre basically all the same thanks in advance for any help ! :D |
So, i looked at it, then thought of it and my conclusion is : Yes, it is highly likely that setting up ASIO correctly will resolve the issue. The error message "cannot open source file 'asio/detail/config.hpp'" indicates that the ASIO library is not properly included or accessible in the project. Setting up ASIO involves downloading the library, including its headers in the project, and possibly linking against the required libraries. |
Thank you so much!! |
So I'm working on an anonymous project. And also.hpp has at least 182 errors config has 8 only. And I wonder how to fix this please.
The text was updated successfully, but these errors were encountered: