# Visual Studio 2013

**URL:** <https://discourse.glfw.org/t/visual-studio-2013/19>\
**Category:** support\
**Created:** [November 25, 2013, 9:09pm UTC](https://discourse.glfw.org/t/visual-studio-2013/19 "2013-11-25T21:09:34Z")\
**Posts on this page:** 7\
**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:** [November 25, 2013, 9:09pm UTC](https://discourse.glfw.org/t/visual-studio-2013/19/1 "2013-11-25T21:09:34Z")

</div>

**[kennycastro007](https://sourceforge.net/u/kennycastro007/)** wrote on [Monday, November 25, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#e33a):

Hey, I’m trying to set up VS 2013 to work with GFLW to no avail, and I can’t ind anything on the interwebz about it, does anyone else know how to do this?

---

<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:** [November 25, 2013, 9:42pm UTC](https://discourse.glfw.org/t/visual-studio-2013/19/2 "2013-11-25T21:42:14Z")

</div>

**[dougbinks](https://sourceforge.net/u/dougbinks/)** wrote on [Monday, November 25, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#5fc4):

The latest version of cmake should be able to generate VS 2013 solutions, so if you install that and then use the cmake GUI you should be able to sort this out - or have you tried that and are having issues?

---

<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:** [November 25, 2013, 10:07pm UTC](https://discourse.glfw.org/t/visual-studio-2013/19/3 "2013-11-25T22:07:59Z")

</div>

**[kennycastro007](https://sourceforge.net/u/kennycastro007/)** wrote on [Monday, November 25, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#d3bc):

no what’s cmake, sorry new to VS 2013

---

<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:** [November 29, 2013, 3:04am UTC](https://discourse.glfw.org/t/visual-studio-2013/19/4 "2013-11-29T03:04:11Z")

</div>

**[kennycastro007](https://sourceforge.net/u/kennycastro007/)** wrote on [Friday, November 29, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#7cc6):

OK, I’ve checked out VS 2013 and apparently it isn’t updated for VS 2013 but I could be wrong

---

<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:** [November 29, 2013, 9:30am UTC](https://discourse.glfw.org/t/visual-studio-2013/19/5 "2013-11-29T09:30:03Z")

</div>

**[dougbinks](https://sourceforge.net/u/dougbinks/)** wrote on [Friday, November 29, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#1a03):

So you’ve installed the latest cmake [http://www.cmake.org/](http://www.cmake.org/) and generated the Visual Studio project files with that, or was that the problem?

---

<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:** [November 30, 2013, 2:14am UTC](https://discourse.glfw.org/t/visual-studio-2013/19/6 "2013-11-30T02:14:18Z")

</div>

**[kennycastro007](https://sourceforge.net/u/kennycastro007/)** wrote on [Saturday, November 30, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#90e1):

Yeah, it doesn’t generate the project files, I don’t know If I’m doing something wrong or what?

---

<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:** [December 4, 2013, 9:46am UTC](https://discourse.glfw.org/t/visual-studio-2013/19/7 "2013-12-04T09:46:46Z")

</div>

**[dougbinks](https://sourceforge.net/u/dougbinks/)** wrote on [Wednesday, December 04, 2013](https://sourceforge.net/p/glfw/discussion/247562/thread/055508be/#94f1):

This works for me.

1. Downloaded cmake version 2.8.12.1 from [http://www.cmake.org/cmake/resources/software.html](http://www.cmake.org/cmake/resources/software.html)
2. Ran the GUI cmake (cmake-gui).
3. Set the source code to be the glfw directory.
4. Set the build directory to be a directory called glfw\_build. This can be anywhere, but I placed it adjacent but not within glfw
5. Clicked configure. Selected the generator Visual Studio 12 (as VS 2013 is version 12 of the compiler toolchain).
6. Clicked generate.
7. Opened the project file in the glfw\_build dir. This worked fine.
