# GLFW with Visual Studio 2010 on Windows 7

**URL:** <https://discourse.glfw.org/t/glfw-with-visual-studio-2010-on-windows-7/62>\
**Category:** support\
**Created:** [April 20, 2014, 2:32pm UTC](https://discourse.glfw.org/t/glfw-with-visual-studio-2010-on-windows-7/62 "2014-04-20T14:32:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [April 20, 2014, 2:32pm UTC](https://discourse.glfw.org/t/glfw-with-visual-studio-2010-on-windows-7/62/1 "2014-04-20T14:32:00Z")

</div>

**[mosesr](https://sourceforge.net/u/mosesr/)** wrote on [Sunday, April 20, 2014](https://sourceforge.net/p/glfw/discussion/247562/thread/ef62cd7d/#817e):

Hi everyone,

There’s a similar thread but it’s from 2010 and regards version 2.6 of GLFW.

I’m trying to run the code from the tutorial on the homepage: [http://www.glfw.org/docs/latest/quick.html](http://www.glfw.org/docs/latest/quick.html)

I tried including the headers and libraries from the 32 bit Windows binaries from the download page, but this is what I get when I try to build:

1\>------ Build started: Project: first\_glfw\_proj, Configuration: Debug Win32 ------  
1\>Build started 4/20/2014 5:31:24 PM.  
1\>InitializeBuildStatus:  
1\> Touching “Debug\first\_glfw\_proj.unsuccessfulbuild”.  
1\>ClCompile:  
1\> All outputs are up-to-date.  
1\> main.cpp  
1\>c:\users\moshe\documents\visual studio 2010\projects\first\_glfw\_proj\first\_glfw\_proj\main.cpp(1): fatal error C1083: Cannot open include file: ‘GLFW/glfw3.h’: No such file or directory  
1\>  
1\>Build FAILED.  
1\>  
1\>Time Elapsed 00:00:00.21  
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Anybody know what’s going on?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [April 20, 2014, 6:30pm UTC](https://discourse.glfw.org/t/glfw-with-visual-studio-2010-on-windows-7/62/2 "2014-04-20T18:30:17Z")

</div>

**[arampl](https://sourceforge.net/u/arampl/)** wrote on [Sunday, April 20, 2014](https://sourceforge.net/p/glfw/discussion/247562/thread/ef62cd7d/#7eb0):

Hi mosesr!

For GLFW 2.x you must include “glfw.h”, not “glfw3.h”.  
But even if you fix this you’ll get more errors anyway.  
Don’t mix sample application for GLFW 3 and include files & libraries from GLFW 2.x. Many things changed since September, 2007!!!  
Why you don’t want to use the latest version? It works very well.

Regards.

---

<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:** [November 16, 2026, 4:18pm UTC](https://discourse.glfw.org/t/glfw-with-visual-studio-2010-on-windows-7/62/3 "2026-11-16T16:18:42Z")

</div>

Closed on November 16, 2026, 4:18pm UTC


