PhysX icon indicating copy to clipboard operation
PhysX copied to clipboard

I can not link physx 5.3.0 library from vcpkg into my project

Open ChivenZhang opened this issue 10 months ago • 2 comments

Library and Version

PhysX v5.3.0 from vcpkg

Operating System

Windows 11, visual studio 2022, v142 toolset

Steps to Trigger Behavior

  1. install physx:x64-windows using vcpkg
  2. link 15 libs into project
  3. compile failed as lnk2019 error

Code Snippet to Reproduce Behavior

image

image

image

image

Expected Behavior

compile pass

Actual Behavior

compile failed

image

ChivenZhang avatar Apr 23 '24 00:04 ChivenZhang

Hi @ChivenZhang - if you follow the instructions here, does it work? https://omni-101.github.io/omniverse/2023/07/07/omniverse-physx-vcpkg-port/

preist-nvidia avatar Apr 25 '24 12:04 preist-nvidia

It does works, Thanks. But I wonder why I can not use physx in ordinary way, just install the library and link it. I remember it worked in version 3.8, but not in version 5.0+.

ChivenZhang avatar Apr 25 '24 13:04 ChivenZhang

Hi @ChivenZhang - sorry we cannot help with linker/build config beyond pointing you to the unofficial vcpkg port docs.

preist-nvidia avatar Jun 13 '24 09:06 preist-nvidia