Rama
(Rama)
June 15, 2015, 5:59am
956
@ - I’m getting these errors when I try and compile the 4.8 plugin:
As far as I can tell the methods do exist. I’ve tried cleaning, rebuilding etc. is with the launcher engine rather than a Github one.
1>------ Rebuild started: Project: OceanProject, Configuration: DebugGame_Editor x64 ------
2>------ Skipped Rebuild : Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>Project not selected to build for solution configuration
1> Cleaning OceanProjectEditor Binaries...
1> Parsing headers for OceanProjectEditor
1> Reflection code generated for OceanProjectEditor
1> Performing 47 actions (4 in parallel)
1> PCH.VictoryEdEngine.VictoryEdEnginePCH.h.cpp
1> PCH.OceanPlugin.OceanPluginPrivatePCH.h.cpp
1> PCH.OceanProject.OceanProject.h.cpp
1> PCH.VictoryBPLibrary.VictoryBPLibraryPrivatePCH.h.cpp
1> DummyPackagedBuildClass.cpp
1> OceanPlugin.generated.cpp
1> CustomVehicleController.cpp
1> TerrainGenerationWorker.cpp
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\OceanPlugin\Source\OceanPlugin\Private\Terrain\TerrainGenerationWorker.cpp(31): warning C4996: 'FRunnableThread::Create': Function deprecated. Use FRunnableThread::Create without bAutoDeleteSelf and bAutoDeleteRunnable params and delete thread and runnable manually. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1> C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(263) : see declaration of 'FRunnableThread::Create'
1> ProceduralTerrain.cpp
1> BuoyantDestructible.cpp
1> FlockFish.cpp
1> FishState.cpp
1> FishManager.cpp
1> MarchingCubes.cpp
1> VictoryBPLibrary.generated.cpp
1> VictoryPC.cpp
1> TKMathFunctionLibrary.cpp
1> VictoryBPFunctionLibrary.cpp
1> VictoryEdEngine.cpp
1>C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Slate\Public\Slate.h(5): warning C4996: including Slate.h is deprecated. Please include SlateBasics.h and then individual widget headers instead.
1> VictoryEdEngine.generated.cpp
1> VictoryEdAlignMode.cpp
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryEdEngine\Private\VictoryEdAlignMode.cpp(484): error C2039: 'LineTraceSingleByChannel' : is not a member of 'UWorld'
1> C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Classes\Engine/World.h(503) : see declaration of 'UWorld'
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryEdEngine\Private\VictoryEdAlignMode.cpp(853): error C2039: 'LineTraceSingleByChannel' : is not a member of 'UWorld'
1> C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Classes\Engine/World.h(503) : see declaration of 'UWorld'
1> VictoryEdEngineModule.cpp
1> JoyISM.cpp
1> VictoryTMapComp.cpp
1> VictoryISM.cpp
1> VictoryBPLibraryModule.cpp
1> BuoyancyForceComponent.cpp
1> BuoyancyComponent.cpp
1> TerrainMeshComponent.cpp
1> Noise.cpp
1> OceanManager.cpp
1> CustomFunctionLibrary.cpp
1> OceanPlugin.cpp
1> SimplexNoise.cpp
1> OceanProject.cpp
1> [36/47] Resource ModuleVersionResource.rc.inl
1> [37/47] Resource ModuleVersionResource.rc.inl
1> [38/47] Resource ModuleVersionResource.rc.inl
1> [39/47] Resource ModuleVersionResource.rc.inl
1> [40/47] Resource PCLaunch.rc
1> [41/47] Resource PCLaunch.rc
1> [42/47] Resource PCLaunch.rc
1> [43/47] Resource OceanProject.rc
1> [44/47] Link UE4Editor-OceanPlugin-Win64-DebugGame.dll
1> [45/47] Link UE4Editor-OceanProject-Win64-DebugGame.dll
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryBPLibrary\Private\VictoryBPFunctionLibrary.cpp(788): error C2039: 'GetMainAudioDevice' : is not a member of 'UEngine'
1> C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Classes\Engine/Engine.h(535) : see declaration of 'UEngine'
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryBPLibrary\Private\VictoryBPFunctionLibrary.cpp(1127): error C2664: 'T *NewObject<UPrimitiveComponent>(UObject *,UClass *)' : cannot convert argument 2 from 'FName' to 'UClass *'
1> with
1>
1> T=UPrimitiveComponent
1> ]
1> No user-defined-conversion operator available that can perform conversion, or the operator cannot be called
1> Creating library C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Intermediate\Build\Win64\OceanProjectEditor\DebugGame\UE4Editor-OceanProject-Win64-DebugGame.lib and C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Intermediate\Build\Win64\OceanProjectEditor\DebugGame\UE4Editor-OceanProject-Win64-DebugGame.exp
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryBPLibrary\Private\VictoryBPFunctionLibrary.cpp(3841): error C2039: 'GetMainAudioDevice' : is not a member of 'UEngine'
1> C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Classes\Engine/Engine.h(535) : see declaration of 'UEngine'
1> Creating library C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Intermediate\Build\Win64\OceanProjectEditor\DebugGame\Plugins\Dynamic\UE4Editor-OceanPlugin-Win64-DebugGame.lib and C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Intermediate\Build\Win64\OceanProjectEditor\DebugGame\Plugins\Dynamic\UE4Editor-OceanPlugin-Win64-DebugGame.exp
Hi there!
Well the tip off is right here:
C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryEdEngine\Private\VictoryEdAlignMode.cpp(484): error C2039: 'LineTraceSingleByChannel' : is not a member of 'UWorld'
1> C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Classes\Engine/World.h(503) : see declaration of 'UWorld'
1>C:\Users\r\Documents\Unreal Projects\OceanProject 4.8\Plugins\VictoryPlugin\Source\VictoryEdEngine\Private\VictoryEdAlignMode.cpp(853): error C2039: 'LineTraceSingleByChannel' : is not a member of 'UWorld'
LineTraceSingleByChannel is absolutely a function in UWorld in 4.8!
You must not be compiling with 4.8 somehow?
There’s no way the compiler should miss finding LineTraceSingleByChannel !
GetMainAudioDevice is also new in 4.8
I’d recommend doing :
delete intermmediate folder for the plugin and your main project
delete sln,suo,sdf for main project
right click on .uproject, and select switch engine version to 4.8
recompile both main project and plugin
I’ve been compiling just fine in 4.8 and you simply should not be getting told by compiler that functions are missing that are new in 4.8
You could also try compiling for Development Editor 64 just for more test data.
Do keep me updated on your progress with !
[QUOTE=;311109]
Thank you and for the new nodes.
entire BP suite makes working more convenient with every update!
Thank you again for working on !
[/QUOTE]
Woohoo!
Glad you are enjoying my Victory Plug !
:)
:)
:)