# Filesystem::copy\_file linker error in Xcode 8

**URL:** <https://discourse.libcinder.org/t/filesystem-copy-file-linker-error-in-xcode-8/299>\
**Category:** Uncategorized\
**Created:** [October 3, 2016, 2:07pm UTC](https://discourse.libcinder.org/t/filesystem-copy-file-linker-error-in-xcode-8/299 "2016-10-03T14:07:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperRockG](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SuperRockG](https://discourse.libcinder.org/u/SuperRockG)\
**Post date:** [October 3, 2016, 2:07pm UTC](https://discourse.libcinder.org/t/filesystem-copy-file-linker-error-in-xcode-8/299/1 "2016-10-03T14:07:23Z")

</div>

Hi,

There is a linker error undefined symbols for architecture x86\_64 when using copy\_file in cinder 0.9.1.  
I think the boost lib filesystem need to be updated to the one with the fix. This is a recent issue for me, since i updated by macOS and Xcode.

Here is the relevant bug ticket. [https://svn.boost.org/trac/boost/ticket/10038](https://svn.boost.org/trac/boost/ticket/10038)

---

<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:** [October 3, 2016, 2:23pm UTC](https://discourse.libcinder.org/t/filesystem-copy-file-linker-error-in-xcode-8/299/2 "2016-10-03T14:23:25Z")

</div>

Looks like this was a bug in v1.56, fixed in v1.57. Cinder is built against v1.58. Are you sure you’re using the correct boost version? As a reminder: after cloning Cinder’s github repository, don’t forget to update the submodules. That way you’ll have the correct version of boost as well.

---

<div class="post-metadata">

**Author:** ![SuperRockG](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SuperRockG](https://discourse.libcinder.org/u/SuperRockG)\
**Post date:** [October 3, 2016, 4:04pm UTC](https://discourse.libcinder.org/t/filesystem-copy-file-linker-error-in-xcode-8/299/3 "2016-10-03T16:04:51Z")

</div>

Ah ok, just checked cinder github and my boost is still on 1.53 for some reason. Will remember to update sub-modules. Thanks.
