How to setup raylib with C++ in Visual Studio 2022 Community - Beginner tutorial

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

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

  • @programmingwithnick
    @programmingwithnick  11 месяцев назад +3

    I hope you took away lots from this video. Let me know below!
    PS. Do you like quiz games? Check my popular FREE Android quiz game here: bit.ly/QuizOfKnowledge

  • @paragoninnovation3383
    @paragoninnovation3383 7 месяцев назад +2

    This is exactly what I needed! Thank you so much for doing this tutorial :)

  • @user-rc3jt2dc3i
    @user-rc3jt2dc3i 3 месяца назад +10

    Thank you so much!
    To people who have problems with downloading on Win10:
    Open the command prompt. Using "cd .." command go to C: directory, then type "cd vcpkg" . And after that use the commands which author have mentioned (but without "./" at the begining)
    bootstrap-vcpkg.bat
    vcpkg integrate install
    vcpkg install raylib:x64-windows
    Hopefully it helps someone who have problems with downloading.

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

      Thanks dude

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

      could you maybe help me it still does not work. Could you maybe explaine it step for step?

    • @user-rc3jt2dc3i
      @user-rc3jt2dc3i Месяц назад

      @@pfirsichzocker9314 sorry I don't know, I found this way kinda spontaneously on my laptop, so I'm not sure if I can help you with your problem

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

      when i download haylib, it said A suitable version of cmake was not found (required v3.29.2).

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

      @@anhangolem5881 yeah the same is happening for me did you find any solution?

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

    Thank you for such a clear & complete set of instructions. I now have raylib installed on my copy of Visual Studio 2022

  • @scottsher
    @scottsher 8 месяцев назад +1

    Nick...you are the man!!!!! I have literally been trying to configure Raylib for vs code for a week. I switched to Visual Studio and came across your video and vcpkg. So easy!!!! Now I have a template for all of my graphics projects and I can stop configuring and start programming again. Many Many Thanks!
    Scott

  • @redblueek
    @redblueek 25 дней назад

    Nice working tutorial, thanks!

  • @eb_lan-kq6yu
    @eb_lan-kq6yu 15 дней назад

    very good videos and really simple download instructions, thank you, bro!

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

    Finally a good vídeo explaining how to do it win VS.
    thank you.

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

    thank you very much, Nick! so nice and easy tutorial!

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

    this is the best video on internet, really helpful and working with no problem

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

    Great tutorial, first time that a tutorial work for me without any problems thank you so much!

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

    NICK YOU ARE AMAZING. Very simple steps. No linker, no includes, bins, libs, etc. all that stuff. Just simple commands and done. Now it's time to learn how to use Raylib. Thanks!

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

    What a legend! Thank you so much!

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

    Great tutorial!

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

    such a great tutorial, thanks

  • @dylansherrick1035
    @dylansherrick1035 7 месяцев назад +2

    Tried this and nothing happens after installation. I check Visual Studio and raylib.h isn't there.

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

    Hey Nick, thanks a lot for this amazing video. I've been following your cpp tutorial and I it's really fun, I genuinely appreciate you making these videos ❤
    I wanted to ask you if I download Raylib using this method and then I zip and share the project folder with someone else who has Visual Studio with the cpp setup but not Raylib, will they still be able to run the project on their system? I mean will the library files be included in the project aswell? If not, can you help me with how I can achieve that

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

    thanks man!

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

    Thanks a lot!

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

    Thank you so much.

  • @Tims_Projects
    @Tims_Projects Год назад +4

    This is cool Nick.
    I use MS Visual Studio for 90% of my coding.
    When installing raylib do you know where it put it's files?
    Do you know if they end up with the installation of MS Visual Studio files?
    I try not to put things on my C drive, I leave C for windows system. It's a solid state drive (not very big) and I don't want to fill it.

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

      Hello Tim! When you install a library using vcpkg it places it inside the vcpkg folder. So, you are free to install vcpkg in any drive you want, the libraries will install there.

  • @kirobean
    @kirobean Год назад +7

    i dont have the option to open it in terminal

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

      What is your Operating system?

    • @user-ei8xk1ck6g
      @user-ei8xk1ck6g Год назад

      windows 11 @@programmingwithnick

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

      Mine is window 10

    • @AuzzieAi
      @AuzzieAi 11 месяцев назад +8

      on windows 10 I opened it in shell by holding shift and right clicking hope this helps

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

      @@AuzzieAi windows is the worst operating system of all time xD thanks mate it worked!

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

    '.' is not recognized as an internal or external command,
    operable program or batch file. help ?

    • @cistle00
      @cistle00 9 месяцев назад +3

      right click the batch file and run it. For the other commands in the windows, whenever you have "./vcpkg" just type it without the ./ and it works

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

      .\bootstrap-vcpkg.bat
      use this it will work. instead of / use \

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

    ./bootstrap doesn't seem to work on Windows 11, unfortunately.

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

      .\bootstrap-vcpkg.bat
      use this it will work. instead of / use \

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

    Hi, Nick I followed your steps exactly, however Visual Studio was unable to locate the raylib.h file when I attempted to import raylib.h into my project. Could you please assist?

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

      how do you include raylib. #include "raylib.h" or #include ?

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

      @@programmingwithnickI am gonna use that for c programming language and I just tried both of them. Also I have a Mac and I just install windows by virtual machine to use raylib and I am trying to run that on virtual machine. By the way I wasn’t expecting to answer to me thank you 🙏

    • @coronaa.3150
      @coronaa.3150 4 месяца назад

      @@programmingwithnick I am having the same issue, ive tried with both "raylib.h" and and it throws an "cannot open source file "raylib.h"" error. I installed it exactly as in the video, any help would be much appreciated.

  • @b.c.34
    @b.c.34 8 месяцев назад

    I am waiting for you to do a tutorial for similar installation on linux.

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

    Hey Nick! Can you please help me with something? I used this method to install raylib and it installed the main raylib.h file and raymath.h. However it didn't install the rest of the files like raudio, rpng etc. Can you please help me with this.

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

    help, when i download raylib, it said A suitable version of cmake was not found (required v3.29.2).

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

    Thank you so much :))

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

    Can I use it with C#?

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

    Can you do this with C aswell?

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

    I need some help, how do i make a visual studio project into an executable?

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

      use "build" and go to the build folder under your project folder

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

    what bro