# Having issues compiling with Cmake on Windows

**URL:** https://discourse.cataclysmdda.org/t/having-issues-compiling-with-cmake-on-windows/7427
**Category:** The Garage
**Created:** [September 22, 2014, 4:15pm UTC](https://discourse.cataclysmdda.org/t/having-issues-compiling-with-cmake-on-windows/7427 "2014-09-22T16:15:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Zakkor](https://avatars.discourse-cdn.com/v4/letter/z/57b2e6/32.png) [@Zakkor](https://discourse.cataclysmdda.org/u/Zakkor)
#### Post date: [September 22, 2014, 4:15pm UTC](https://discourse.cataclysmdda.org/t/having-issues-compiling-with-cmake-on-windows/7427/1 "2014-09-22T16:15:19Z")

</div>

Using the source from the main branch on Windows 7, after having downloaded the additional dependencies from the wiki and placed them into my MinGW root folder as instructed, cmake says it can’t find lua. Here’s a screenshot: [http://puu.sh/bJrjF/2cc6b86580.png](http://puu.sh/bJrjF/2cc6b86580.png)  
It says at the top it only works on linux, how can it be made to work on Windows as well? I’d also like to say I have no idea how to use Cmake, so maybe I’m doing something wrong that’s really obvious and stupid. sorry.  
Oh and the IDE is Clion if that helps.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [September 23, 2014, 3:19pm UTC](https://discourse.cataclysmdda.org/t/having-issues-compiling-with-cmake-on-windows/7427/2 "2014-09-23T15:19:28Z")

</div>

The makefiles and the code::blocks project files are the ones that are frequently used. I’m not confident that the CMake file works.
