LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2024, 04:20 PM   #1
Acierate
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Rep: Reputation: 0
C++ Networking APIs


I checked boost.beast, libcurl, and the poco libraries, none of them worked after installation or didn't have the proper header files within the zip. I'm trying to download websites. Does anybody else have the proper header files within the initial download folder? Any help would be appreciated.
 
Old 01-19-2024, 05:33 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Welcome to LQ and the Programming forum!

It is not clear to me what you are trying to accomplish, and what you are asking for.

In order for us to understand why something "didn't work" we need to know how you are using it, what the expected result was and how the actual result differed from that.

As you seem to be asking about C++ libraries, any reply would depend very much on your own code implementation using those libraries, whether it fails at compile time or runtime, as well as what steps you have taken to troubleshoot the problem.

Please review the Site FAQ for guidance in asking well formed questions. Especially visit the link from that page, How to Ask Questions the Smart Way for discussion of things to consider when asking others for help.

Good luck!
 
1 members found this post helpful.
Old 01-19-2024, 05:50 PM   #3
Acierate
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by astrogeek View Post
Welcome to LQ and the Programming forum!

It is not clear to me what you are trying to accomplish, and what you are asking for.

In order for us to understand why something "didn't work" we need to know how you are using it, what the expected result was and how the actual result differed from that.

As you seem to be asking about C++ libraries, any reply would depend very much on your own code implementation using those libraries, whether it fails at compile time or runtime, as well as what steps you have taken to troubleshoot the problem.

Please review the Site FAQ for guidance in asking well formed questions. Especially visit the link from that page, How to Ask Questions the Smart Way for discussion of things to consider when asking others for help.

Good luck!

Are you able to properly access those repositories for use? I'm trying to download websites. I followed the proper installation through sudo apt-get and the headers aren't available. The initial manual zips that the repositories provide are installed by dumping them in my project, correct? No proper headers. I want y'all to produce either my existence as a c++ god and a god entirely. (Sorry, I'm in the hospital)
 
Old 01-19-2024, 05:58 PM   #4
Acierate
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Are you able to access headers from those repositories I mentioned? I think that the coding community is deprecating code around my source, a highly spiritual occurrence. I installed those repositories with sudo apt-get and manually- you are supposed to dump the bunch of files into your project repository, correct? No h or hpp files.

Last edited by Acierate; 01-19-2024 at 06:06 PM.
 
Old 01-19-2024, 06:01 PM   #5
Acierate
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
@astrogeek I typed up a pristine post through the quote option but my post didn't go through..
 
Old 01-19-2024, 06:02 PM   #6
Acierate
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by astrogeek View Post
Welcome to LQ and the Programming forum!

It is not clear to me what you are trying to accomplish, and what you are asking for.

In order for us to understand why something "didn't work" we need to know how you are using it, what the expected result was and how the actual result differed from that.

As you seem to be asking about C++ libraries, any reply would depend very much on your own code implementation using those libraries, whether it fails at compile time or runtime, as well as what steps you have taken to troubleshoot the problem.

Please review the Site FAQ for guidance in asking well formed questions. Especially visit the link from that page, How to Ask Questions the Smart Way for discussion of things to consider when asking others for help.

Good luck!
Test
 
Old 01-20-2024, 12:15 AM   #7
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,880
Blog Entries: 1

Rep: Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871
What command did you try and what error message did you get?
E.g.
Code:
gcc -o mydownloader mydownloader.c -lcurl -lssl -lcrypto -lz
 
Old 01-20-2024, 02:12 PM   #8
Acierate
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by NevemTeve View Post
What command did you try and what error message did you get?
E.g.
Code:
gcc -o mydownloader mydownloader.c -lcurl -lssl -lcrypto -lz
I've got it working now, I think I was missing an apt upgrade.
 
Old 01-21-2024, 06:19 AM   #9
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by Acierate View Post
I've got it working now, I think I was missing an apt upgrade.
Do you recognize what is wrong with this thread? Nobody was able to help you along, lacking the means to do so. Some people have concerned themselves with trying to understand your problem. I am unjustly frustrated after reading. Please try to avoid this.

Cheerio.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL APIs equivalent to Solaris 10 APIs tbb7178 Linux - Newbie 1 12-11-2019 02:45 PM
LXer: Implement POSIX Semaphore APIs using System V Semaphores APIs LXer Syndicated Linux News 0 03-18-2019 10:21 PM
LXer: Valve announces new networking APIs for developers and Steam Link Anywhere LXer Syndicated Linux News 0 03-15-2019 02:02 AM
LXer: Implement POSIX Semaphore APIs using System V Semaphores APIs LXer Syndicated Linux News 0 10-16-2012 08:30 AM
Star office APIS saravanan1979 Linux - Software 2 06-28-2002 11:49 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration