jlamarche / UE4-GestureRecognizers

Gesture Recognizers for Unreal Engine 4 implemented as components
28 stars 16 forks source link

Compile errors with UE4.8 #1

Open x00man01d opened 9 years ago

x00man01d commented 9 years ago

Hi, I tried to compile for UE4.8 and it seems that 4.8 is not supported.

error list: /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:9:3: Member initializer 'bGestureBegan' does not name a non-static data member or base class /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:14:29: Out-of-line definition of 'DetectGestures' does not match any declaration in 'UPanGestureRecognizer' /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:18:3: Use of undeclared identifier 'bGestureBegan' /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:38:29: Out-of-line definition of 'GestureFinished' does not match any declaration in 'UPanGestureRecognizer' /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:40:6: Use of undeclared identifier 'bGestureBegan' /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:46:29: Out-of-line definition of 'ResetGesture' does not match any declaration in 'UPanGestureRecognizer' /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/PanGestureRecognizer.cpp:49:2: Use of undeclared identifier 'bGestureBegan' /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/SwipeGestureRecognizer.cpp /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/SwipeGestureRecognizer.cpp:52:43: Use of undeclared identifier 'Engine'; did you mean 'GEngine'? /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/TapGestureRecognizer.cpp /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/TapGestureRecognizer.cpp:31:43: Use of undeclared identifier 'Engine'; did you mean 'GEngine'? /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/GestureRecognizerComponent.cpp /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/GestureRecognizerComponent.cpp:214:2: No member named 'ReceiveInitializeComponent' in 'UActorComponent'; did you mean simply 'ReceiveInitializeComponent'? /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/GestureMathLibrary.cpp /Users/admin/Documents/Unreal Projects/cubes/Source/cubes/Gesture Recognizer Source/GestureMathLibrary.cpp:56:41: Use of undeclared identifier 'UUserInterfaceSettings'

jlamarche commented 8 years ago

I've updated this for 4.8 and turned this into a plugin and rolled it into another repo. You can find the updated version of the code here: https://github.com/martiancraft/Unreal-Engine-4-Plugins