Installing curlpp library - c++

I need your help in installing the curlpp library. I'm still a newbie to C++ and haven't installed any external libraries yet, I browsed around for quite some time but could only find installation wizards or compilers or automated processes. I want to know how to do it manually. Like fully, you go in File Explorer and put all the source code in by yourself. I want to code specifically in Visual Studio Code.
Thanks for you help!!

Related

How to include the library libgeotiff to my C++ projekt in Visual Studio

I'm trying to work on my frist c++ App and would like to include the library libgeotiff:
https://github.com/OSGeo/libgeotiff
I just downloaded Visual Studio and created a new projekt:
Next, I downloaded the libraries libgeotiff (link above) and PROJ (link) from github.com and put them next to my project.
I also downloaded the library "libtiff" from the following link and Installed the newest version of sqlite3 (I hope I installed it correctly).
What do I have to do in order to use the library libgeotiff? Do I need to install all the libraries I have downloaded somehow? How do I install them? How do I "import" them into my project after installation? When can I write #inlcude <geotiff.h> into my code?
After spending hours on the internet trying to figure out how it works I feel overwhelmed. I have the impression, that there are dozens of ways to include the libraries but none of them seem to work for me. Could someone write a short step by step guide?
Thanks

How to download, build and include PDCurses in Visual Studio 2019 for C++ on Windows

I'm fairly new to C/C++ but have never tried to include external libraries before in my projects as I've mostly been doing tutorials and such. These have been mostly console applications/games. When I was looking for an alternative to the "evil" system(" ") commands I was pointed to Curses.
Now I've gone to the GitHub for both branches of the PDCurses source library (wmcbrine's branch and Bill-Gray's Branch) but every time I try to build library it returns multiple errors (happy to provide a image of the errors if need be).
The biggest issue is that the documentation is a little difficult to understand for an absolute beginner and most tutorials are extremely outdated. I was hoping that someone know's of a relevant tutorial on how to get PDCurses up and running on windows (for C++) or could explain how to do it on here.
So, I have figured out how to get PDCurses compiled using it's Makefiles (Makefile.vc specifically) and such.
To anyone who may have issue doing this in future, make sure to read the README.md file very slowly and carefully. From a beginners perspective it was a bit vague but it does contain all the information needed it in it, it should just be read a few time 😅.
It also should be noted that when compiling the library into a .dll for Visual Studio 2019 using the nmake function, you have to run the command in the x86/x64 Native Tools Command Prompt. Which one you use will depend on the architecture you plan to build your project in. If your not sure where to find it, open you start menu>all apps>scroll down to the folder "Visual Studio 2019" and they all should be in there.
Run the "nmake" command in this shell configures a .bat file which optimises for x86 or x64 architecture respectively. Hopefully this helps anyone who might ask this (or a similar) question.

Easily importing c++ libraries and dependencies on windows

I want to use some of the great libraries out there (e.g. cgal), but don't know how (have been exclusively writing my own code so far).
It seems every library requires a different process in order to use it (at least on windows)
I'm currently using Clion as an IDE in Windows 10 with minGW. I've tried using the Conan dependency manager but couldn't get it to work (and the documentation/video tutorials are not done very well).
Is there a recommended simple way to do it?
Is using vcpkg with visual studio a good way to go about it?
edit: for clarification, I am an academic physicist developing scientific simulations mostly to be used by myself, so I don't have to package my code with all the dependencies included.
Thanks.

ELI5 how to install an external library like curl?

Hi guys I've been coding in C/C++ for a little while now but I'm struggling to install external librarys. As an example I wanted to install and use curl but I apparently have no clue what I'm doing. If anyone could be kind enough to go step by step on how to install it/other libraries it would be amazing.
Thank you!
edit: I am using mingw and codeblock
If using Visual Studio: cURL NuGet
I just found out today at my job that Visual C++ supports Nuget, and used it to load the Boost C++ Library a piece at a time (using only the pieces I needed) ... huge time saver ...

Compiling cairo (cairomm) on Windows

I'm trying to compile cairo into a lib file using Mingw. I've downloaded the cairo, cairomm, and pixman source packages, but I can't figure out where to go from here. The INSTALL help file talks about a bunch of scripts that I can't seem to run or even find ('./configure', 'make', 'make install'). Googling the issue is bringing up nothing helpful.
I feel like this is a noobish question to ask. I've only recently started getting into the C++ side of programming (coming from Java/C#), and this is the first time I've had to compile an external library before using it. The shocking lack of explanations on the process makes me wonder if there was some chapter of a tutorial somewhere I was supposed to read that makes this whole process a complete no-brainer.
I think this project isn't supporting building with Mingw.
There are build instructions here for building with Visual Studio (which can be downloaded for free as the Visual Studio Express Edition from MS Website: http://www.visualstudio.com/en-US/products/visual-studio-express-vs
Build instructions here:
http://cairographics.org/end_to_end_build_for_win32/
It's probably possible to make this work for MingW, but you will have to make it work yourself, which may be a bit of a long step for someone who is new to compilers and build scripts in general.