# Unresolved external symbol problem

**URL:** <https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403>\
**Category:** Using Cinder\
**Created:** [January 20, 2019, 4:03am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403 "2019-01-20T04:03:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![newzaungo3](https://avatars.discourse-cdn.com/v4/letter/n/b2d939/32.png) [@newzaungo3](https://discourse.libcinder.org/u/newzaungo3)\
**Post date:** [January 20, 2019, 4:03am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403/1 "2019-01-20T04:03:11Z")

</div>

Hello I am newbie in cinder so I was try to show draw image from leapmotion by using cinder  
but when I run it show an error likethis . So how can I solve it I was stuck 2 day haha

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

---

<div class="post-metadata">

**Author:** ![balachandran\_c](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@balachandran\_c](https://discourse.libcinder.org/u/balachandran_c)\
**Post date:** [January 21, 2019, 1:59am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403/2 "2019-01-21T01:59:22Z")

</div>

Hi,

It seems you have not linked to cinder.lib. Did you create your project with Tinderbox?

---

<div class="post-metadata">

**Author:** ![newzaungo3](https://avatars.discourse-cdn.com/v4/letter/n/b2d939/32.png) [@newzaungo3](https://discourse.libcinder.org/u/newzaungo3)\
**Post date:** [January 21, 2019, 7:23am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403/3 "2019-01-21T07:23:03Z")

</div>

> [@balachandran\_c](#):
>
> cinder.lib

so I create a new project by using a Tinderbox and It show this problem

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

---

<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:** [January 21, 2019, 7:41am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403/4 "2019-01-21T07:41:42Z")

</div>

Did you download the precompiled cinder from the website or check it out from github? If the latter, you’ll need to build cinder first. Open the solution `proj/vc2013/cinder.sln` and build. Make sure you’re compiling against the same platform toolset, architecture and configuration that your project will be using. e.g v140, x64, Debug. This will generate the `cinder.lib` files in the correct locations for your project to link against them.

---

<div class="post-metadata">

**Author:** ![newzaungo3](https://avatars.discourse-cdn.com/v4/letter/n/b2d939/32.png) [@newzaungo3](https://discourse.libcinder.org/u/newzaungo3)\
**Post date:** [January 21, 2019, 10:56am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403/5 "2019-01-21T10:56:01Z")

</div>

It work thankyou but I have a little some problem about winmain problem

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/libcinder/original/1X/7278ee1db91e707044ef1578b83451b7b5e9ca55.png)  
when I try to delete CINDER\_APP( CinderProjectApp, RendererGl )  
and create a main function c++ into this so it show a winmain problem  
but I create a project both win32 and x64

---

<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:** [January 21, 2019, 11:10am UTC](https://discourse.libcinder.org/t/unresolved-external-symbol-problem/1403/6 "2019-01-21T11:10:46Z")

</div>

the `CINDER_APP` macro creates the `main` entrypoint for you. Is there any particular reason you need to write a custom `main`? You can do any initialization you need in your app’s overridden `::setup()` method, or if you need code to run prior to instantiating your app, you can pass a function to CINDER\_APP like so:

```cpp

void YourInit ( App::Settings * settings )
{
    // pre-initialization here
}

CINDER_APP( YourApp, RendererGl, YourInit )

```
