# GLFW + Code::Blocks + Ubuntu

**URL:** <https://discourse.glfw.org/t/glfw-code-blocks-ubuntu/792>\
**Category:** support\
**Created:** [November 6, 2016, 10:24am UTC](https://discourse.glfw.org/t/glfw-code-blocks-ubuntu/792 "2016-11-06T10:24:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MumikCZ](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MumikCZ](https://discourse.glfw.org/u/MumikCZ)\
**Post date:** [November 6, 2016, 10:24am UTC](https://discourse.glfw.org/t/glfw-code-blocks-ubuntu/792/1 "2016-11-06T10:24:37Z")

</div>

Hello,  
I tried to get to work this combination, and I just find it nearly impossible to function.  
I watched all the tutorials and read all the forum posts, but nothing worked. Then, i tried to get to work SDL2, and that worked. I want to get GLFW to work, because i have got so many things to do with it. Please help?!!!

---

<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 6, 2016, 11:21am UTC](https://discourse.glfw.org/t/glfw-code-blocks-ubuntu/792/2 "2016-11-06T11:21:04Z")

</div>

I believe cmake now supports outputing Code::Blocks project files, so you should be able to use that.

[Documentation for cmake + code::blocks here](https://cmake.org/cmake/help/v3.0/generator/CodeBlocks.html) and [a stack overflow example here](http://stackoverflow.com/questions/37618040/codeblocks-with-cmake). To use [cmake with GLFW see the documentation on this page](http://www.glfw.org/docs/latest/build_guide.html#build_link_cmake_package).
