How to install raylib with C++ on Windows and use it with Visual Studio Code

preview_player
Показать описание
How to install raylib with C++ on Windows and use it with Visual Studio Code

In this video I am going to show you how to install raylib on your windows computer and use it with C++ and Visual Studio Code. The procedure is very easy and it won’t take us more than 5 minutes.

Previous Tutorials (Watch in the following order)

0:00 Intro
0:16 Install Visual Studio Code
0:40 Install the C/C++ extension VS code
1:09 Install the raylib library
2:04 Download the Starter Template Project
2:45 Open & Run the project
Рекомендации по теме
Комментарии
Автор

I hope you took away lots from this video. Let me know below!

programmingwithnick
Автор

Thank you So much, Me and my friend have been trying to this from the last 12+ hours and 4 days of hard work first we were trying to do so with SDL2 but when we did not receive success then we decided to use ray lib and we found you thank you so much again!

MohitJha-ln
Автор

I'm getting error of no such file or directory raylib.h 😭 I exactly followed every step

laibamasood
Автор

undefined reference to `InitWindow'
every raylib function causes this type of error 😭😭

RandomJeevanYT
Автор

i have it installed, but when i opened the workspace on victual studio code, i pressed f5 and it does not work

fungi
Автор

it gives me "raylib.h
"no such file or directory

thomasangelo
Автор

Finally a tutorial that works first try. Thank you!

ΙσίδωροςΚαλαμάρης
Автор

It works, the debugging mode is working too. Big thanks for this. Sub'd and liked the video, and star'd your github repo.
God bless you man.

anujupadhyay
Автор

Why does it only work when the template project is on the desktop? helppp

edit: nvm I fixed it, it was because of a folder called "Programación". I changed it to "Programacion" 😭

milo
Автор

Thank you so much☺This tutorial video has really worked well for me.

nagulamurthy
Автор

Superb, your instructions are very easy.

mkhatri
Автор

I can not thank you enough I have been following a bunch of other tutorials this is the only one that has worked! thanks again!

rats
Автор

2 seconds in and almost immediately realized you were Greek. Keep up the good work Νίκο!

AngeloComedy
Автор

It will be so kind of you if you please explain how you setup this template? What modifications did you do to make this template works? Because I cannot create my custom template without understanding how does it work. Thank you so much.

albert
Автор

Replace #include <raylib.h> WITH #include to if you are encountering "raylib.h
"no such file or directory, it will be fixed

sid-lldg
Автор

the include error I kept getting was fixed by doing fn + f5 instead of ctrl alt N which I usually do, for other computers you do f5 as in the video if fn + f5 doesn’t work

logicalapple_
Автор

Criticism. Cool video, Top Top production quality, BUT :). What if somebody have already C++ compiler installed? What if somebody have different folder for c++ libraries, what if somebody is using different extension to compile c++ ?. This tutorial should be: how to run this library from the notepad and compilation from cmd using Makefile. If anything is different from Your setup (my case), I have to do it manually (lucky me) and I learn something :) :) ...the point is to understand the process, not to replicate it. C++ is not python, and those details are necessary to understand otherwise Your viewers will be quickly stuck when working on bigger projects, and they lose tone of nerve :) Regards

laureven
Автор

Thanks again for the video. Can you explain why you need the Makefile? I know that you can use this for comands and configs. But I see downloads for different platforms. Will this run as we compile the code? Thanks.

maneshipocrates
Автор

Cannot open source file raylib.h showing 😭

abpu_upbgeedvin
Автор

Why only the main.cpp file runs but when I try to run any other cpp file it says file.cpp not found open launch.json
please tell me how can I create multiple files and run them

Splasmer