# RFC: android\_linux merge

**URL:** https://discourse.libcinder.org/t/rfc-android-linux-merge/451
**Category:** Developing Cinder
**Created:** [December 19, 2016, 12:16am UTC](https://discourse.libcinder.org/t/rfc-android-linux-merge/451 "2016-12-19T00:16:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![andrewfb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/andrewfb/32/2_2.png) [@andrewfb](https://discourse.libcinder.org/u/andrewfb)
#### Post date: [December 19, 2016, 12:16am UTC](https://discourse.libcinder.org/t/rfc-android-linux-merge/451/1 "2016-12-19T00:16:43Z")

</div>

I’m glad to announce we’re ready to merge the long-running `android_linux` branch into `master`. The first step is this RFC.

As the name would imply, the emphasis of this branch has been to introduce initial support for Cinder on both Linux and Android. In addition, this branch introduces preliminary support for building Cinder using CMake.

Immediately relevant, independent of what platform you’re working with, is that this branch requires modification of a couple of settings in existing projects. In particular, the Cinder static library has been relocated to simplify linker settings overall.

Formerly on macOS, the Cinder static library has lived at `lib/libcinder_d.a` and `lib/libcinder.a` for Debug and Release configurations respectively. Now, it is located at `lib/macosx/{Debug|Release}/libcinder.a`. This allows projects to use the `$(CONFIGURATION)` build setting to distinguish between Debug and Release configurations.

To update your Xcode project, set _Other Linker Flags_ build setting should now be:  
`"$(CINDER_PATH)/lib/macosx/$(CONFIGURATION)/libcinder.a"` for both configurations.

 ![](https://canada1.discourse-cdn.com/flex030/uploads/libcinder/original/1X/b4ade6f6e7d8838627278f9447f3c5538ad11d30.png)

A similar change is required on MSW, where the Cinder static library has previously lived at `lib/cinder-{v120|v140}_d.lib` and `lib/cinder-{v120|v140}.lib` for Debug and Release configurations respectively. Now, it is located at `lib\msw\{x86|x64}\{Debug|Release}\{v120|v140}\cinder.lib`. This change allows projects to use the same build setting independent of platform toolset, configuration, and architecture.

To update your Visual C++ project, set _Additional Library Directories_ under _Linker | General_ to `<Path To Cinder>\lib\msw\$(PlatformTarget);<Path To Cinder>\lib\msw\$(PlatformTarget)\$(Configuration)\$(PlatformToolset)\`

 ![](https://canada1.discourse-cdn.com/flex030/uploads/libcinder/original/1X/d8312a7731fbc4b34984f660325d1184ea5c5b9e.png)

You’ll also find that the Xcode and VC projects for Cinder itself are now located in a `proj/` directory at the root of the Cinder repository.

In addition, if you’d like to start to experiment with Android, Linux, or CMake ahead of this merge, please refer to [this archived post](https://forum.libcinder.org/topic/rfc-cinder-for-android-and-linux) for Android & Linux, and [this post](http://discourse.libcinder.org/t/rfc-cross-platform-cmake-support/102) for CMake.

Barring anything unanticipated being discovered by this RFC, we’ll plan to merge this branch into `master` in the coming week.

-Andrew

---

<div class="post-metadata">

### Author: ![lab101](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lab101/32/583_2.png) [@lab101](https://discourse.libcinder.org/u/lab101)
#### Post date: [December 22, 2016, 1:19pm UTC](https://discourse.libcinder.org/t/rfc-android-linux-merge/451/2 "2016-12-22T13:19:34Z")

</div>

Wauw thats some exiting news, I always avoided these Linux branches because I thought they would be very hackish.  
I think Linux a perfect host for large scale long running installations which are often done with Cinder.

---

<div class="post-metadata">

### Author: ![hurpyderpy](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@hurpyderpy](https://discourse.libcinder.org/u/hurpyderpy)
#### Post date: [December 23, 2016, 1:45am UTC](https://discourse.libcinder.org/t/rfc-android-linux-merge/451/3 "2016-12-23T01:45:47Z")

</div>

Wow Andrew, what a great Christmas present! I’ve looked forward to seeing this happen for years now. Thanks so much to you and Hai and all the other great ppl for making this happen. 😄

_I, for one, welcome our new Cinder overlords._

---

<div class="post-metadata">

### Author: ![andrewfb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/andrewfb/32/2_2.png) [@andrewfb](https://discourse.libcinder.org/u/andrewfb)
#### Post date: [December 23, 2016, 4:10am UTC](https://discourse.libcinder.org/t/rfc-android-linux-merge/451/4 "2016-12-23T04:10:14Z")

</div>

OK - this is merged now.

If you’re tracking with the `master` branch, you’ll want to:

```auto
git pull
git submodule update

```

and then rebuild Cinder. Please note that the Cinder projects are now in `proj/xcode` and `proj/vc2013`.

We’ll do proper documentation and release notes before releasing 0.9.1. Thanks to everyone who contributed to this significant new set of features. One of the most gratifying things for me personally is seeing what a team effort Cinder releases are these days. The credit roll on this one is too long to enumerate here, but thanks again to everybody whose donated time and expertise made this work possible.

-Andrew

---

<div class="post-metadata">

### Author: ![vinjn](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/vinjn/32/44_2.png) [@vinjn](https://discourse.libcinder.org/u/vinjn)
#### Post date: [December 23, 2016, 7:03am UTC](https://discourse.libcinder.org/t/rfc-android-linux-merge/451/5 "2016-12-23T07:03:33Z")

</div>

Merry Xmas!  
Time for cross-platform happiness!
