# Has anybody tried using CLion to build Cinder?

**URL:** https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120
**Category:** Developing Cinder
**Created:** [April 3, 2018, 1:12am UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120 "2018-04-03T01:12:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![no\_other\_alias](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/no_other_alias/32/553_2.png) [@no\_other\_alias](https://discourse.libcinder.org/u/no_other_alias)
#### Post date: [April 3, 2018, 1:12am UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120/1 "2018-04-03T01:12:59Z")

</div>

Hi guys.

Anybody tried using CLion to build Cinder?

A

---

<div class="post-metadata">

### Author: ![nay](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@nay](https://discourse.libcinder.org/u/nay)
#### Post date: [April 3, 2018, 5:34am UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120/2 "2018-04-03T05:34:07Z")

</div>

hey man this should work out of the box on osx and linux for cinder and projects. I don’t know if anyone has had luck on windows although I did notice that you can now build cinder using cmake on windows when sussing out this exciting pull request for gstreamer video playback on win:

> <https://github.com/cinder/Cinder/pull/1947>

---

<div class="post-metadata">

### Author: ![no\_other\_alias](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/no_other_alias/32/553_2.png) [@no\_other\_alias](https://discourse.libcinder.org/u/no_other_alias)
#### Post date: [April 3, 2018, 9:15pm UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120/3 "2018-04-03T21:15:46Z")

</div>

Android NDK on windows has come on a lot bit it’s still a bit of a PITA. Might be worth revisiting though - the IDE has moved on loads.

---

<div class="post-metadata">

### Author: ![bowsamic](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@bowsamic](https://discourse.libcinder.org/u/bowsamic)
#### Post date: [June 3, 2018, 3:17pm UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120/4 "2018-06-03T15:17:54Z")

</div>

I use CLion to build Cinder on macOS. It’s really easy, here’s my CMakeLists.txt:

No other configuration was needed for me, all completion and intellisense works perfectly

```
cmake_minimum_required(VERSION 3.10)
project(cinder)

set(CMAKE_CXX_STANDARD 14)

get_filename_component( CINDER_PATH "~/cinder_master" ABSOLUTE )

include( "${CINDER_PATH}/proj/cmake/modules/cinderMakeApp.cmake" )

ci_make_app(
        APP_NAME "CinderExample"
        CINDER_PATH ${CINDER_PATH}
        SOURCES main.cpp
)
```

---

<div class="post-metadata">

### Author: ![oxcarh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/oxcarh/32/849_2.png) [@oxcarh](https://discourse.libcinder.org/u/oxcarh)
#### Post date: [July 7, 2020, 7:00pm UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120/5 "2020-07-07T19:00:36Z")

</div>

I am new to CMake and and C++ in general. I followed your instructions but I found an error I can’t solve. There seems to be a unmatched reference.

CMake Error at /Users/oscar/Code/tools/cinder\_0.9.2\_mac/proj/cmake/modules/cinderMakeApp.cmake:78 (find\_package):  
Could not find a package configuration file provided by “cinder” with any  
of the following names:

```
cinderConfig.cmake
cinder-config.cmake

```

Add the installation prefix of “cinder” to CMAKE\_PREFIX\_PATH or set  
“cinder\_DIR” to a directory containing one of the above files. If “cinder”  
provides a separate development package or SDK, be sure it has been  
installed.

---

<div class="post-metadata">

### Author: ![gabor\_papp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/gabor_papp/32/769_2.png) [@gabor\_papp](https://discourse.libcinder.org/u/gabor_papp)
#### Post date: [July 8, 2020, 5:49am UTC](https://discourse.libcinder.org/t/has-anybody-tried-using-clion-to-build-cinder/1120/6 "2020-07-08T05:49:17Z")

</div>

Are you building your own application that does not find Cinder? Did you build Cinder?  
If you did not first build Cinder then try to build your app. Make sure the build type (Debug or Release) matches.
