# Cygwin compiling problem with most recent build

**URL:** <https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030>\
**Category:** The Garage\
**Created:** [June 30, 2013, 11:07pm UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030 "2013-06-30T23:07:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![derpro](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@derpro](https://discourse.cataclysmdda.org/u/derpro)\
**Post date:** [June 30, 2013, 11:07pm UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/1 "2013-06-30T23:07:01Z")

</div>

I’ve never really had any problems using git pull, make clean, and make before this build

* * *

![](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/9d6fede8b92da9892e43ccea6303f7f0147673c5.gif)

---

<div class="post-metadata">

**Author:** ![Justice](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Justice](https://discourse.cataclysmdda.org/u/Justice)\
**Post date:** [June 30, 2013, 11:38pm UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/2 "2013-06-30T23:38:08Z")

</div>

Try running [tt]make clean[/tt], then [tt]make[/tt].

---

<div class="post-metadata">

**Author:** ![derpro](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@derpro](https://discourse.cataclysmdda.org/u/derpro)\
**Post date:** [June 30, 2013, 11:52pm UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/3 "2013-06-30T23:52:47Z")

</div>

even after deleting the cataclysm directory and doing a completely clean pull from git I still get the same error. I even went so far as to deleting my entire cygwin folder and redownloading absolutely everything again. No dice. Everything is fine until the end.

---

<div class="post-metadata">

**Author:** ![Justice](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Justice](https://discourse.cataclysmdda.org/u/Justice)\
**Post date:** [July 1, 2013, 12:01am UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/4 "2013-07-01T00:01:14Z")

</div>

> [@derpro](#):
>
> even after deleting the cataclysm directory and doing a completely clean pull from git I still get the same error. I even went so far as to deleting my entire cygwin folder and redownloading absolutely everything again. No dice. Everything is fine until the end.

Understood, but your image clearly shows a [tt]make[/tt] using objects that already exist, and not building them from scratch.

Anyway, when you reinstalled Cygwin you didn’t include all the required libraries. That’s where the current error ([tt]-liconv[/tt]) is coming from. You’ll need to run setup.exe again and select the library.

Edit: I should have read the error closer.

---

<div class="post-metadata">

**Author:** ![Justice](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Justice](https://discourse.cataclysmdda.org/u/Justice)\
**Post date:** [July 1, 2013, 12:26am UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/5 "2013-07-01T00:26:06Z")

</div>

> [@derpro](#):
>
> I’ve never really had any problems using git pull, make clean, and make before this build

Two new libraries were added in a recently merged [pull request](https://github.com/CleverRaven/Cataclysm-DDA/pull/1834). Your install of Cygwin didn’t have these, so that’s why the compiles started failing.

---

<div class="post-metadata">

**Author:** ![derpro](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@derpro](https://discourse.cataclysmdda.org/u/derpro)\
**Post date:** [July 1, 2013, 12:46am UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/6 "2013-07-01T00:46:07Z")

</div>

forgive my retardedness, but beside what Darkling has posted in his guide on compiling in cygwin, I’m completely lost as to what additional libraries need to be added even after seeing what you posted.

---

<div class="post-metadata">

**Author:** ![utunnels](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/utunnels/32/81_2.png) [@utunnels](https://discourse.cataclysmdda.org/u/utunnels)\
**Post date:** [July 1, 2013, 1:19am UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/7 "2013-07-01T01:19:55Z")

</div>

Perhaps you need to isntall libintl and libiconv for cygwin.

Run setup in cygwin folder.

---

<div class="post-metadata">

**Author:** ![derpro](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@derpro](https://discourse.cataclysmdda.org/u/derpro)\
**Post date:** [July 1, 2013, 2:01am UTC](https://discourse.cataclysmdda.org/t/cygwin-compiling-problem-with-most-recent-build/2030/8 "2013-07-01T02:01:04Z")

</div>

And that did it. I appreciate your help. Darkling is probably going to need to update his locked thread to prevent more posts like mine.
