NVIDIA-Omniverse / PhysX

NVIDIA PhysX SDK
BSD 3-Clause "New" or "Revised" License
2.54k stars 361 forks source link

PhysXFoundation_64.dll was not found #292

Closed mishaBogdanov closed 3 months ago

mishaBogdanov commented 3 months ago

Hello, I'm using visual studio 2022 to link to physX. here are all the settings I've changed:

image image image image the .dll seems to be there in my checked folder: image the code that's giving me issues is

PxDefaultErrorCallback gErrorCallback;

without it my code compiles.

below is the error that I get when I try to run:

image

all other visual studio settings should be at default, as I reset them all in attempt to fix this issue. my steps to get to this point are

Any help appreciated, Thanks!!

vreutskyy commented 3 months ago

Hi @mishaBogdanov Did you try to copy PhysX DLLs next to your project's executable? I mean the folder your EXE file is in.

mishaBogdanov commented 3 months ago

Thank-you so much, this fixed all my issues.