# Glfw In Dev c++

**URL:** <https://discourse.glfw.org/t/glfw-in-dev-c/1972>\
**Category:** support\
**Created:** [December 27, 2021, 11:53am UTC](https://discourse.glfw.org/t/glfw-in-dev-c/1972 "2021-12-27T11:53:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoobProgrammer](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@NoobProgrammer](https://discourse.glfw.org/u/NoobProgrammer)\
**Post date:** [December 27, 2021, 11:53am UTC](https://discourse.glfw.org/t/glfw-in-dev-c/1972/1 "2021-12-27T11:53:45Z")

</div>

I am Trying to Learn Opengl and Will be using GLFW. But I don’t know how to setup Glfw in dev c++. Please anyone help me. i am a newbie

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [December 27, 2021, 1:10pm UTC](https://discourse.glfw.org/t/glfw-in-dev-c/1972/2 "2021-12-27T13:10:55Z")

</div>

I don’t know much about “Dev C++” and it looks like cmake doesn’t have a project generator for it, so you likely won’t find much help in using it.

The [Visual Studio Community Edition C++ IDE](https://visualstudio.microsoft.com/vs/community/) is free and the standard toolchain for Windows. [CMake](https://cmake.org/) can output Visual Studio project files or you can load them directly using Visual Studio, so you can use it alongside [this GLFW cmake starter project](https://github.com/juliettef/GLFW-CMake-starter).

---

<div class="post-metadata">

**Author:** ![controltheorist86](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@controltheorist86](https://discourse.glfw.org/u/controltheorist86)\
**Post date:** [September 6, 2022, 1:09pm UTC](https://discourse.glfw.org/t/glfw-in-dev-c/1972/3 "2022-09-06T13:09:03Z")

</div>

Hi Noob programmer. I am a beginner too with opengl.  
To use glfw in dev c++ you just need to add this on your project (create one as console application).  
Then right click on the Project tab on your left side, and add these on Project Options–\>Parameters–\> Linker tab:  
-lglfw3  
-lGdi32  
-lopengl32  
I suppose you have already installed the mingw32 compiler and within the GL folder you should add all the librareis you need. Then copy and paste standard basic tutorial code to create a window.

That’s it.
