# Unresolved external symbol FSpriteDrawCallRecord::BuildFromSprite(class UPaperSprite const \*)

**URL:** <https://forums.unrealengine.com/t/unresolved-external-symbol-fspritedrawcallrecord-buildfromsprite-class-upapersprite-const/354182>\
**Category:** Asset Creation\
**Tags:** unreal-engine, question, CPP, linking-error\
**Created:** [April 14, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/unresolved-external-symbol-fspritedrawcallrecord-buildfromsprite-class-upapersprite-const/354182 "2016-04-14T16:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grisevg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grisevg](https://forums.unrealengine.com/u/grisevg)\
**Post date:** [April 14, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/unresolved-external-symbol-fspritedrawcallrecord-buildfromsprite-class-upapersprite-const/354182/1 "2016-04-14T16:08:40Z")

</div>

UE 4.11.1, Windows, Source version.

This code causes a linking error

```
FSpriteDrawCallRecord DrawCall; 
DrawCall.BuildFromSprite(SpriteToSend);

```

And yes, I do have `Paper2D` in the module dependencies. All other Paper2D stuff works just fine, it’s only calling this function causes linker to fail.

EDIT: I’ve fixed the linker error by adding `PAPER2D_API` to`FSpriteDrawCallRecord`: [https://github.com/EpicGames/UnrealEngine/pull/2284](https://github.com/EpicGames/UnrealEngine/pull/2284)

---

<div class="post-metadata">

**Author:** ![grisevg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grisevg](https://forums.unrealengine.com/u/grisevg)\
**Post date:** [January 10, 2017, 10:05am UTC](https://forums.unrealengine.com/t/unresolved-external-symbol-fspritedrawcallrecord-buildfromsprite-class-upapersprite-const/354182/2 "2017-01-10T10:05:41Z")

</div>

Fixed. The PR has been merged.
