I tried build use VSCode with 4.18’s UE4Editor generated .vscode project settings. But, I couldn’t Start Debug
in VSCode. The linker log said “LNK1181: cannot open input file ‘PhysX3CHECKED_x64.lib’”. How can I solve it?
Repro
- Install 4.18.0
- Create a new project
- Open the project with UE4Editor
- UE4Editor: Edit →
Editor Preferences
→ General → Source Code → Accessor → Source Code Editor: change toVisual Studio Code
- UE4Editor: File →
Refresh Visual Studio Code
- Open a C++ class or run VSCode and open the project directory
- VSCode: Debug( Control + Shift + D ): select
<project-name> (Debug)
andStart Debug
Error log example
[1/1] Link SideTest-Win64-Debug.exe
LINK : fatal error LNK1181: cannot open input file 'PhysX3CHECKED_x64.lib'
ERROR: UBT ERROR: Failed to produce item: C:\Users\usagi\tmp\SideTest\Binaries\Win64\SideTest-Win64-Debug.exe
Environment
- Windows 10 x64 ( 10.0.16299.19 )
- VS2017 Community Edition ( 15.4.0 )
- VSCode ( 1.17.2 )