I had a tester with VS 2015 run through the steps I failed with, and they were unable to repro. JamesF was able to repro the issue on VS 2017.
JamesF pointed out that this does not occur is you choose to rebuild your project instead of building it when you encounter [Link Removed].
Setup:
Repro:
FirstPersonCameraComponent->RelativeLocation = FVector(-39.50f, 1.75f, 64.f);
and change the 64.f to -64.f
OtherComp->AddImpulseAtLocation(GetVelocity()
and change the float value from 100.0f to 1000.0f. Save the file.
Result:
Compiling fails with Linker errors.
CompilerResultsLog: Info Initializing... CompilerResultsLog: Info --------------------Project: Default------------------------------------------- CompilerResultsLog: Info MyCodeProjectProjectile.cpp (0:00.62 at +0:00) CompilerResultsLog: Info UE4Editor-MyCodeProject-7989.dll (0:00.17 at +0:00) CompilerResultsLog: Info Creating library C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyCodeProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyCodeProject-7989.suppressed.lib and object C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyCodeProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyCodeProject-7989.suppressed.exp CompilerResultsLog:Error: Error MyCodeProjectProjectile.cpp.obj : error LNK2011: precompiled object not linked in; image may not run CompilerResultsLog:Error: Error C:\Users\Michael.Karambelas\Documents\Unreal Projects\MyCodeProject\Binaries\Win64\UE4Editor-MyCodeProject-7989.dll : fatal error LNK1120: 1 unresolved externals CompilerResultsLog: Info CompilerResultsLog: Info Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe (tool returned code: 1120)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-44303 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.16 |
Target Fix | 4.16 |
Created | Apr 24, 2017 |
---|---|
Resolved | Apr 25, 2017 |
Updated | Sep 23, 2019 |