Skip to content
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

I cannot get examples to compile on linux #35

Closed
theisen1337 opened this issue Oct 2, 2019 · 4 comments
Closed

I cannot get examples to compile on linux #35

theisen1337 opened this issue Oct 2, 2019 · 4 comments

Comments

@theisen1337
Copy link

Using: g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Examples: tcp echo client /server and unix echo client/server.
I consistently get errors with non- static reference made to run_echo().
when I comment out the call to run_echo(); I get undefined references
`sockpp::inet_address::inet_address(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned short)':|

@fpagliughi
Copy link
Owner

I'm using the same basic system and compiler for primary development, so we should be able to figure this out.

Which release or branch are you trying?
Can you show your CMake command and the output, and then any other build commands up to the error.

@fpagliughi
Copy link
Owner

Any update on this, @theisen1337? Did you get it working?

@theisen1337
Copy link
Author

Yeah the issue: I was attempting to put the client server stuff into a object class to "unclutter the main function" which objects do not like threads. It was a whole thing, I tried stack overflow for some help https://stackoverflow.com/questions/58253963/how-do-i-go-about-not-having-network-multithreading-live-in-the-main-function

Instead I just ended up putting everything into the main function..

@fpagliughi
Copy link
Owner

OK. Good. I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants