# Can't access PxVehicleWheels.h functions (LNK2019 ERROR)

**URL:** <https://forums.unrealengine.com/t/cant-access-pxvehiclewheels-h-functions-lnk2019-error/463759>\
**Category:** World Creation\
**Tags:** vehicle, physx, linker-error, unresolved-external-, unreal-engine, Physics, question, CPP\
**Created:** [April 14, 2020, 2:29pm UTC](https://forums.unrealengine.com/t/cant-access-pxvehiclewheels-h-functions-lnk2019-error/463759 "2020-04-14T14:29:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SHADESPIRIT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadespirit/32/552770_2.png) [@SHADESPIRIT](https://forums.unrealengine.com/u/SHADESPIRIT)\
**Post date:** [April 14, 2020, 2:29pm UTC](https://forums.unrealengine.com/t/cant-access-pxvehiclewheels-h-functions-lnk2019-error/463759/1 "2020-04-14T14:29:18Z")

</div>

Dear friends at Epic,  
I’m having a problem calling some functions in the PhysX library. I have all the modules needed (I suppose) called in the build.cs file:

 ![299711-buildcs.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/e/f0ecc570e0b0643cead3bb0620d21c874bb75f93.png)

as well as the includes in the cpp file:

![299712-inlcude.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/5/b7547b00d0788c36455fbbc626d7ba88e82ff713.png)

When I try to call this function for example:

![299713-code.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/8/808578c302cd0dd9f9d750b7e1da82e2e7fbb857.png)

with the correct definition in the header file:

![299714-header.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/e/94e9accba1a5661443cfee373353c5148fbd8bd2.png)

I get this error:  
Error LNK2019 unresolved external symbol “public: void cdecl physx::PxVehicleWheelsSimData::setTireData(unsigned int,class physx::PxVehicleTireData const &)” (?setTireData@PxVehicleWheelsSimData@physx@@QEAAXIAEBVPxVehicleTireData@2@@Z) referenced in function “private: static void cdecl UTireLib::test(class UWheeledVehicleMovementComponent \*,int)” (?test@UTireLib@@CAXPEAVUWheeledVehicleMovementComponent@@H@Z)
