OpenGL with C++ 1: Intro and Setup

preview_player
Показать описание
#gamedev #gamedevelopment #programming

Рекомендации по теме
Комментарии
Автор

omg i started taking coding seriously about 2 weeks ago, taught myself c++ and had been trying to learn openGL, but have been at a road block for so long trying to just set everything up. all the resources i found were either in visual studio not vs code, didn’t work for me, or just confused me even more. i got to the point where i had a window, and some stuff but finding this serious is truly a god send, it’s like exactly what i’ve been looking for

brown.paperbag
Автор

I just want to say this is the only tutorial that has worked for me. Thanks.

ducksreviewtech
Автор

your channel has everything I want to learn, in the right ways

UhGoomba
Автор

Windows user here. I installed mingw-w64 via MSYS2, added it to PATH, and used its pacman interface to install gcc, gdb, cmake, and glfw. I of course still needed the glfw3, glad, and khr headers as shown in the video, but in terms of binaries, everything worked immediately. I did pass "glfw3" instead of "glfw" as the argument to target_link_libraries, however. Hope this is helpful!

hi_
Автор

Incase you still get the error for glfw library not found, edit the cmake and add this "find_package(glfw3 3.3 REQUIRED)"

in between PRIVATE lib)

glfw)"

Nallu_Swami
Автор

I'm here to say that using batch files on Windows will work. I did this entire tutorial because CMake wasn't working. Below is my `build.bat` file if you want to copy.

@echo off
if not exist dist mkdir dist
g++ -Idependencies -Llib -o dist\YourProgramName.exe src\*.cpp src\glad.c -lglfw3 -lgdi32 -lopengl32
.\dist\YourProgramName.exe


Note that some things should be changed based on your actual project.

FloorMann
Автор

Numerical Analysis book on top of a drum pad, I think someone's learning Danny Carey.

trysstudios
Автор

[build] LINK : fatal error LNK1104: cannot open file 'glfw.lib'

arifnishan
Автор

Hi,
First of all thanks a lot for your videos.
If this course covers image warping using opengl. I recently started opengl in my project my work is for using image warping using open gl for AR HUD.

bhargavkumar
Автор

Will you continue thisnseries anda what Will you make.good luck on the making of tuts tho

babilman
Автор

This is why no one uses C++, it's super annoying with the libraries. It's just error after error after error... to infinity...

JakubSK
Автор

I have an error when following at 18:11, "GLFW/glfw3.h: No such file or directory" coming from gcc. As another thing, my glfw doesn't have any folders with "lib" in the name. Can you help? EDIT: FYI I am using Windows

outofbounds
Автор

I'm using Debian 12 with gcc amd64, and get error as: [build] /usr/bin/ld: cannot find -lglfw: No such file or directory. FIX: sudo apt-get install libglfw3-dev

mrstanlez
Автор

Hello, I'm setting up this in my windows. I have done all the steps. But at the end when I tried to run .cpp file it gives me error that "-lglfw cannot find". All other libraries linking are working fine. but I can't able to resolve this error. What to do?

pankajsadhukhan
Автор

cannot find -lglfw: No such file or directory
every time! help!

raze