# Cannot open input file 'cinder-v140.lib'

**URL:** <https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461>\
**Category:** Using Cinder\
**Created:** [December 26, 2016, 9:30am UTC](https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461 "2016-12-26T09:30:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Calx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/calx/32/251_2.png) [@Calx](https://discourse.libcinder.org/u/Calx)\
**Post date:** [December 26, 2016, 9:30am UTC](https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461/1 "2016-12-26T09:30:43Z")

</div>

Hi all,

I’ve built cinder using the 140 tools from VS2015 Pro.  
When I try and build my project that uses cinder the linker is complaining:

LINK : fatal error LNK1181: cannot open input file ‘cinder-v140.lib’

but the only file I have is

Cinder\lib\msw\x86\Release\v140\cinder.lib

Can anyone point out what I’m doing wrong - I’m using the same VS Project successfully in two other locations and have setup the project the same way as far as I can tell.

Any help appreciated.

Dave

---

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [December 26, 2016, 9:58am UTC](https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461/2 "2016-12-26T09:58:11Z")

</div>

Hi,

I assume you’re using the latest `master` branch? Have a look at [this post](http://discourse.libcinder.org/t/rfc-android-linux-merge/451): very recently the location of the `lib` files were changed. Chances are your project settings need to be updated, specifically the linker settings for your libraries and additional directories.

-Paul

---

<div class="post-metadata">

**Author:** ![Calx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/calx/32/251_2.png) [@Calx](https://discourse.libcinder.org/u/Calx)\
**Post date:** [December 27, 2016, 11:05am UTC](https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461/4 "2016-12-27T11:05:41Z")

</div>

That’s exactly what I was after, thanks appreciate the help - I decided it was best to rebuild and start a new project in the end, and cloned the latest master branch. Cinder now won’t build at all the first error being:

`Error C2027 use of undefined type 'std::basic_ofstream<char,std::char_traits<char>>' cinder c:\dev\cinder\src\cinder\utilities.cpp 104`

followed by:

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

I’m completely stumped. All i’ve done is recursive clone, and build the 2013 project (after conversion)

And this is what I get - any help greatly appreciated.

Cheers

Dave

---

<div class="post-metadata">

**Author:** ![Calx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/calx/32/251_2.png) [@Calx](https://discourse.libcinder.org/u/Calx)\
**Post date:** [December 27, 2016, 11:26am UTC](https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461/5 "2016-12-27T11:26:21Z")

</div>

The problem is here:

> <https://github.com/cinder/Cinder/blob/f2671877306e2cc1094c2831dfeeb1e7b13b3bb0/src/cinder/Utilities.cpp#L104>

`"incomplete type is now allowed"`

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [December 27, 2016, 1:20pm UTC](https://discourse.libcinder.org/t/cannot-open-input-file-cinder-v140-lib/461/6 "2016-12-27T13:20:10Z")

</div>

I’ve found that vc is a lot more of a sook when it comes to includes than other IDEs / compilers. Can you try explicitly including `<fstream>` in Utilities.cpp and rebuilding cinder?
