# Build Error: "dll linkage"

**URL:** <https://forums.unrealengine.com/t/build-error-dll-linkage/1202462>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, crash, Physics, Collision, bug-report, editor, CPP, Blueprint, question\
**Created:** [June 17, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/build-error-dll-linkage/1202462 "2023-06-17T19:14:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasontodd2324](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jasontodd2324](https://forums.unrealengine.com/u/jasontodd2324)\
**Post date:** [June 17, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/build-error-dll-linkage/1202462/1 "2023-06-17T19:14:45Z")

</div>

cpp

```auto
// This is the cpp file//

#include "C_DecalTest_1.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#include "Runtime/Engine/Classes/GameFramework/PlayerController.h"
#include "PhysicsEngine/PhysicsSettings.h"
#include "Kismet/GameplayStatics.h"

AC_DecalTest_1::AC_DecalTest_1()
{
	PrimaryActorTick.bCanEverTick = true;

}

void AC_DecalTest_1::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime);

}

bool UGameplayStatics::FindCollisionUV(const struct FHitResult& Hit, int32 UVChannel, FVector2D& UV)
{

}

```

this is the “GameplayStatics DLL” for the function “FindCollisionUV”

```auto
||UFUNCTION(BlueprintPure, Category = Collision)|
|---|---|
||static bool FindCollisionUV(const struct FHitResult& Hit, int32 UVChannel, FVector2D& UV);|

```

![Screenshot 2023-06-17 120923](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/c/bbc6613c2c17df5e337f09aab2572b27c92844e9.png)

I have Support UV from hit result enables, but I still get this error

 ![Screenshot 2023-06-16 200848](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/3/6c357fe7d83756db351ca2bdd330928198eec99e.png)

do any of you guys know what is happening?  
and why it thinks there is inconsistent dll linkage for FindCollisionUV?

---

<div class="post-metadata">

**Author:** ![FrostyJas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frostyjas/32/1194640_2.png) [@FrostyJas](https://forums.unrealengine.com/u/FrostyJas)\
**Post date:** [June 18, 2023, 9:04am UTC](https://forums.unrealengine.com/t/build-error-dll-linkage/1202462/2 "2023-06-18T09:04:55Z")

</div>

Greetings @jasontodd2324

That is a fairly strange error. I’ve saw this specific one worked on in the community before. Here’s a link to [the post](https://forums.unrealengine.com/t/why-do-i-get-error-inconsistent-dll-linkage/433239) where they were discussing it. It seems that they found some solutions. Take a peek and see if this is helpful. If not, we can look into some other things.
