View Code? Open in Web Editor
NEW
Nick Darnell's example project from https://forums.unrealengine.com/development-discussion/rendering/75779-smeshwidget-hardware-instanced-slate-meshes-thread?p=710200#post710200
C# 8.61%
C++ 90.53%
C 0.86%
meshwidgetexample's People
Contributors
meshwidgetexample's Issues
I'm getting a compile error while trying to run this project in 4.26.2. Is there a step I'm missing?
Steps to replicate:
git clone the repo
Right click on MeshWidgetExample.uproject and Generate Visual Studio project files
Click OK with 4.26 selected in version drop down
Open MeshWidgetExample.sln in Visual Studio 2017 v15.9.36, wait for all files to be parsed/scanned
Build - Build Solution - This seems to work
Double click MeshWidgetExample.uproject and click 'Yes' to the Would you like to rebuild alert
MeshWidgetExample could not be compiled. Try rebuilding from source manually.
Visual Studio now has 77 errors. Full error log: https://pastebin.com/KVKKFp7x
Here are the first few:
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl SWidget::SWidgetConstruct(class TAttribute const &,class TSharedPtr<class IToolTip,0> const &,class TAttribute<struct TOptional > const &,class TAttribute const &,class TAttribute const &,float,class TAttribute<struct TOptional > const &,class TAttribute const &,class FName const &,bool,enum EWidgetClipping,enum EFlowDirectionPreference,struct TOptional const &,class TArray<class TSharedRef<class ISlateMetaData,0>,class TSizedDefaultAllocator<32> > const &)" (_imp ?SWidgetConstruct@SWidget@@QEAAXAEBV?$TAttribute@VFText@@@@aebv ?$TSharedPtr@VIToolTip@@$0A@@@aebv ?$TAttribute@U?$TOptional@W4Type@EMouseCursor@@@@@@aebv ?$TAttribute@_N@@aebv ?$TAttribute@UEVisibility@@@@MAEBV?$TAttribute@U?$TOptional@VFTransform2D@@@@@@aebv ?$TAttribute@UFVector2D@@@@AEBVFName@@_NW4EWidgetClipping@@W4EFlowDirectionPreference@@AEBU ?$TOptional@UFAccessibleWidgetData@@@@aebv ?$TArray@V?$TSharedRef@VISlateMetaData@@$0A@@@v ?$TSizedDefaultAllocator@$0CA@@@@@@z ) referenced in function "public: class TSharedRef<class SParticleMeshWidget,0> __cdecl TDecl<class SParticleMeshWidget,struct RequiredArgs::T1RequiredArgs<class UParticleWidget &> >::operator<<=(struct SParticleMeshWidget::FArguments const &)const " (??_3?$TDecl@VSParticleMeshWidget@@U ?$T1RequiredArgs@AEAVUParticleWidget@@@RequiredArgs@@@@qeba ?AV?$TSharedRef@VSParticleMeshWidget@@$0A@@@AEBUFArguments@SParticleMeshWidget@@@z ) MeshWidgetExample C:\MeshWidgetExample\Intermediate\ProjectFiles\ParticleWidget.cpp.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: float __cdecl FPaintArgs::GetDeltaTime(void)const " (_imp ?GetDeltaTime@FPaintArgs@@QEBAMXZ) referenced in function "public: virtual int __cdecl SParticleMeshWidget::OnPaint(class FPaintArgs const &,struct FGeometry const &,class FSlateRect const &,class FSlateWindowElementList &,int,class FWidgetStyle const &,bool)const " (?OnPaint@SParticleMeshWidget@@UEBAHAEBVFPaintArgs@@AEBUFGeometry@@AEBVFSlateRect@@AEAVFSlateWindowElementList@@HAEBVFWidgetStyle@@_N@Z) MeshWidgetExample C:\MeshWidgetExample\Intermediate\ProjectFiles\ParticleWidget.cpp.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: static void * __cdecl FSlateControlledConstruction::operator new(unsigned __int64,void *)" (_imp ??2FSlateControlledConstruction@@CAPEAX_KPEAX@Z) referenced in function "class SharedPointerInternals::TIntrusiveReferenceController * __cdecl SharedPointerInternals::NewIntrusiveReferenceController(void)" (??$NewIntrusiveReferenceController@VSParticleMeshWidget@@$$V@SharedPointerInternals@@YAPEAV?$TIntrusiveReferenceController@VSParticleMeshWidget@@@0 @XZ) MeshWidgetExample C:\MeshWidgetExample\Intermediate\ProjectFiles\ParticleWidget.cpp.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static void __cdecl FSlateControlledConstruction::operator delete(void *)" (_imp ??3FSlateControlledConstruction@@SAXPEAX@Z) referenced in function "public: virtual void * __cdecl SParticleMeshWidget::`scalar deleting destructor'(unsigned int)" (??_GSParticleMeshWidget@@UEAAPEAXI@Z) MeshWidgetExample C:\MeshWidgetExample\Intermediate\ProjectFiles\ParticleWidget.cpp.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl SWidget::SetDebugInfo(char const *,char const *,int,unsigned __int64)" (_imp ?SetDebugInfo@SWidget@@QEAAXPEBD0H_K@Z) referenced in function "struct TDecl<class SParticleMeshWidget,struct RequiredArgs::T1RequiredArgs<class UParticleWidget &> > __cdecl MakeTDecl<class SParticleMeshWidget,struct RequiredArgs::T1RequiredArgs<class UParticleWidget &> >(char const *,char const *,int,struct RequiredArgs::T1RequiredArgs<class UParticleWidget &> &&)" (??$MakeTDecl@VSParticleMeshWidget@@U ?$T1RequiredArgs@AEAVUParticleWidget@@@RequiredArgs@@@@ya ?AU?$TDecl@VSParticleMeshWidget@@U ?$T1RequiredArgs@AEAVUParticleWidget@@@RequiredArgs@@@@PEBD0H$$QEAU?$T1RequiredArgs@AEAVUParticleWidget@@@RequiredArgs@@@z ) MeshWidgetExample C:\MeshWidgetExample\Intermediate\ProjectFiles\ParticleWidget.cpp.obj 1
It says it was build for a different version, and it fails to compile.