Upon creating a new Synth Component C++ Class in Unreal 4.24, the compiler will fail to compile with a Linker error.
1. Open a new blank C++ Project in Unreal 4.24
2. Right click on your Content Browser->Add New C++ Class.
3. In the C++ Class Wizard, Select show all classes, Search and select SynthComponent
4. Create new Class.
Result: Compile Failed, Please see call stack for log.
Expected: Synth Component would compile successfully.
CompilerResultsLog: Error: MySynthComponent.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Audio::IOscBase::SetFrequency(float)" (__imp_?SetFrequency@IOscBase@Audio@@QEAAXM@Z) referenced in function "public: static void __cdecl UE4Function_Private::TFunctionRefCaller<class <lambda_ba8891f19d073dee9c7d8389d62 76b26>,void __cdecl(void)>::Call(void *)" (?Call@?$TFunctionRefCaller@V<lambda_ba8891f19d073dee9c7d8389d6276b26>@@$$A6AXXZ@UE4Function_Private@@SAXPEAX@Z) CompilerResultsLog: Error: MySynthComponentdfdf.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl Audio::IOscBase::SetFrequency(float)" (__imp_?SetFrequency@IOscBase@Audio@@QEAAXM@Z) CompilerResultsLog: Error: MySynthComponent.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ) referenced in function "public: __cdecl UMySynthComponent::UMySynthComponent(class FObjectInitializer const &)" (??0UMySynthComponent@@QEAA@AEBVFObjectInitializer@@@Z) CompilerResultsLog: Error: MySynthComponentdfdf.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ) CompilerResultsLog: Error: MySynthComponent.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ) CompilerResultsLog: Error: MySynthComponentdfdf.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl Audio::FOsc::FOsc(void)" (__imp_??0FOsc@Audio@@QEAA@XZ) CompilerResultsLog: Error: MySynthComponent.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ) referenced in function "public: virtual __cdecl UMySynthComponent::~UMySynthComponent(void)" (??1UMySynthComponent@@UEAA@XZ) CompilerResultsLog: Error: MySynthComponentdfdf.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ) CompilerResultsLog: Error: MySynthComponent.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ) CompilerResultsLog: Error: MySynthComponentdfdf.gen.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Audio::FOsc::~FOsc(void)" (__imp_??1FOsc@Audio@@UEAA@XZ) CompilerResultsLog: Error: C:\Users\Shaxon\Desktop\MyProject33\Binaries\Win64\UE4Editor-MyProject33-9842.dll : fatal error LNK1120: 3 unresolved externals
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
Delay nodes occasionally don't fire the "Completed" output in a nativized build
I am not able to find world outliner how to enable it?
How to achieve HLSL Multiple Render Target in Material blueprints?
How to convert the datasmith scene file to BluePrint. Create animations in BluePrint.
How does TextureRenderTarget2D get TArray<uint8> type data?
How does UMG set overlapping layouts?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-86056 in the post.
4 |
Component | UE - Audio |
---|---|
Affects Versions | 4.24, 4.25 |
Target Fix | 4.25 |
Created | Dec 19, 2019 |
---|---|
Resolved | Jan 7, 2020 |
Updated | Dec 1, 2020 |
6488 - projectgheist |