Setup OpenGL in Visual Studio 2022 for C/C++ Development
ฝัง
- เผยแพร่เมื่อ 15 พ.ย. 2024
- How to create first C/C++ application using OpenGL and Visual Studio 2022.
To build and link the application statically, we need to add the follwing lib files to the project:
glfw3.lib; opengl32.lib; user32.lib; gdi32.lib; shell32.lib .
***********************************
🔥 Complete Udemy Courses :
ASP.NET MVC Course : www.udemy.com/...
ASP.NET Course : www.udemy.com/...
ASP.NET Core Web API : www.udemy.com/...
React JS : www.udemy.com/...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2c...
Man, you are a life saver. I went online for an easy download, and all I got was confusing trash that zigged and zagged. You went in simple and to the point.
I think this may be the first OpenGL how-to video where all the files were there, I followed the steps, and it worked just like in the video. Good job.
I agree
Thank you so much man, This video worked PERFECTLY there have been so many videos where they skip steps or add random files and dont tell us but this was clear concise and helped me alot. I went through alot of pain prior to this video. Thank You.
had to go through like 20 fking videos to find this one that actually works with visual studio 2022 and windows, thanks a bunch!
Right?! So freaking stupid
same
You know the main reason I've never got around to learning OpenGL is because most videos made the setup process very tedious. But this guide has helped me that first wall. I'll keep you updated on what I end up doing with OpenGL. Thanks a lot 👍👍
I am amazed. I have spent hours trying to decipher other so-called tutorials to get this set up. With you I had it working in 10 minutes. Thanks!
BRO I LITERALLY LOOKING FOR EVERYTHING ON THE INTERNET IN THE PAST 15 DAYS AND USED 3 DIFFERENT PROGRAMS, 3 DIFFERENT AI'S AND YOU GAVE ME THE SOLUTION THANK YOU
you have no idea how awful this has been and how many times I have tried to get to just the empty window. I got it now. this was so helpful! thanks!!!
It did not work on 2019, but worked on 2022. Thank you!
This guy has an amazing voice.
Dr merlot how r u
Just gonna add to the praise already here. Great vid, actually worked when followed, as a tutorial should be. Perfect.
This the only video give the right way to setup the openGL library.
I have been trying for many days with other videos this the only one that help me in right setups
Omg thank you man ive been going at this for a while but no youtube vids show me how to actually open opengl
Thank you. I've been questioning my sanity for the last 2 days because I couldn't follow through other tutorials.
You`re just a magician that saved my day
Thank you very much, I’ve been trying to connect graphics for 2 days, this video worked
Thanks a lot)
this is the first video that works i love you
Thanks man, you are a part of the revolution to abolish microsofts rain in poorly optimized block game buissness.
Thank you so much. I was trying to setup Opengl on my windows for a while, but only your video worked.
Quick and helpful tutorial. Highly recommended!!!
Thank you!!!!!!!!!!!!!!!!!!!! I was becaming crazy......in Italy ,a tutorial like this doesn't exist
Thank you so much! This worked for me. Your video was simple, and straight to the point which I appreciate!
thank you it worked!!
dude this is by far the best tutorial out there
Thank you so much! Everything else was confusing. This was concise and functional.
Thanks!!
Really simple and easy to understand great video!! :)
Thank you, i finally found a good video about setting up and OpenGL.
This is misleading. It does not setup your project for using OpenGL. It allows us to acces GLFW which is a wrapper that give us quality of life functions for window/context management etc. You can not actually draw anything on the screen with this seyup as that requires more includes and setup.
Is there any video that can help with this matter?
@@btissamnaciri4495 i want to know too
IIRC glad is where you actually setup the graphics pipeline, if not one of the core parts of OpenGL. It's library is where you get things like binding the viewport and whatnot.
OMG! You are the best!!! come to Brazil and i will give you a hug s2
Hey thanks man, it worked perfectly for me in no time
Thank you very much! Slowly, precisely, everything on topic. Perfect tutorial! And it works, let's not forget about that!
Thank you very much! Your video is very simple and clear! The program works absolutely correctly!
You are the best man! everything went perfect!!!
been on this shit for 2 days, the only videos that help me is this one thnks mann..
Works like a charm! Thank you
thank you so much, very straight to the point i love it
thank you so much sir it worked so smoothly
Good tutorial, but I would only suggest to have people move their include folder within the solution directory and use $(SolutionDir) instead of a hard path. Otherwise, great video!
Thank you from Russia!♥
Work for me thank you from Brazil :D
Really helpful video man, i had to install opengl for my University project, thx alot!
Perfect tutorial. Thank you!
Thank you. Simple and straight to the point 💥❤
perfect simplicity
thank you so much i was searching for a proper vs2022 opengl installation and you delivered in the most straightforward way, very easy to catch up on the details
my vs code does not have options like project and others, and my vs code interface is also very different .
thanks omg it better what i saw for last month
thank you so much !! it worked at first time .
It worked. Thank you for the simple tutorial.
It all worked perfectly, thank you very much!
Sir this video is very helpful,thank u so much
its quite funny that this video was published on dec 31 2021 and he is using Visual studio 2022 😂😂
Nice tutorial BTW
wait how tf
Thank you! Worked without hassle.
Works perfectly (2024) nice job
thank you so much for your efficiency 👍
You can just leave the {AdditionalDependencies} default and not have to worry about manually importing the Windows libraries. You just need to point Visual Studio at the OpenGL/GLFW libs and you're all set.
Actually I think you do; I didn't do this and it came up with a build error, then, without fixing anything except that, I retried and it worked. It probably depends on circumstances; to those reading, if you didn't do this and you're getting LNK errors, do it just to check.
How can I point VS at the OpenGL/GLFW ?
hi, might i ask where the lib files are? like the opengl32 or shell32 files
thank you so much brother, i this video is extremely helpful
the only issue with this is that you might of wanted to include how to include the directories in the project source rather then a desktop folder. Reason is portability and it'll cause some issues down the line when people need to move things around. Otherwise solid video.
DUDE!!! you saved my life!!!!!
I swear why are it always those indian guys. Thank you my friend
Please keep making videos on opengl or other software for plotting lines, points, triangles, etc. Thanks.
I am a Matlab user and I do not know how to plot in C++.
very good guide, thank you bro
I finally found a video that was helpful. Thank you!
by using macros we can make it independant from the system when we are adding paths e.g just make folders inside the project like lib, dir folder and use macros for initial path setting upto the project like mainly $(solutiondir)\lib\include doing it like this we can share the project to anyone and they can carry on with the work without having to resetup everything.... well thats just my opinion in doing things idk if it helped, anyways your video taught me how to setup an opengl environment i'm gonna learn that now bye
TYSM, FINALLY A TUTORIAL THAT WORKS
Thank you brother!😇
Thanks you are a lifesaver.
Fine Job Sir. It worked at the very first time. Thanks a lot.
It worked thanks :)
thank you so much, that was so simple :)
Thank you so much sir, this video really helped❤❤
Thank you so much! This worked for me !!!!
Nice video, thanks.
Thank you so much this was helpful
Thank you so much!
thankyouu...it worked
Thank you very much 🥰
Thanks man it still works
Perfect video
Amazing !
Thank you so much
Nice! This video helped me a lot!
my document has no folder as libraries
Thanks! That worked for me! But what do I do next? Can I delete this code to write my own opengl code? Or do I have to keep it all the time to make the program work?
Huh, thanks.....it worked, God bless you ☺️☺️
Thank you so much. It was very easy. I follow you
Thank you!
thank you very much for the video it works properly
My VSCode has no the "project" link in toolbar
you need to use visual studio 2022 not vscode
nice video thank you
it really helped me . thanks a lot
thank you very much, so helpful !!!
do we have to do this everytime we make a new project or will this be permanent?
Tunisian power 👏👏👏👏
Thank you very much for the help.
thank you imma go make some triangles now
Thank you, that helped me alot
very good video,
thank you
Very good tutorial
Where is the files there is no links in description? 🥺
@@Howida00015 bruh