This is one of the greatest KZbin tutorials of all time. Subbed.
@ednaldopereira26463 жыл бұрын
yes, i am very surprised.
@ny3atuy6egemot11 ай бұрын
Love c++, 20 minute guide to add the most common library of the world
@cheetah_53143 ай бұрын
This has been one of the best tutorials I have ever seen. Well spoken, clear and straight to the point. Any problem I was having trouble with was covered, you even went so far to show two methods of getting it all setup within a project. Thank you for this video, you are a legend.
@sophiacristina4 жыл бұрын
Thank you very much for the video! ALSO, i wanted to tell people that: IF YOUR PROJECT IN VC BEGINS WITH "include "pch.h"" THEN, you'll have to "define CURL_STATICLIB" AFTER the include of "pch.h", that is what means the warning that says that CURL_STATICLIB is not linked because some other pre-compiled inclusion. This was being a headache to me, a simple change in the order fixed!
@hrisigyuchanov3523Ай бұрын
I've been strugling with this thing for a couple hours, head ache included but your video was a savior ( Even 4 years later). Much appreciated
@vali20vali20vali20 Жыл бұрын
The fact that you need a tutorial to compile this bloody thing... Thanks for the video. Struggled for ages to do it using cmake, only to get endless errors when using "-DCURL_STATIC_CRT=ON", like "error C1189: #error: MSVC 6.0 requires "February 2003 Platform SDK"", "error C1083: Cannot open include file: 'sys/time.h': No such file or directory" and non-sense like that. This video finally saved me. I wonder why they can't post proper instructions like these on the project page. Not everyone has the luxury of using Linux everywhere.
@nickolayivanov67010 ай бұрын
ThanksEven I, who don’t know English well, understand everything. I follow your advice and everything works out for me. Before this, I suffered all day, and no one could explain to me so clearly how to compile someone else’s project. Thanks, really
@wonderwaffle40582 жыл бұрын
THANK YOU! I was suffering for the whole day trying to compile curlib code with makefiles which just DON"T WORK on my laptop and after all of that, you, the saviour, came and ended my day with a success. Thank you a lot!
@jackmurphy8696 Жыл бұрын
Did you try using nuget package manager in visual studio as well? I tried that and it does not link properly. I was so pissed.
@7essica4 жыл бұрын
Thank you so much! You're my lifesaver! I couldn't find any useful information about how to integrate cURL lib into C++ project but your video
@Maniclout3 жыл бұрын
Oh my god finally somebody who explains the setup of the libraries. As a noob I thank you so much.
@kubakakauko4 жыл бұрын
God bless you my dude. I was struggling with this stuff for ages
@georgesealy47064 жыл бұрын
Yes, it is frustrating how poor the documentation is regarding these things. You end up spending gobs of time just trying to compile and use the library, let alone do that actual project.
@digital_human4 жыл бұрын
Sometimes its so easy but it you read to much you get messed up. This is just perfect and spot on! Thanks for this man!
@idkidk92043 жыл бұрын
I got saved by this man after 5h of research :D
@SSArchitecture4 жыл бұрын
This is well job done. Best and clear way to understand and make run CURL in VS.
@MirakXfire4 жыл бұрын
you saved me bro i passed two days trying to install the curl library
@bbianchi67204 жыл бұрын
you are a great! You have clearly resolved the installation that seemed impossible to me !!! Thanks so much.
@MultiRoberth1232 жыл бұрын
followed all your steps, but if building for x64 (either release or debug), I get unresolved external symbol errors in curl_easy_init :l
@georgesealy47064 жыл бұрын
Thanks so much for this detailed setup with cURL and VS. It worked great. I had tried previously to compile and use cURL using Eclipse C++, but I kept running into roadblocks. I couldn't find detailed documentation to get past the issues. But I have also used VS for many years, so I switched to your method. Now I can get back to the actual project I want to do.
@ZackOfAllTrad3s3 жыл бұрын
Thank you so much!! Ive spent hours trying to get this to work, I wasnt even close
@MusicAMG10 ай бұрын
Will this work with VS 2022? The files I am getting are not named the same.. after I do the build for x64.. example "libcurl-vc17-x64-debug-static-ipv6-sspi-schannel-obj-curl" or am I on the right track here?
@Vertigo38588 ай бұрын
Same here
@MusicAMG8 ай бұрын
@@Vertigo3858 I got it working, but, I'd have to look at it again to see how.
@alfredoniz79725 жыл бұрын
I have ADD. My desktop is a complete mess. Thank you for the organization tips.
@JFP-Knives3 жыл бұрын
Thumbs up! Finally it works! Great job and thanks a lot!
@Nothingtosee553 жыл бұрын
thank you very fucking much i been looking for this since 2 months no joke ! finally found your video thank you so much dude
@bdcreation156310 ай бұрын
i use visual studio code(vscode version 1.85.2) can u send me a process for this?
@justinorji64797 ай бұрын
Hey, does this work for CMake projects? I've been trying to find the properties page for an hour now and I can't find it
@wtfman4683 жыл бұрын
I am getting unresolved external symbol errors, tf should I do
@aw_aom Жыл бұрын
It's work correctly with discord api, Thank you! for your tutorial.
@davidcraig81064 жыл бұрын
When adding include dirs, click 3 dots on the right, then click macros at the bottom. When adding the include directory, you can create one string for all configurations something like this (need to use x86 instead of x32 when naming the dirs) \$(PlatformShortName) $(Configuration)\include\
@집나간고구마5 жыл бұрын
I have a visual studio 2019 with x86.(differ your one.) I was following you, but got a problem with 11:13 in #include "curl/curl.h". I got a red line under #include. Would you help me?
@АлексейШлыков-ю3ф4 жыл бұрын
use "" and don't use
@byronramirez6818 күн бұрын
Great Work !
@moriscnam Жыл бұрын
This video helped me a lot. Thank you
@ПолинаМарусина-в8у2 жыл бұрын
Thank you very much!!! I love you! It helped me a lot💜
@chasingdaydreams27882 жыл бұрын
Doesnt work for VS 2022
@ArunkumarUvaraj2 жыл бұрын
This is really a great video... It works awesome for me !!!
@xrishabh2 жыл бұрын
Thanks for making this awesome video !!
@SwillMith162 жыл бұрын
Is this installations the same for other libraries? every library I've tried using seems to have different setup process so I have no idea how to get started with them if I don't watch these kind of tutorials. Some of the README files are useless aswell
@leandroneves8496 Жыл бұрын
Great Video! Quite professional, thanks a lot!
@mooseminddayan46502 жыл бұрын
Thank you. Great Video. I wish you could zoom in more when you make these videos. That would be extremely helpful. Thank you.
@timothybodin84782 жыл бұрын
I ran it with a simpler example. It worked with that....so maybe the problem is simply with your trial code....your test may conflict with VS2022(?)
@Denis-sl1nn3 жыл бұрын
Thank you some much for this amazing video.
@scottmandel65364 жыл бұрын
Many thanks for a very, very helpful video!
@osvaldoenriquez64883 жыл бұрын
Super helpful video, thank you so much for making it! :)
@codinggene22722 жыл бұрын
1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_init referenced in function main 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_setopt referenced in function main 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_perform referenced in function main 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_cleanup referenced in function main In my case, this error resolved by using second method(improt with VS)
@varunshrivastava270610 ай бұрын
I am getting the similar error with method 2
@giorgioguglielmone6528 Жыл бұрын
Great tutorial and very accurate. Following your steps and using current VS C++ 2022 and LibCurl 8.0.1 versions when I compile for x86 debug, I get folders libcurl-vc17-x86-debug-static-ipv6-sspi-schannel etc... and not them ..sspi-winssl . Are they all the same or do we need to give some other compilation parameter than what you give ? I compiled your example as well and it seems to work just fine. The only thing that does not find the file tcno.co/hello.txt, but the tecno.co page finds it and replies with the classic "404 Not Found"
@TroubleChute Жыл бұрын
I'm sure I deleted this file a whole ago, whoops!
@mr.president69222 жыл бұрын
thank you bro you are life saver
@windowsbuilderthegreat3121 Жыл бұрын
how do you set the compiler to make it use visual studio 2017 for windows xp toolset
@portera1622 Жыл бұрын
this was really helpful, thanks!
@jackmurphy8696 Жыл бұрын
Followed the video to a tee. Could not get it to work. Gives me a 18 of unresolved external symbols. When I try to download it through nuget package manager it sees the library also but then gives me 4 unresolved symbols as well. How does any programmer complete anything? Every project I try and work on is like this. Can''t even actually get to my own code
@leotomarere83182 жыл бұрын
what happens if in visual studio 2019, parameter "vc=16" is changed to "vc=6" or "vc=15". Does that mean being compatible with lesser visual studio?
@rodriguezzachary87224 ай бұрын
why is it necessary to set it to subsystem console, i am working on a GUI application which i needs the subsystem:Windows but when i set it to windows. it says LIBCMT.lib(exe_wwinmain.obj) : error LNK2001: unresolved external symbol wWinMain the achieve libcurl function we need console as subsystem but for the GUI purpose i am expecting to hide the window which is really troublesome
@harisundhar2876 Жыл бұрын
I'm getting unresolved external symbol errors LNK2001. I followed exactly the same procedure.
@ObilanCenobi5 жыл бұрын
3:51 i have a problem my x86 Native Tools... dont want to open a place where i have curl and i se something like that: b:\C++ Visual Studio> i should see my path C:\User.... what i can do to repare this?
@MrHerhor674 жыл бұрын
Just like in regular console; just type the disk letter where you want to go, and a colon, eg. `C:`. You can even do it after CDing to the curl dir.
@williamweidner54254 жыл бұрын
excellent tutorial video! 5 star rating from me! clear, concise, gets right to the point AND can be reapplied in earlier versions like VS 2017! question: at 13:49, is hello from the internet sort of a default string built into the code that generates by default before you start using curl?'' also, since I'm new to this, what would you recommend as a next step tutorial from this point?
@Kid4204 жыл бұрын
The - “Hello from the internet!” string is a string that he downloaded from the web, with the help of curl.
@Tech-Gamer4444 жыл бұрын
Is there a way that you can show an example of this in C programming? I was trying to practice on this language again before going to C++ and wanted to know if you can help with this? Thanks.
@Avighna2 жыл бұрын
Even after doing all of this, my program still has undefined references. How do I fix this? 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_init referenced in function main 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_setopt referenced in function main 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_perform referenced in function main 1>test.obj : error LNK2019: unresolved external symbol __imp_curl_easy_cleanup referenced in function main
@kajakoenders65272 жыл бұрын
hwo did u fix it?
@jackmurphy8696 Жыл бұрын
Same problem here.
@varunshrivastava270610 ай бұрын
Hi guys, I am facing a similar issue , did anyone fixed it?
@japanboy31415 Жыл бұрын
im sorry but do i have to this everytime that i want to use an api though ?
@vladmaiorov10722 жыл бұрын
I've installed almost every MFC, and it still doesn't work, because there's no MFC for it
@carrast Жыл бұрын
excellent video, thanks a lot!!!
@jc-kh6km6 ай бұрын
Using Visual Studios 2022, I tried method #2 and it did not work for me, maybe I did something wrong, but method #1 worked for me, thanks
@pathuxtv66174 жыл бұрын
Incredible tutorial thank you so much
@TEMPERxNIGHT3 жыл бұрын
Does this work on older versions such as 2015?
@mmddyyyy-his4 жыл бұрын
Do c++ have package manager like in javascript, doing such a thing can be done in seconds like: npm install curl
@PerennialWheat3 жыл бұрын
no
@GiorgiAptsiauriX4 жыл бұрын
Thanks. Deserved my sub.
@freetimeproject75 жыл бұрын
good afternoon. When I try to access the ftp or sftp server, it displays error code 1. Tell me, how can I enable these protocols?
@sdeth95582 жыл бұрын
NMAKE : fatal error U1081 How can i fix it?
@MrHerhor674 жыл бұрын
I somehow got curl to work on my old PC like a year or two ago, with #include , is it still possible? And also I remember much less work, but maybe I only had one version... One thing I found; all headers in all versions are the same, so only one copy is needed. Okay, did some name fiddling and got it to work with just two changes needed in properties: Release, all platforms: `Normaliz.lib;Ws2_32.lib;Wldap32.lib;Crypt32.lib;advapi32.lib;$(SolutionDir)curl\$(PlatformShortName)release.lib` Debug, all platforms: `Normaliz.lib;Ws2_32.lib;Wldap32.lib;Crypt32.lib;advapi32.lib;$(SolutionDir)curl\$(PlatformShortName)debug.lib`
@abdullahtoqeer20094 жыл бұрын
Very great tutorial.. Thankyou
@dagmacintosh68564 жыл бұрын
can you make a tutorial for using CPR(curl for people) as static library in visual studio.
@gabyawad6244 жыл бұрын
Thank You very much awesome video
@d6rkv8724 жыл бұрын
Good guide. Thx dude!
@MrImcu3 жыл бұрын
Thank you so much. ❤️️❤️️❤️️
@allerek32873 жыл бұрын
The problem is, even tho i even used your code 1:1, built just like you, i still end with .dll needed. :(
@plyoox2 жыл бұрын
you're my hero
@EngElshaterHassan Жыл бұрын
you are awsome , really thank you
@ВадимВадим-щ5б2 жыл бұрын
thank u! you really helped to me!
@maratfatkulov49932 жыл бұрын
ты для vs 2022 делал? если да, то подскажи, какие MFC ты устанавливал, "для новейшей версии v143" или как у него v142
@maratfatkulov49932 жыл бұрын
@@shkshk8563 да
@maratfatkulov49932 жыл бұрын
@@shkshk8563 начни делать 1 в 1 по этому гайду, делая каждую его секунду и получится
@FreeDomSy-nk9ue4 жыл бұрын
You're a life saver
@Roman-bw9gh2 жыл бұрын
Thanks a lot man !
@anshulmittal48053 жыл бұрын
I am trying to use this method in console application as well as win32 dll. In console application it is working fine but in Win32 dll i get error "LNK2001 unresolved external symbol __imp_curl_easy_init". Can you provide solution for this?
@wtfman4683 жыл бұрын
same... idk tf i gotta do
@workingaccount70702 жыл бұрын
@@wtfman468 same here
@kajakoenders65272 жыл бұрын
did you fix it?
@abcjkl74103 жыл бұрын
legend!!!!
@msm2570 Жыл бұрын
Thanks so much!!!
@gwnbw9 күн бұрын
nice, tons of work to get a lib working tho compared to other langs lol
@coolcsgo3 жыл бұрын
I still get the .dll
@kentjordan46584 жыл бұрын
Make a video more about cURL and C++ please.
@matejsubrt835710 ай бұрын
🙌🙌
@maxim25o24 жыл бұрын
omg, really?? its more playing with ID rather programing it self. Now I know why many peoples don't use IDE and they compile programs from terminal
@giulianoferrara3159 Жыл бұрын
Thanks man
@ISupriyaSrikanth8 ай бұрын
This solved me that GPT failed to 🙂
@jonleinenaotamendi75103 жыл бұрын
Man it can't be so complicated, i spent 2 whole days looking for a solution. If anyone knows of an easier way to do this so the main.cpp can be executed from cmd or powershell I'll be forever thankful to them. Great video anyways!
@jackmurphy8696 Жыл бұрын
Do you want to run curl commands through the console or do you want to execute your program from the console?>
@lotusdev34273 жыл бұрын
Thank you so much
@itsmakar24122 жыл бұрын
copying libs... NMAKE : fatal error U1073: not enough information to build "..\src\tool_hugehelp.c" stop. NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86 make.exe" : return code "0x2" stop.
@michaelxavier19962 жыл бұрын
Download from curl not from github.
@XiSlow4 жыл бұрын
Thank you!
@donovantheprogrammer29894 жыл бұрын
Wow this is alot of steps.. SFML didn't have nearly has many steps as this. I foolishly thought at libraries were created equal....