Setup OpenGL in Visual Studio 2022 for C/C++ Development

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 220

  • @BillyCouvillion
    @BillyCouvillion Год назад +43

    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.

  • @DiaSynapsid
    @DiaSynapsid 8 месяцев назад +21

    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.

  • @5starcode
    @5starcode 10 месяцев назад +6

    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 Год назад +13

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

  • @topkek_
    @topkek_ 2 года назад +11

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

  • @lancemendenhall1273
    @lancemendenhall1273 4 месяца назад

    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!

  • @zhzh724
    @zhzh724 Год назад +2

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

  • @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

  • @JemstoneGames
    @JemstoneGames 10 месяцев назад +2

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

  • @charcoal8379
    @charcoal8379 6 месяцев назад

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

  • @Kerem-sm2oc
    @Kerem-sm2oc 6 месяцев назад

    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

  • @dr.merlot1532
    @dr.merlot1532 2 года назад +25

    This guy has an amazing voice.

    • @dijik123
      @dijik123 Год назад

      Dr merlot how r u

  • @cozyProgramm5883
    @cozyProgramm5883 Месяц назад

    Thank you! I have been looking for hours for a propper solution and u explained it finnaly

  • @AA-bd
    @AA-bd 7 месяцев назад

    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

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

  • @amethystskye1329
    @amethystskye1329 2 года назад +30

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

  • @lajcik5627
    @lajcik5627 10 месяцев назад +2

    Quick and helpful tutorial. Highly recommended!!!

  • @hddr_v3
    @hddr_v3 11 месяцев назад +2

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

  • @benedictosei3767
    @benedictosei3767 8 месяцев назад

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

  • @bord7329
    @bord7329 Месяц назад

    You`re just a magician that saved my day

  • @CelestinoMachado-k3x
    @CelestinoMachado-k3x 10 месяцев назад +2

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

  • @coding_pepper
    @coding_pepper 5 месяцев назад

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

  • @MYMATEMATICA
    @MYMATEMATICA 2 года назад +1

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

  • @r20de20
    @r20de20 2 года назад +5

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

  • @OT3K1
    @OT3K1 Месяц назад

    this is the first video that works i love you

  • @lemonke8132
    @lemonke8132 Год назад +2

    dude this is by far the best tutorial out there

  • @Brekstahkid
    @Brekstahkid 10 дней назад

    It worked!! Thank you so much. Definitely earned a subcriber

  • @rogeliorojashernandez8517
    @rogeliorojashernandez8517 8 месяцев назад

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

  • @d_ar_k_sta_r1551
    @d_ar_k_sta_r1551 4 месяца назад

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

  • @civ20
    @civ20 Год назад +25

    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 Год назад +3

      Is there any video that can help with this matter?

    • @sal0minh0
      @sal0minh0 3 месяца назад

      @@btissamnaciri4495 i want to know too

    • @pokemonfanmario7694
      @pokemonfanmario7694 3 месяца назад +1

      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.

    • @a.pmbemba4319
      @a.pmbemba4319 10 дней назад

      Then help us guys

    • @MabelOdigie
      @MabelOdigie 4 дня назад

      please help others

  • @Luvoos
    @Luvoos Месяц назад +1

    thank you it worked!!

  • @rollorodrigo11
    @rollorodrigo11 2 года назад +3

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

  • @justiceayamdoo6893
    @justiceayamdoo6893 Месяц назад

    Man, you're a life saver!
    Thanks a lot!

  • @НикитаСеменов-и7ю
    @НикитаСеменов-и7ю Год назад +1

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

  • @king_james_official
    @king_james_official 2 года назад +7

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

  • @k0cteJl
    @k0cteJl 9 месяцев назад +1

    Thank you from Russia!♥

  • @shakmuru8590
    @shakmuru8590 11 месяцев назад +1

    Works like a charm! Thank you

  • @ВладиславКуракин-в9б
    @ВладиславКуракин-в9б 7 месяцев назад

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

  • @muzzairyamry5801
    @muzzairyamry5801 2 года назад

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

  • @solid_caliber6256
    @solid_caliber6256 11 месяцев назад +1

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

  • @davidhorowitz4037
    @davidhorowitz4037 9 месяцев назад +1

    Perfect tutorial. Thank you!

  • @WolfTwo
    @WolfTwo 9 месяцев назад +1

    Work for me thank you from Brazil :D

  • @EpicDawgYT
    @EpicDawgYT 4 месяца назад

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

  • @frenzy4709
    @frenzy4709 Год назад +1

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

  • @hvasomhelst
    @hvasomhelst 9 месяцев назад +1

    thank you so much sir it worked so smoothly

  • @ColeKleinebekel-u5y
    @ColeKleinebekel-u5y День назад

    great video but you got to click apply at ~4:08 or you have to do it again :D thanks for the help man.

  • @youmnahamdan4438
    @youmnahamdan4438 10 месяцев назад +1

    perfect simplicity

  • @taffeno
    @taffeno 2 года назад +8

    Thank you. Simple and straight to the point 💥❤

  • @skaffen
    @skaffen 10 месяцев назад

    Works perfectly (2024) nice job

  • @azardeys0
    @azardeys0 Год назад +1

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

  • @Thysta
    @Thysta 2 года назад +1

    Thank you! Worked without hassle.

  • @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

  • @ribiyzhur
    @ribiyzhur 2 месяца назад

    Sir this video is very helpful,thank u so much

  • @deajoel1060
    @deajoel1060 2 года назад +2

    thanks omg it better what i saw for last month

  • @vipingeorge9368
    @vipingeorge9368 2 года назад +3

    It worked. Thank you for the simple tutorial.

  • @ivanovcharovv
    @ivanovcharovv 8 месяцев назад

    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!

  • @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 Год назад

      How can I point VS at the OpenGL/GLFW ?

  • @troubledtom5250
    @troubledtom5250 10 месяцев назад

    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

  • @leclercbruno9653
    @leclercbruno9653 2 года назад +1

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

  • @ramanmhedin1137
    @ramanmhedin1137 2 года назад +1

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

  • @SekharSwarupSamantra
    @SekharSwarupSamantra 3 месяца назад

    how we can add the This graphics frame in picturebox or picturecontrol in mfc

  • @shigam8149
    @shigam8149 2 года назад

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

  • @benjaminrheault4998
    @benjaminrheault4998 Год назад +1

    It all worked perfectly, thank you very much!

  • @notknown84
    @notknown84 Год назад +1

    my document has no folder as libraries

  • @aninosspro
    @aninosspro 11 месяцев назад

    Thanks you are a lifesaver.

  • @calvinnme2
    @calvinnme2 Год назад

    Where I get stuck is that I have no tab called "Project Properties" under Project. Thus I cannot make the adjustments needed.

  • @phuonghoangthi7084
    @phuonghoangthi7084 2 месяца назад

    Error 1 error LNK1104: cannot open file 'glut32.lib'
    how can i sovle this error, pls help meee

  • @random-user-s
    @random-user-s 8 месяцев назад

    Only one question:
    Since i'm pretty new to c++ development using openGL, can i deploy the application to share it with other? if yes, will it work? (because i've had some problems under this aspect.)

  • @thepolishblackwolf4697
    @thepolishblackwolf4697 2 месяца назад

    Thank you brother!😇

  • @bored9306
    @bored9306 2 года назад +2

    TYSM, FINALLY A TUTORIAL THAT WORKS

  • @grve_wlkr
    @grve_wlkr 2 года назад +1

    I have followed all this step by step
    Although I am using VS 2019
    Even after doing all that is in the video I am getting errors (15 in total)
    It has the same RED lines as before adding stuff in the properties
    ............. Can anyone help🤔🤔🤔

    • @carlrose8619
      @carlrose8619 Год назад

      same my error >main.obj : error LNK2019:

  • @ioanrus6032
    @ioanrus6032 2 года назад +1

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

  • @trunghieu6071
    @trunghieu6071 7 месяцев назад

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

  • @deadsi
    @deadsi Год назад

    can someone tell me why the function glClear is undefined when i do this? I don't know what's up with my setup but it seems no matter what tutorial i follow for setting up an opengl project it never works, if i add glew to get the glclear function i get an error saying glu.h is not found when compiling

  • @archygames625
    @archygames625 8 месяцев назад

    very good guide, thank you bro

  • @thomasslone1964
    @thomasslone1964 Год назад

    i get adding the dirs but the file names i dont see like gid user and shell, where are those, in the actual lib binaries?, i guess as long as it compiles and runs on other machines.....

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

  • @eduardocruzism
    @eduardocruzism Год назад +2

    My VSCode has no the "project" link in toolbar

    • @5starcode
      @5starcode 10 месяцев назад

      you need to use visual studio 2022 not vscode

  • @divyanshusingh2013
    @divyanshusingh2013 Год назад

    😢 hey I have been trying to setup glfw for 2 days now I tried every thing followed this tutoriol 4 times but it's not building
    error massage:
    "LNK 2019 unresolved symbol glfwInt referred in main function
    "
    And just like it There are 7 more LNK 2019 errors
    I tried doing everything checked the linker setting and did every thing
    Please help me.
    I am literally crying right now

  • @amosonyoutube
    @amosonyoutube 7 месяцев назад

    It worked thanks :)

  • @bennood2031
    @bennood2031 6 месяцев назад

    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.

  • @hobsido7655
    @hobsido7655 Год назад +3

    thank you so much for your efficiency 👍

  • @matteoverardo8005
    @matteoverardo8005 3 года назад +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++.

  • @zunainaliazam194
    @zunainaliazam194 Год назад +1

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

  • @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?

  • @anaviothicheart2276
    @anaviothicheart2276 2 года назад +3

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

  • @A-B-19301
    @A-B-19301 4 месяца назад

    Nice video, thanks.

  • @frandrvodelic6598
    @frandrvodelic6598 8 месяцев назад

    Thank you so much!

  • @dalegriffiths3628
    @dalegriffiths3628 Год назад

    You star, I've been messing about with Cmake and trying to link in this and that to no avail. I was about to give up and send delete the application.

  • @kaveeshbhashitha7652
    @kaveeshbhashitha7652 2 месяца назад

    Thank you very much 🥰

  • @cjott-f5s
    @cjott-f5s 27 дней назад

    Thanks man!!!

  • @versus_lb
    @versus_lb День назад

    man idk how to say it but thinksss it been 3days and i dont know how to install it but now i can 🫡

  • @samikshyabhusal9209
    @samikshyabhusal9209 7 месяцев назад

    thankyouu...it worked

  • @Dacapoelcodaa
    @Dacapoelcodaa 9 месяцев назад

    There is no projects properties in Vs code 2024 :(

  • @ВоваГусаров-к3г
    @ВоваГусаров-к3г 2 года назад +1

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

  • @eryeo-x8n
    @eryeo-x8n Год назад +1

    thank you so much, that was so simple :)

  • @detectiverobin3383
    @detectiverobin3383 Год назад

    Its still not working for me, but I don't know why though, I tried different tutorials it still doesn't work.

  • @nossiro
    @nossiro 2 года назад

    do i need to repeat the same proccess everytime i want to build a c/cpp project using opengl?

  • @eliomattar8898
    @eliomattar8898 2 года назад

    I didn't find the library folder on my computer.
    Can you help me please?

  • @david.j.c
    @david.j.c 2 года назад

    I'm having an error,
    cannot open file "glut32.lib"