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...

ความคิดเห็น • 210

  • @DiaSynapsid
    @DiaSynapsid 6 หลายเดือนก่อน +16

    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.

  • @BillyCouvillion
    @BillyCouvillion 11 หลายเดือนก่อน +38

    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.

  • @5starcode
    @5starcode 9 หลายเดือนก่อน +5

    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.

  • @cx6894
    @cx6894 ปีที่แล้ว +11

    had to go through like 20 fking videos to find this one that actually works with visual studio 2022 and windows, thanks a bunch!

  • @charcoal8379
    @charcoal8379 5 หลายเดือนก่อน

    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 👍👍

  • @lancemendenhall1273
    @lancemendenhall1273 3 หลายเดือนก่อน

    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!

  • @Kerem-sm2oc
    @Kerem-sm2oc 4 หลายเดือนก่อน

    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

  • @topkek_
    @topkek_ 2 ปีที่แล้ว +12

    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!!!

  • @zhzh724
    @zhzh724 ปีที่แล้ว +2

    It did not work on 2019, but worked on 2022. Thank you!

  • @dr.merlot1532
    @dr.merlot1532 2 ปีที่แล้ว +25

    This guy has an amazing voice.

    • @dijik123
      @dijik123 ปีที่แล้ว

      Dr merlot how r u

  • @JemstoneGames
    @JemstoneGames 8 หลายเดือนก่อน +2

    Just gonna add to the praise already here. Great vid, actually worked when followed, as a tutorial should be. Perfect.

  • @AA-bd
    @AA-bd 5 หลายเดือนก่อน

    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

  • @Midnight29052
    @Midnight29052 2 ปีที่แล้ว +4

    Omg thank you man ive been going at this for a while but no youtube vids show me how to actually open opengl

  • @benedictosei3767
    @benedictosei3767 6 หลายเดือนก่อน

    Thank you. I've been questioning my sanity for the last 2 days because I couldn't follow through other tutorials.

  • @bord7329
    @bord7329 5 วันที่ผ่านมา

    You`re just a magician that saved my day

  • @hddr_v3
    @hddr_v3 10 หลายเดือนก่อน +2

    Thank you very much, I’ve been trying to connect graphics for 2 days, this video worked
    Thanks a lot)

  • @OT3K1
    @OT3K1 6 วันที่ผ่านมา

    this is the first video that works i love you

  • @coding_pepper
    @coding_pepper 3 หลายเดือนก่อน

    Thanks man, you are a part of the revolution to abolish microsofts rain in poorly optimized block game buissness.

  • @felipenunes8382
    @felipenunes8382 2 ปีที่แล้ว +3

    Thank you so much. I was trying to setup Opengl on my windows for a while, but only your video worked.

  • @lajcik5627
    @lajcik5627 9 หลายเดือนก่อน +2

    Quick and helpful tutorial. Highly recommended!!!

  • @MYMATEMATICA
    @MYMATEMATICA 2 ปีที่แล้ว +1

    Thank you!!!!!!!!!!!!!!!!!!!! I was becaming crazy......in Italy ,a tutorial like this doesn't exist

  • @amethystskye1329
    @amethystskye1329 2 ปีที่แล้ว +30

    Thank you so much! This worked for me. Your video was simple, and straight to the point which I appreciate!

  • @Luvoos
    @Luvoos 7 วันที่ผ่านมา +1

    thank you it worked!!

  • @lemonke8132
    @lemonke8132 ปีที่แล้ว +2

    dude this is by far the best tutorial out there

  • @d_ar_k_sta_r1551
    @d_ar_k_sta_r1551 3 หลายเดือนก่อน

    Thank you so much! Everything else was confusing. This was concise and functional.

  • @CelestinoMachado-k3x
    @CelestinoMachado-k3x 9 หลายเดือนก่อน +2

    Thanks!!
    Really simple and easy to understand great video!! :)

  • @НикитаСеменов-и7ю
    @НикитаСеменов-и7ю 11 หลายเดือนก่อน +1

    Thank you, i finally found a good video about setting up and OpenGL.

  • @civ20
    @civ20 ปีที่แล้ว +23

    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.

    • @btissamnaciri4495
      @btissamnaciri4495 11 หลายเดือนก่อน +3

      Is there any video that can help with this matter?

    • @sal0minh0
      @sal0minh0 2 หลายเดือนก่อน

      @@btissamnaciri4495 i want to know too

    • @pokemonfanmario7694
      @pokemonfanmario7694 2 หลายเดือนก่อน

      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.

  • @rollorodrigo11
    @rollorodrigo11 2 ปีที่แล้ว +3

    OMG! You are the best!!! come to Brazil and i will give you a hug s2

  • @EpicDawgYT
    @EpicDawgYT 3 หลายเดือนก่อน

    Hey thanks man, it worked perfectly for me in no time

  • @r20de20
    @r20de20 ปีที่แล้ว +5

    Thank you very much! Slowly, precisely, everything on topic. Perfect tutorial! And it works, let's not forget about that!

  • @ВладиславКуракин-в9б
    @ВладиславКуракин-в9б 6 หลายเดือนก่อน

    Thank you very much! Your video is very simple and clear! The program works absolutely correctly!

  • @rogeliorojashernandez8517
    @rogeliorojashernandez8517 6 หลายเดือนก่อน

    You are the best man! everything went perfect!!!

  • @muzzairyamry5801
    @muzzairyamry5801 ปีที่แล้ว

    been on this shit for 2 days, the only videos that help me is this one thnks mann..

  • @shakmuru8590
    @shakmuru8590 10 หลายเดือนก่อน +1

    Works like a charm! Thank you

  • @solid_caliber6256
    @solid_caliber6256 9 หลายเดือนก่อน +1

    thank you so much, very straight to the point i love it

  • @hvasomhelst
    @hvasomhelst 8 หลายเดือนก่อน +1

    thank you so much sir it worked so smoothly

  • @ivanovcharovv
    @ivanovcharovv 6 หลายเดือนก่อน

    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!

  • @k0cteJl
    @k0cteJl 8 หลายเดือนก่อน +1

    Thank you from Russia!♥

  • @WolfTwo
    @WolfTwo 8 หลายเดือนก่อน +1

    Work for me thank you from Brazil :D

  • @frenzy4709
    @frenzy4709 ปีที่แล้ว +1

    Really helpful video man, i had to install opengl for my University project, thx alot!

  • @davidhorowitz4037
    @davidhorowitz4037 7 หลายเดือนก่อน +1

    Perfect tutorial. Thank you!

  • @taffeno
    @taffeno 2 ปีที่แล้ว +8

    Thank you. Simple and straight to the point 💥❤

  • @youmnahamdan4438
    @youmnahamdan4438 8 หลายเดือนก่อน +1

    perfect simplicity

  • @duckdoan7977
    @duckdoan7977 ปีที่แล้ว +2

    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

    • @adityaanantjadhav
      @adityaanantjadhav ปีที่แล้ว

      my vs code does not have options like project and others, and my vs code interface is also very different .

  • @deajoel1060
    @deajoel1060 2 ปีที่แล้ว +2

    thanks omg it better what i saw for last month

  • @ramanmhedin1137
    @ramanmhedin1137 ปีที่แล้ว +1

    thank you so much !! it worked at first time .

  • @vipingeorge9368
    @vipingeorge9368 2 ปีที่แล้ว +3

    It worked. Thank you for the simple tutorial.

  • @benjaminrheault4998
    @benjaminrheault4998 ปีที่แล้ว +1

    It all worked perfectly, thank you very much!

  • @ribiyzhur
    @ribiyzhur 26 วันที่ผ่านมา

    Sir this video is very helpful,thank u so much

  • @adityaraghav8693
    @adityaraghav8693 2 ปีที่แล้ว +1

    its quite funny that this video was published on dec 31 2021 and he is using Visual studio 2022 😂😂
    Nice tutorial BTW

  • @Thysta
    @Thysta 2 ปีที่แล้ว +1

    Thank you! Worked without hassle.

  • @skaffen
    @skaffen 9 หลายเดือนก่อน

    Works perfectly (2024) nice job

  • @hobsido7655
    @hobsido7655 ปีที่แล้ว +3

    thank you so much for your efficiency 👍

  • @halfbakedproductions7887
    @halfbakedproductions7887 ปีที่แล้ว +1

    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.

    • @fruitymcfruitcake9674
      @fruitymcfruitcake9674 ปีที่แล้ว

      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.

    • @LionsinofStraight
      @LionsinofStraight 11 หลายเดือนก่อน

      How can I point VS at the OpenGL/GLFW ?

  • @king_james_official
    @king_james_official 2 ปีที่แล้ว +7

    hi, might i ask where the lib files are? like the opengl32 or shell32 files

  • @trunghieu6071
    @trunghieu6071 5 หลายเดือนก่อน

    thank you so much brother, i this video is extremely helpful

  • @bennood2031
    @bennood2031 5 หลายเดือนก่อน

    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.

  • @azardeys0
    @azardeys0 ปีที่แล้ว +1

    DUDE!!! you saved my life!!!!!

  • @shigam8149
    @shigam8149 2 ปีที่แล้ว

    I swear why are it always those indian guys. Thank you my friend

  • @matteoverardo8005
    @matteoverardo8005 2 ปีที่แล้ว +3

    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++.

  • @archygames625
    @archygames625 6 หลายเดือนก่อน

    very good guide, thank you bro

  • @ioanrus6032
    @ioanrus6032 2 ปีที่แล้ว +1

    I finally found a video that was helpful. Thank you!

  • @troubledtom5250
    @troubledtom5250 9 หลายเดือนก่อน

    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

  • @bored9306
    @bored9306 2 ปีที่แล้ว +2

    TYSM, FINALLY A TUTORIAL THAT WORKS

  • @thepolishblackwolf4697
    @thepolishblackwolf4697 19 วันที่ผ่านมา

    Thank you brother!😇

  • @aninosspro
    @aninosspro 9 หลายเดือนก่อน

    Thanks you are a lifesaver.

  • @leclercbruno9653
    @leclercbruno9653 2 ปีที่แล้ว +1

    Fine Job Sir. It worked at the very first time. Thanks a lot.

  • @amosonyoutube
    @amosonyoutube 6 หลายเดือนก่อน

    It worked thanks :)

  • @eryeo-x8n
    @eryeo-x8n ปีที่แล้ว +1

    thank you so much, that was so simple :)

  • @anaviothicheart2276
    @anaviothicheart2276 2 ปีที่แล้ว +3

    Thank you so much sir, this video really helped❤❤

  • @ВоваГусаров-к3г
    @ВоваГусаров-к3г 2 ปีที่แล้ว +1

    Thank you so much! This worked for me !!!!

  • @A-B-19301
    @A-B-19301 2 หลายเดือนก่อน

    Nice video, thanks.

  • @safijeds8929
    @safijeds8929 2 ปีที่แล้ว +2

    Thank you so much this was helpful

  • @frandrvodelic6598
    @frandrvodelic6598 7 หลายเดือนก่อน

    Thank you so much!

  • @samikshyabhusal9209
    @samikshyabhusal9209 5 หลายเดือนก่อน

    thankyouu...it worked

  • @kaveeshbhashitha7652
    @kaveeshbhashitha7652 หลายเดือนก่อน

    Thank you very much 🥰

  • @kadircankelebek9641
    @kadircankelebek9641 ปีที่แล้ว +1

    Thanks man it still works

  • @marylitex
    @marylitex 8 หลายเดือนก่อน +1

    Perfect video

  • @PrabhjotAulakh-lb6pn
    @PrabhjotAulakh-lb6pn 6 หลายเดือนก่อน

    Amazing !

  • @Caymag
    @Caymag 8 หลายเดือนก่อน +1

    Thank you so much

  • @TuNguyen-yz2uq
    @TuNguyen-yz2uq 2 ปีที่แล้ว +1

    Nice! This video helped me a lot!

  • @notknown84
    @notknown84 ปีที่แล้ว +1

    my document has no folder as libraries

  • @artemass9554
    @artemass9554 ปีที่แล้ว

    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?

  • @dorrykush
    @dorrykush 2 ปีที่แล้ว

    Huh, thanks.....it worked, God bless you ☺️☺️

  • @JBarajasHdez
    @JBarajasHdez 2 ปีที่แล้ว

    Thank you so much. It was very easy. I follow you

  • @JordanRouss
    @JordanRouss 9 หลายเดือนก่อน

    Thank you!

  • @karltekam5274
    @karltekam5274 ปีที่แล้ว

    thank you very much for the video it works properly

  • @eduardocruzism
    @eduardocruzism ปีที่แล้ว +2

    My VSCode has no the "project" link in toolbar

    • @5starcode
      @5starcode 9 หลายเดือนก่อน

      you need to use visual studio 2022 not vscode

  • @Guilhermelff
    @Guilhermelff 4 หลายเดือนก่อน

    nice video thank you

  • @PriyanshuChauhan2210
    @PriyanshuChauhan2210 ปีที่แล้ว

    it really helped me . thanks a lot

  • @tribikramdhar3275
    @tribikramdhar3275 ปีที่แล้ว

    thank you very much, so helpful !!!

  • @zunainaliazam194
    @zunainaliazam194 ปีที่แล้ว +1

    do we have to do this everytime we make a new project or will this be permanent?

  • @SRYmusic101
    @SRYmusic101 ปีที่แล้ว +1

    Tunisian power 👏👏👏👏

  • @ahmedsadikhov2955
    @ahmedsadikhov2955 ปีที่แล้ว

    Thank you very much for the help.

  • @thedabbinggamer3726
    @thedabbinggamer3726 ปีที่แล้ว

    thank you imma go make some triangles now

  • @redrebelsheep6303
    @redrebelsheep6303 ปีที่แล้ว

    Thank you, that helped me alot

  • @Computeraidedautomation
    @Computeraidedautomation 2 หลายเดือนก่อน

    very good video,

  • @sheenabonanee
    @sheenabonanee 8 หลายเดือนก่อน +1

    thank you

  • @vladciomirtan9782
    @vladciomirtan9782 ปีที่แล้ว +1

    Very good tutorial

    • @Howida00015
      @Howida00015 ปีที่แล้ว

      Where is the files there is no links in description? 🥺

    • @Vscojen
      @Vscojen ปีที่แล้ว

      @@Howida00015 bruh