---
title: "Comment by shanay shukla on \"The easiest tutorial to setup OpenGL in VSCode\" | Hashnode"
description: "Still getting the same error message Of main.o:main.cpp:(.text+0x17): undefined reference to glfwInit' main.o:main.cpp:(.text+0x56): undefined reference to glfw"
url: "https://hashnode.com/posts/opengl-in-vs-code-setup/64018a60b83255e2b4bcd883/comment/65d78b3e576fd1bdb199536d"
---

[Discussion](https://hashnode.com/posts/opengl-in-vs-code-setup/64018a60b83255e2b4bcd883)

Comment [The easiest tutorial to setup OpenGL in VSCode](https://hashnode.com/posts/opengl-in-vs-code-setup/64018a60b83255e2b4bcd883)

[shanay shukla](https://hashnode.com/@Shukkkss)

[Feb 22, 2024](https://hashnode.com/posts/opengl-in-vs-code-setup/64018a60b83255e2b4bcd883/comment/65d78b3e576fd1bdb199536d)

Still getting the same error message Of main.o:main.cpp:(.text+0x17): undefined reference to `glfwInit' main.o:main.cpp:(.text+0x56): undefined reference to`glfwCreateWindow' main.o:main.cpp:(.text+0x64): undefined reference to `glfwTerminate' main.o:main.cpp:(.text+0x76): undefined reference to`glfwMakeContextCurrent' main.o:main.cpp:(.text+0x81): undefined reference to `glfwWindowShouldClose' main.o:main.cpp:(.text+0xa4): undefined reference to`glfwSwapBuffers' main.o:main.cpp:(.text+0xa9): undefined reference to `glfwPollEvents' main.o:main.cpp:(.text+0xb0): undefined reference to`glfwTerminate'

Please help cause i have been stuck on downloading since 3 days
