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
@GetIntoGameDev10 ай бұрын
Welcome!
@cryptigo3 ай бұрын
Learning OpenGL as a new programer is really bold and impressive
@ducksreviewtech3396Ай бұрын
I just want to say this is the only tutorial that has worked for me. Thanks.
@MeowMeowRanger12 күн бұрын
Concise and considering (from the perspective of beginner). Greatest openGL tutorial on youtube.
@UhGoomba8 ай бұрын
your channel has everything I want to learn, in the right ways
@Nallu_Swami6 ай бұрын
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 "target_include_directories(Mathematics PRIVATE lib) target_link_libraries(Mathematics glfw)"
@hi_89834 ай бұрын
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!
@GetIntoGameDev4 ай бұрын
Thanks, very descriptive!
@outofbounds74417 ай бұрын
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
@GetIntoGameDev7 ай бұрын
Are you following this tutorial code? In this tutorial I use cmake, in which case it should absolutely be able to locate the glfw header, provided the folder structure has been set up properly. I think in the github repo I moved dependencies outside to reduce repeated code. On the other hand, windows may have trouble finding the lib files, I’ve got a video somewhere on my channel where I go through including glfw source code directly using git submodule. Glfw doesn’t have lib? Sometimes it’s called bin instead, or actually needs to be compiled from source using cmake. Also, I believe there’s a regular glfw release and a “developer” release. The developer one is what you want. Hope that helps!
@Madz-p4l23 күн бұрын
absolutely love your videos 🤍
@GetIntoGameDev23 күн бұрын
Thankyou!
@FloorMann4 ай бұрын
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.
@trys10studios5 ай бұрын
Numerical Analysis book on top of a drum pad, I think someone's learning Danny Carey.
@arifnishan56463 ай бұрын
[build] LINK : fatal error LNK1104: cannot open file 'glfw.lib'
@pankajsadhukhan26866 ай бұрын
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?
@GetIntoGameDev6 ай бұрын
Are you including the lib files and instructing visual studio to look for them? There’s a good amount of info online on how to set this up, eg. learnopengl.com
@babilman2337 Жыл бұрын
Will you continue thisnseries anda what Will you make.good luck on the making of tuts tho
@GetIntoGameDev Жыл бұрын
Yes it's continuing! I'm thinking one video per week or something like that, for the final project I'll be making some sort of first person shooter.
@babilman2337 Жыл бұрын
@@GetIntoGameDev Good luck on it!i i Will follow the tuts wheb i finish my project
@mrstanlez8 ай бұрын
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
@GetIntoGameDev8 ай бұрын
Excellent! Glad you fixed it 🙂
@mrstanlez8 ай бұрын
@@GetIntoGameDev Thank you. Any future thoughts about new 2D game series with OpenGL ? Will be very helpful.
@bhargavkumar9778 Жыл бұрын
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.
@raze3055 Жыл бұрын
cannot find -lglfw: No such file or directory every time! help!
@GetIntoGameDev Жыл бұрын
which system are you in? Did you try running the finished code in the github repo?
@torcat Жыл бұрын
@@GetIntoGameDev Same here! I am following the tutorial but I got "ld: library 'glfw' not found" I'm using Sonoma with clang 15.0.0 arm64-..... 23.0.0
@raze3055 Жыл бұрын
@@GetIntoGameDev windows 11, using the code from the github repo, clang 14.0.3 x86_64-w64-windows-gnu
@garydeschaines Жыл бұрын
@@raze3055 Have you tried editing CMakeLists.txt file to insert after the target_include_directories statement the following (assuming CMake version >= 3.13): target_link_directories(hello_window PRIVATE dependencies/lib ) and changed glfw to glfw3 in the subsequent target_link_libraries statement?
@JakubSK2 ай бұрын
This is why no one uses C++, it's super annoying with the libraries. It's just error after error after error... to infinity...
@nonnullptrhuman5042 ай бұрын
skill issue my friend. after you've getting hang of it, it will not be a problem 😅
@JakubSK2 ай бұрын
@@nonnullptrhuman504 it’s ok ChatGPT wrote my game for me. We’re good 👌