OpenGL Visual Studio 2017 Windows 10 Initial Setup with Third Party Libraries GLFW and GLAD

preview_player
Показать описание
A fresh OpenGL Introductory Programming Tutorial Video, any questions or comments, please leave them below the video.
Thanks for watching.
Рекомендации по теме
Комментарии
Автор

Yo seriously this was exactly the video I needed to find. I was trying to work through Learn OpenGL and kept having to delete everything and start from scratch! Thank you for making this video!!!

马森马森
Автор

Thanks so much, using a different version of glad some how worked for me, otherwise I was getting an error on every line in glad.c file (using vs 2017)

rdas
Автор

helped a lot . thanks for making this video

david
Автор

Thank you for this tutorial. it really helps me set up glad and glfw to my project.

jeroen
Автор

Ok, so at the end the reason that I was having trouble compiling.... was.... when I used CMake to build glfw3.lib, I chose the 32 bit version of Visual Studio 15 compiler, instead of choosing Visual Studio 15 x64. So the 32 bit library was not working for my x64 build....! Cheers everyone, hope you enjoy the video and get excited to start learning opengl.

jeffcummings
Автор

I didn't know what to do with the glad.c file and got stuck for a while thanks for the help :)

blendjams
Автор

Hey Jeff, I'm not new to programming, but am relatively new to working in IDEs...

I was having a bit of trouble with the glfw3.lib library, initially I could only find a glfwdll.lib.

I eventually figured out how to get the right .lib file, but still don't know what the difference was between glfw3.lib and glfw3dll.lib.

Would you happen to know?

matthewmello
Автор

There is bunch of linker errors dude and @10:36 u just scared me i was listening at high volume

tndev
Автор

I'm getting a LNK2019 unresolved external symbol error. I'm pretty sure that I've linked everything properly so I have no idea what could be causing it

prassanak
Автор

For me it is still not working. Im getting:


Warning LNK4098 defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
Error LNK1120 4 unresolved externals
Error LNK2001 unresolved external symbol glad_glViewport
Error LNK2001 unresolved external symbol glad_glClearColor
Error LNK2001 unresolved external symbol glad_glClear
Error LNK2001 unresolved external symbol gladLoadGLLoader


Maybe you can help me with that... I try learning opengl since like for ever, but every time i get stuck with random nonsense errors like that, and i have no idea how to fix 'em.


I did everything like you did. Just 9 mounths later :/

GgntvltLP