How to Set up OpenGL and GLUT in Visual Studio (C++)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • Download Link to Files
    www.mediafire.c...
    ★★★Top Online Courses From ProgrammingKnowledge ★★★
    Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
    Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
    Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
    Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
    C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
    C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
    PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
    Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
    C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
    JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
    NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
    Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
    Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
    Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
    MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
    QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
    ★★★ Online Courses to learn ★★★
    Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqc...
    Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
    Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
    Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
    MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
    DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
    Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
    AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
    Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
    Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
    Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
    Kotlin Android Development Masterclass - bit.ly/2GcblsI
    Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
    ★★★ Follow ★★★
    My Website - www.codebind.com
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
    Setting up OpenGL 4.0 with Visual Studio
    GLEW: The OpenGL Extension Wrangler Library
    Setting up OpenGL on Visual Studio
    How do you install GLUT and OpenGL in Visual Studio 2012
    Setting up OpenGL and GLUT Visual Studio - C++ Forum
    Searches related to setup opengl
    setup opengl visual studio 2010
    solved how do i setup opengl
    setup opengl ubuntu
    opengl setup xp
    opengl setup download
    opengl setup windows 7
    how to set up opengl in visual studio 2013
    how to set up opengl in codeblocks

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

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

    this guy uploaded this in 2015 and still works , its amazing you saved my life bro

  • @РукиТрясуки
    @РукиТрясуки 9 ปีที่แล้ว +7

    Thanks for video sir. It was a real pain the neck to figure out how to this without your tutorial!

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

    Build: successful
    Run: successful
    I know GLUT is one of the easier ways to get started with openGL and not a full featured toolkit, but one has to start somewhere. Many thanks.

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

    Life Savior!!!! was struggling to set up OpenGL in visul studio with X64 configuration, you video saved me. Thanks a ton!!

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

    THANK YOU SIR. YOU HAVE BEEN MORE HELPFUL IN 10 MINUTES THEN HALF A SEMESTER WITH A PAID PROFESSOR. GOOD DAY TO YOU!

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

    Thank you so much, this is the first tutorial of about 10 where i had no errors the whole damn time

  • @wavegunner2323
    @wavegunner2323 8 ปีที่แล้ว +6

    Hey people of the internet i would recommend doing one more thing. Make a file inside your project where you can keep all the stuff in the zip download that way when you link everything up organizing is much easier. Anyway this was a great tutorial 10/10

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

      3:05 OH AND i messed this up allot not with this specific tutorial MAKE SURE that when you're configuring this that you have configuration in the top left set to the following : All configurations , Win32

  • @sadiraja9445
    @sadiraja9445 4 ปีที่แล้ว

    Thank you very much ..IT WORKED for visual studio 19.....I have been searching on internet but none of the procedures work......But you saved my time...

  • @SomeOne-mf3us
    @SomeOne-mf3us 5 ปีที่แล้ว +9

    Thank you, it worked for VS 2019

  • @antoniole01
    @antoniole01 9 ปีที่แล้ว

    went on opengls website gluts and couldn't get it to work, plus couldn't find their downloads page. thanks again greatest video ever.

  • @sadhunarun7430
    @sadhunarun7430 3 ปีที่แล้ว

    old is gold, still works perfectly. Thank you

  • @nepalidatascientist
    @nepalidatascientist 3 ปีที่แล้ว

    Thank you so much....I was frustrated not able to setup my environment for openGL and you did it.

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

    thanks to you i get my first openGL window context opened...god bless you

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

    The best openGL install tutorial in youtube. Thank you very much

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

    After 7yrs also working perfectly

  • @rightOrWrongMyCountry
    @rightOrWrongMyCountry 8 ปีที่แล้ว +17

    Thank you, it works with Visual Studio 2015.

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

    thank you : ) , my college assignment is finally finished..
    i use visual studio 2010

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

      why not use visual studio 2017?

  • @jsgoller1
    @jsgoller1 8 ปีที่แล้ว +9

    Clear tutorial, everything works as described. Thank you!

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

    Very easy steps to follow. You're one of the few tutorials that actually worked. Thank you so much

  • @DAToft
    @DAToft 8 ปีที่แล้ว

    Thanks! I've looked at many different guides for this but this is the only one I've gotten up and working!

  • @DashenBoi
    @DashenBoi 3 ปีที่แล้ว

    thank you soo much!!! I wouldnt have even found where to download opengl if it werent for you

  • @chawlajay111
    @chawlajay111 3 ปีที่แล้ว

    Today is 17 April 2021.🤘
    Thank you so much, man😎Trying this for week but couldn't but your method is still working.👌

    • @chawlajay111
      @chawlajay111 3 ปีที่แล้ว

      Even I am using Visual Studio 2019, this method still works

    • @nazmunnahershanta110
      @nazmunnahershanta110 3 ปีที่แล้ว

      help me please

  • @sridharans6195
    @sridharans6195 8 ปีที่แล้ว +4

    Really clear explanation of the setup. Thank you @ProgrammingKnowledge

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

    thank you so much, i tried lots of videos on youtube and none worked. thank you so much :)

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

    Man... God bless you , This was the only one helpful video via YT, Thx a lot

  • @amanda7913
    @amanda7913 5 ปีที่แล้ว

    For all other sleepyhead beginners like me out there - if you click "OK" before "apply" when you link the directories all the links you created will disappear. But they won't visually disappear before the window closes.
    That created a lot of fun for me when I thought "vs wouldn't find the files even though I clearly linked them"

  • @Heldawm
    @Heldawm 7 ปีที่แล้ว

    It's working like a charm in MSVC 2017, thank you.

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

    FINALLY, IT ACTUALLY WORKS ahhhhhhh.....been trying for days

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

      Man opengl is annoying

  • @carolfromhr
    @carolfromhr 8 ปีที่แล้ว

    Thank you! I still can't figure out why I couldn't get it to work, but it worked when I followed your instructions. Thanks again

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

    Tutorial is nearly 9 years old and its still helpful. Only part I got stuck on is that the Base.txt programming code isn't in the same format anymore.

  • @melodysuusydolem
    @melodysuusydolem 9 ปีที่แล้ว +6

    Thank you so much! Been struggling with this for a while now.
    This is very helpful~~

  • @rakshakr8708
    @rakshakr8708 8 ปีที่แล้ว

    Thank you so much. I installed visual studio 2013 express for desktop along with free glut and it works.

  • @juliogm9906
    @juliogm9906 8 ปีที่แล้ว

    simple and well explained, without long speeches and bullshit.
    very useful, thanks you man...
    now is time to learn how to write opengl programs. ;D

  • @matyhovidea8537
    @matyhovidea8537 6 ปีที่แล้ว

    ProgrammingKnowledge You are AWESOME!

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

    It worked in vs 2017 perfectly! Thanks!

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

      helpme
      i have problrmbro
      link1104

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

    Thank you so much😊...... It worked for visual Studio 2019 also.

  • @ЕгорЗахаров-д4й
    @ЕгорЗахаров-д4й 4 ปีที่แล้ว +1

    Thank you for saving me a couple of hours!

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

    Doesn't work. I tried like 5 times, and i got 10 errors 3 times, 1 error once, 21 erros once. I hate this, never been so mad while programming

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

    I am getting the errors "cannot open source file "GL\glew.h"" and "Cannot open source file "GL\freeglut.h"" Can anyone help I've been stuck for days now

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

      I got the same issue. I am trying to solve it. If someone can help, it would be great

    • @osinorsis
      @osinorsis 3 ปีที่แล้ว

      @tailor John yo pls how do you make this switch

    • @osinorsis
      @osinorsis 3 ปีที่แล้ว

      @tailor John thanks bro, had that error for the longest, stuff like this should be in the tutorial Goddamn

    • @osinorsis
      @osinorsis 3 ปีที่แล้ว

      @tailor John it did my friend, thanks

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

    Thanks for this, finally got it all working.

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

    Thanks man! It works with Visual Studio 2017 perfectly!!!

  • @alleyb62
    @alleyb62 9 ปีที่แล้ว +16

    I had problems with the program finding the dll files even after adding them to the system32 folder. The dll files also have to be added to the debug folder where the executable is created.

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

      helped me out a lot thank you!!!

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

    When I'm running the program it's giving me build error and when I click yess on that error it's showing me that system can't find the file specified what should I do?

  • @sergeysukhov635
    @sergeysukhov635 8 ปีที่แล้ว

    Great thanks from mother Russia's student!))

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

    Even working in 2023 and on 2022 version 😭 Thank you sooo much really

  • @nikosmega1
    @nikosmega1 4 ปีที่แล้ว

    the only tutorial that worked for me thank you very much!!!

  •  4 ปีที่แล้ว +1

    Thank you very much, you don't have idea the importance that it's this for me.

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

    Thank you, bro. Your guide is great and you have very nice voice

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

    Thank you so much! I have this shitty course at my faculty that uses antique tech and your video helped me a lot!

  • @voteforme1000
    @voteforme1000 7 ปีที่แล้ว

    Thank you very much for this tutorial video. It solved my problem, even though i am using VS 2017. It taught me few useful things about Visual Studio as well. I am glad i found and subscribed your channel.

  • @Karasaph
    @Karasaph 8 ปีที่แล้ว

    Wow. This works! Even with a testprogramm! This is the BEST TUTORIAL EVER!
    Because including libraries is a pain in the ass and difficult to find and understand. I hope I can finaly get started with this!

  • @ongquan9714
    @ongquan9714 7 ปีที่แล้ว

    Thank you ! This video is very helpful !
    It even works in my VS 2017

  • @paul_kapela
    @paul_kapela 6 ปีที่แล้ว

    Thank you, now I can go further into OpenGL :)

  • @nafeewalee
    @nafeewalee 6 ปีที่แล้ว

    Worked like a charm! Thank you!

  • @cartofswine9704
    @cartofswine9704 6 ปีที่แล้ว

    Thanks for the help. In an openGL class right now and the instructions provided did not work while this did.

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

    Hi there, thank you for this video, did you make any OpenGL with C++ tutorial ? If not do you suggest any?

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

    VS 2019 STILL WORKING THX MAN

  • @JanezKrnc-San
    @JanezKrnc-San 7 ปีที่แล้ว

    I'll be going back to this video alot....

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

    Thank you so much.....it helped a lot for my project!!!!!!.......

  • @Balu108
    @Balu108 3 ปีที่แล้ว

    What a nice tutorial, you are the best! And it is working perfect! I am so happy! :D

  • @mdsenelen
    @mdsenelen 3 ปีที่แล้ว

    I dont have sql server component file what should I do to fix it

  • @KhangTran-zq1pe
    @KhangTran-zq1pe 9 ปีที่แล้ว +1

    very straightforward and helpful. thank you!

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

    very helpful. worked for 2022 version

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

    Many Thanks brother.
    I have followed your instructions but the system gives me error (...\main.cpp(18,10): fatal error C1083: Cannot open include file: 'GL\glew.h': No such file or directory)
    Would you please help me to sort out this issue

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

      Same here, could you post the solution if you had it resolved by any chance
      Would help a lot ngl

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

      Found the solution
      U need to select only the C:/.../glut/include
      Rather than C:/.../glut/GL

    • @uashvitha6735
      @uashvitha6735 3 ปีที่แล้ว

      @@purneshgowda8476 that was very helpful thank youu

  • @AL-tr3ns
    @AL-tr3ns 4 ปีที่แล้ว

    Thank you so much, it's the best tutorial I have ever see!

  • @drsail1617
    @drsail1617 7 ปีที่แล้ว

    Thank you, it works with Visual Studio 2015!!!

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

    thanku so much it helped... but i need to do dis wid every project i do in my visual studio 2015... is der any default settings for dis?? plz let me know...

  • @MuhammadAhmed-nc9si
    @MuhammadAhmed-nc9si 7 ปีที่แล้ว +1

    Wow it works...Thanks for saving my day :)

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

    Dear Admin ty for this videos and i followed the steps but it showed cannot open file glew32.h .pls help me to set up as early as possible help me at my mail if u can! thank u

  • @fatonsaliju7651
    @fatonsaliju7651 9 ปีที่แล้ว

    It worked for me. Thank's man! :)

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

    Very helpful and very clearly explained. Thank you!

  • @SkillMinecrsft
    @SkillMinecrsft 9 ปีที่แล้ว

    Thanks a lot Please answer this qustion: Which version of OpenGL is that?

  • @burhanmohayaddin7415
    @burhanmohayaddin7415 4 ปีที่แล้ว

    Thank you very much. It has worked in VS2017

  • @marcoaureliopellens7438
    @marcoaureliopellens7438 8 ปีที่แล้ว

    Works!!! Thank's! Just follow the steps...

  • @mdcomputercenter2155
    @mdcomputercenter2155 7 ปีที่แล้ว

    Thank You It's working on Microsoft Visual C++ 6.0 :)

  • @danielsandor8738
    @danielsandor8738 8 ปีที่แล้ว

    It worked. Thank you so much!!!

  • @mirzanasir5779
    @mirzanasir5779 8 ปีที่แล้ว

    In case if someone getting error 'dll files not found' then you should place the dll files in the Debug folder.

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

    I have this error even after copying files in system32
    LNK 1104 cannot open file glew32.lib

  • @bobo123011
    @bobo123011 9 ปีที่แล้ว

    Great video, thanks for your help!

  • @riodaffa99
    @riodaffa99 4 ปีที่แล้ว

    Thank you very much buddy you're savior for us... many thanks from me

  • @александрорехов-ъ1г
    @александрорехов-ъ1г 6 ปีที่แล้ว

    Thank you for the most simple and usefull tutorial ever. Liked

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

    hey Man, is there a way I do not have to do these steps again everytime I make a new preject?

  • @Its-N
    @Its-N 7 ปีที่แล้ว

    Should I do these again everytime I make new project?

  • @blueherbentertainment771
    @blueherbentertainment771 8 ปีที่แล้ว

    Thank you so much my friend. You are the best!

  • @poornimahanda4198
    @poornimahanda4198 7 ปีที่แล้ว

    Thanks for this wonderful video. This made my work easier

  • @HashimKhan-im9dt
    @HashimKhan-im9dt 7 ปีที่แล้ว

    It helped for 2017 version! Thanx

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

    Thank you sir, well explained. Keep up the good works.

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

    It's not working for me! VS doesn't recognize the librairies ! What can I do ?
    Thanks.

  • @mbappekante2307
    @mbappekante2307 3 ปีที่แล้ว

    thank you! it's working for me

  • @jotishsharma03
    @jotishsharma03 4 ปีที่แล้ว

    Thanks Mate : Saved my day

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

    instead of doing this same step in a every project every time on new project manually. It would be better to put the path that looks for glut's include,bin ,lib and dlls for every program without doing this same annoying method repeatedly. with this method you have to also copy and paste dlls on every project folder which is super annoying and it would be more annoying if it includes multiple external files.

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

    this is working :D thankyou so much :)

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

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

    Still works great in 2024 :D

  • @arnabroy6557
    @arnabroy6557 8 ปีที่แล้ว

    This was really helpful. Thanks!

  • @Metalkorka
    @Metalkorka 7 ปีที่แล้ว

    thanks man! worked on my vs 2017

  • @e13u
    @e13u 3 ปีที่แล้ว

    Works on VS 2022. Thank you very much.

  • @danishajaib1923
    @danishajaib1923 8 ปีที่แล้ว

    thanks a lot man.. worked like a charm.

  • @Matematica_Aplicada
    @Matematica_Aplicada 7 ปีที่แล้ว

    This worked perfectly..thx

  • @ayeshaaman7458
    @ayeshaaman7458 4 ปีที่แล้ว

    thank you so much ! it was a very helpful video