wongfei / ue4-mediapipe-plugin

UE4 MediaPipe plugin
Apache License 2.0
294 stars 99 forks source link

Cannot Compile UE5 Pre2 #29

Closed fpibbs closed 2 years ago

fpibbs commented 2 years ago

Cannot Compile UE5 Pre2 + VS2019 The message I receive, while compiling (generated a new vs sln):

Gravità Codice  Descrizione Progetto    File    Riga    Stato eliminazione
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Avviso  C4996   'UTexture::Resource': Use GetResource() / SetResource() accessors instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.  MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\DynamicTexture.cpp  95  
Avviso  C4996   'UTexture::Resource': Use GetResource() / SetResource() accessors instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.  MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\DynamicTexture.cpp  98  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  C2440   'inizializzazione': impossibile convertire da 'const T *' a 'const float *' MediaPipeDemo   C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\Plugins\MediaPipe\Source\MediaPipe\Private\MediaPipeShared.h   84  
Errore  MSB3073 uscita dal comando ""E:\Epic Games\UE_5.0\Engine\Build\BatchFiles\Rebuild.bat" MediaPipeDemoEditor Win64 Development -Project="C:\Users\dev\Desktop\ue4-mediapipe-plugin-master-ue5\MediaPipeDemo.uproject" -WaitMutex -FromMsBuild" con codice -1. MediaPipeDemo   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets  51  
wongfei commented 2 years ago

https://github.com/wongfei/ue4-mediapipe-plugin/commit/d904e08c2ffdbfc3c42868e68765b6902a17e521