Atqa Munzir
Atqa Munzir
  • Видео 28
  • Просмотров 11 047
Setup C++ OpenGL in VSCode (Windows)
Step:
- Download VSCode (code.visualstudio.com/download)
- Download MSYS2 (www.msys2.org/)
- Generate and Download Glad (glad.dav1d.de/)
- Install VSCode
- Install MSYS2
- Put Glad on MSYS2
- Edit Environment Variables for MSYS2
- Configure VSCode
- Download Extension
- Add ExecutorMap
- Add IncludePath
- Testing (cs.lmu.edu/~ray/notes/openglexamples/)
MSYS2 command:
pacman -Syu
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-glew
pacman -S mingw-w64-x86_64-glfw
pacman -S mingw-w64-x86_64-freeglut
VSCODE Extension
- C/C++
- Code Runner
VSCODE Configuration
**Executor Map
"code-runner.executorMap": {
"cpp": "cd $dir && g++ $env:MSYS2/mingw64/include/glad/glad.c (Get-ChildItem -Path . -Filter *....
Просмотров: 6 187

Видео

Project 1: Flappy Bird
Просмотров 16Год назад
0:02 Game Start 0:16 Clear difference in vertical and horizontal gap between pipes 0:40 Gold Medal 0:50 Pause and resume game testing
Sabtunity - TicTacToe
Просмотров 712 года назад
Sabtunity - TicTacToe
Sabtunity - Instruksi Tugas 2
Просмотров 292 года назад
Sabtunity - Instruksi Tugas 2
Grafkom Sem 3 Tugas 2
Просмотров 632 года назад
settings.json { "code-runner.executorMap": { "cpp": "cd $dir && g $fileName -o $fileNameWithoutExt -lfreeglut -lglew32 -lopengl32 -lglfw3 -lglu32 -Lfolder && $dir$fileNameWithoutExt" }, "files.associations": { "*.css": "css", "ostream": "cpp" } } Bresenham's Line ruclips.net/video/RGB-wlatStc/видео.html DDA Line ruclips.net/video/W5P8GlaEOSI/видео.html
Setup Github buat Ngumpul Tugas dan Kolaborasi Kelompok
Просмотров 352 года назад
Setup Github buat Ngumpul Tugas dan Kolaborasi Kelompok
Setup OpenGL di VSCode [Deprecated]
Просмотров 2,8 тыс.2 года назад
it's deprecated, check out the new video: ruclips.net/video/GaMTjQouBcM/видео.htmlsi=eMK5lHwe5dIMOQ6b
Pemograman II : Double Linked List
Просмотров 342 года назад
Single Linked List ruclips.net/video/mo61giENi0Y/видео.html
Pemograman II : Linked List Lanjutan
Просмотров 632 года назад
Pemograman II : Linked List Lanjutan
Cara Mendapatkan Unity Student buat Mahasiswa Aktif
Просмотров 7912 года назад
Cara Mendapatkan Unity Student buat Mahasiswa Aktif
Basis Data : Praktikum 1
Просмотров 682 года назад
MYSQL Installer for Windows cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-8.0.28.0.msi
Pemograman II : Struct (Part 2)
Просмотров 382 года назад
Pemograman II : Struct (Part 2)
Flashlight Cover by Pipi, Gilbert, Rivan
Просмотров 422 года назад
Flashlight - Jessie J When tomorrow comes I'll be on my own Feeling frightened of The things that I don't know When tomorrow comes Tomorrow comes Tomorrow comes And though the road is long I look up to the sky And in the dark I found, I lost hope that I won't fly And I sing along, I sing along And I sing along I got all I need when I got you and I I look around me, and see a sweet life I'm stuc...
Pemograman II : Struct (Part 1)
Просмотров 542 года назад
Pemograman II : Struct (Part 1)
Game Yang Bikin Kamu Begadang Semalaman | Slither.io
Просмотров 523 года назад
Game Yang Bikin Kamu Begadang Semalaman | Slither.io
Demo Preview Pertiwipads Web
Просмотров 183 года назад
Demo Preview Pertiwipads Web
Pemograman I : Penjelasan Good Ranking Dll
Просмотров 673 года назад
Pemograman I : Penjelasan Good Ranking Dll
Pemograman I : Ringkasan Coding Praktikum 13 FPB KPK dengan Array dan Function
Просмотров 323 года назад
Pemograman I : Ringkasan Coding Praktikum 13 FPB KPK dengan Array dan Function
Pemograman I : Penjelasan Tugas Praktikum 14
Просмотров 343 года назад
Pemograman I : Penjelasan Tugas Praktikum 14
Krahel App Preview
Просмотров 173 года назад
Krahel App Preview
Pemograman I : Penjelasan Tugas Praktikum 12
Просмотров 553 года назад
Pemograman I : Penjelasan Tugas Praktikum 12
Pemograman I : Penjelasan Do While dan Function Tugas Praktikum 11
Просмотров 233 года назад
Pemograman I : Penjelasan Do While dan Function Tugas Praktikum 11
Pemograman I : Pembahasan Tugas Praktikum 7
Просмотров 413 года назад
Pemograman I : Pembahasan Tugas Praktikum 7
Pemograman I : Pembahasan Code Bangun Datar Tugas Praktikum 6
Просмотров 343 года назад
Pemograman I : Pembahasan Code Bangun Datar Tugas Praktikum 6
Pemograman I : Pembahasan Pseudocode E Commerece Tugas Praktikum 5
Просмотров 633 года назад
Pemograman I : Pembahasan Pseudocode E Commerece Tugas Praktikum 5
Pemograman I : Penjelasan FOR LOOP dengan Flowchart, Pseucode, Code, dan Tabel Pembuktian (Part 2)
Просмотров 603 года назад
Pemograman I : Penjelasan FOR LOOP dengan Flowchart, Pseucode, Code, dan Tabel Pembuktian (Part 2)
Pemograman I : Penjelasan FOR LOOP dengan Flowchart, Pseucode, Code, dan Tabel Pembuktian (Part 1)
Просмотров 1383 года назад
Pemograman I : Penjelasan FOR LOOP dengan Flowchart, Pseucode, Code, dan Tabel Pembuktian (Part 1)

Комментарии

  • @pragyanchakravarty765
    @pragyanchakravarty765 28 дней назад

    Thank You

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

    Great Great thanks for helping me to do it Note for friends here : don't forget to restart VS code to detect the path thanks

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

    a mi desde vscode no me queria correr pero ejecutando el comando desde el terminal de MYS2 donde instale todo si se ejecuta el archivo main.exe

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

    thank you. out of all videos i have tried, this is the only one that helped me the most.

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

      glad it helped

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

    bg tambahin soil bang untuk texture

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

    bang bikin cara untuk nambah lib soil bag untuk texture, ditunggu

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

    its showing no such file or directory glad.h :( plss help i m being mad at this from 2-3 days pls help its not showing include error but showing no such file or directory glad.h :( i tried a lot but :(

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

    hello mine is showing fatal error: glad/glad.h: No such file or directory #include <glad/glad.h> please help

  • @cecilial.201
    @cecilial.201 7 месяцев назад

    Tuve un inconveniente porque igual me salía error en #include <GL/glut.h>, pero lo solucioné así: Archivo -> Preferencias -> Configuración, y en la barra de búsqueda escribir includepath. En las opciones donde pueda agregar una ruta insertar la ruta raíz que contiene a GL/glut.h, en mi caso era C:\msys64\mingw64\include\**

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

    mantap mas work

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

    holy shit you're a god

  • @sara-bp7bc
    @sara-bp7bc 7 месяцев назад

    Thank you for a helpful video! However, I get the errors: fatal error: glad/glad.h: No such file or directory #include <glad/glad.h> ^~~~~~~~~~~~~ compilation terminated. error: 'gl' does not name a type gl Can you help me fix these errors?

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

      make sure you copy the generated glad to the directory as in video

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

    I encountered the error, 'GL/glut.h: No such file or directory #include <GL/glut.h>'. To resolve it, I checked if the directories were correct on my computer. In my case, I had to replace one directory with 'C:\msys64\mingw64\bin'. Check where the mingw\bin is located on your computer and add it to the PATH.

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

      thanks for the more detailed hint 😃

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

      can you please tell me the steps to solve this same error i got confused what to do please help :)

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

    PS C:\Users\acer\testing> cd "c:\Users\acer\testing\" ; if ($?) { g++ $env:MSYS2/mingw64/include/glad/glad.c (Get-ChildItem -Path . -Filter *.cpp -Recurse).FullName -o main -lopengl32 -lfreeglut -lglu32 -lglew32 -lglfw3 -lgdi32 -lmingw32 } ; if ($?) { ./main } cc1plus.exe: fatal error: C:\msys64/mingw64/include/glad/glad.c: No such file or directory compilation terminated. PS C:\Users\acer\testing> How to solve this probloem? i try to change directory of glad to follow it but i still error...

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

    hello i wanted to tell you that i wanted to run a c code but it's not running and errors are coming up, but c++ code are running fine. i hope you can do something about it.

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

      hello, can you reach me out through my discord, kom.u or you can try to add this code below in settings > code-runner.executorMap ``` "c": "cd $dir && gcc $env:MSYS2/mingw64/include/glad/glad.c (Get-ChildItem -Path . -Filter *.c -Recurse).FullName -o main -lopengl32 -lfreeglut -lglu32 -lglew32 -lglfw3 -lgdi32 -lmingw32 && ./main" ```

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

    it works but sometimes doesn't

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

      make sure to start in the file that has the entry function (main) *if you have multiple files

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

      @@atqamz i want to thank you , i have been trying to install it for about a week , after seeing so many youtube videos , only yours worked for me , so m so grateful that you made such a detailed video with steps , now i can finally learn opengl, please suggest me some good online source eg(youtube or any site ) to learn opengl , as i have to make y final year project using opengl , i have been thinking of making a 3d classroom

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

      @@gurinderkaur6817 sorry for late reply, glad it help you. for learning videos, you can try this playlist: ruclips.net/p/PLlrATfBNZ98foTJPJ_Ev03o2oq3-GGOS2&si=GWVKx7k3tTTtFDIo

    • @TushitaGupta-xo7co
      @TushitaGupta-xo7co 3 месяца назад

      @@atqamz please elaborate this a bit more, i am trying to run the code but all of the files are running simultaneously showing No such file directory error. please help

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

    Thank You Bro ,it works

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

      You're welcome!

  • @ANJUKUMARI-x2b
    @ANJUKUMARI-x2b 10 месяцев назад

    I also got same error

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

      yes, make sure toolchain, freeglut, etc are installed properly

    • @ANJUKUMARI-x2b
      @ANJUKUMARI-x2b 10 месяцев назад

      still showing same error@@atqamz

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

      @@ANJUKUMARI-x2b can you reach me from discord, @kom.u I'll try to help you 😄

  • @NoNameAnime-m7q
    @NoNameAnime-m7q Год назад

    Kak mau nanya, kok saya enggak muncul yah kak hasil compiler nya?. terus kalau saya run code sudah bisa kebaca terminal tapi enggak muncul hasil compilernya, kalau pakai run c/c++ file malah gak bisa "The preLauchTask 'C/C++: gcc.exe build active file' terminated with exit code -1.

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

      hmm sepertinya tutorial ini udah deprecated utk versi skrg, akan kuperbarui videonya, terimakasih laporannya

    • @NoNameAnime-m7q
      @NoNameAnime-m7q Год назад

      @@atqamz baik kak, soalnya saya sudah ngikutin langkah² nya dari awal sampai akhir tetap masih gak bisa, terus sama sudah coba langkah² yang lain di RUclips juga sama masalahnya tetap gak bisa.

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

      @@NoNameAnime-m7q kalau kamu butuh cepat, bisa hubungi aku lgsg melalui Instagram/Discord yah Instagram: @atqamz Discord: kom.u

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

      ini video terbarunya yah: ruclips.net/video/GaMTjQouBcM/видео.htmlsi=rrSCWcAnbbrvj5G2

  • @5adish
    @5adish Год назад

    ive followed all the steps but i keep getting the cannot open source file "GL/glut.h" error message ;__;

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

      sorry, i just reviewed again the tutorial, seems like it's not worked on newer version. I'll remake the video soon, thank you

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

      hey, i just remake the video, check this out: ruclips.net/video/GaMTjQouBcM/видео.htmlsi=rrSCWcAnbbrvj5G2

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

    (Ini komen tanpa konteks)

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

    how to get task.jason and main.cpp file?

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

      you need to create new file named main.cpp, and run the code it'll make task.json automatically

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

    Ini pake windows ?

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

      iya bang

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

      cara munculin tasknya gmn ya

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

      @@atqamz udh gan makasih

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

      @@febyanadjie sori baru bales lg bang wkwk, menurut abang udah jelas ga videonya? kalah kurang jelas aku coba buat ulang

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

      Jelas cuma karena mungkin versi terbaru vscode dllnya jd beda2 dikit

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

    Even though I can only speak english, this video was still amazing! This fixed all of my problems and now Im able to move forward :D thank you so much @Ataq Munzir

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

      Glad it helped! feel free to contact me if you need more detail instructions :D

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

    Manteb Bang , mamak ku pasti bangga

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

    Nicee

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

    samgat membangtu ngab atko

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

      syip mantap, share like comment

  • @adnanfatawi887
    @adnanfatawi887 3 года назад

    Semangat assafa

  • @radenadharnal-bantani9794
    @radenadharnal-bantani9794 3 года назад

    bang jelasin no 2 dong, kok saya coba error ga muncul 1

    • @atqamz
      @atqamz 3 года назад

      yg mana ne kan ada 2

  • @htc2848
    @htc2848 3 года назад

    25:22 bedanya = 0 sama == 0 apa?

    • @htc2848
      @htc2848 3 года назад

      kalau dijawab saya subscribe

    • @atqamz
      @atqamz 3 года назад

      = untuk inisiasi, == untuk comparison cth : x = 0 (Inisiasi variabel x menjadi 0) x == 0 (Apakah variabel x isinya 0?)

    • @htc2848
      @htc2848 3 года назад

      @@atqamz ok thanks

  • @radenadharnal-bantani9794
    @radenadharnal-bantani9794 3 года назад

    iya om jangan marah-marah :>

  • @rah8202
    @rah8202 3 года назад

    Terima kasih sensei Atqa 🙏🏼

  • @kentanggaming0386
    @kentanggaming0386 3 года назад

    TERIMA KASIH MBAK

    • @atqamz
      @atqamz 3 года назад

      saya tandai kamu

  • @andiahmad2821
    @andiahmad2821 3 года назад

    mantappp

  • @Mandhika
    @Mandhika 3 года назад

    terimakasih bang

  • @zibrilyuannn5815
    @zibrilyuannn5815 3 года назад

    😱😱🗿🗿

  • @gndlGLHF
    @gndlGLHF 3 года назад

    Semoga Membantu