- Installed 4.19 & Visual Studio 2017 with unreal
- Created New Empty Project
- Created AudioCaptureComponent class, says I need to recompile for it to work, and shows me this error below
- Exit unreal, tried rebuilding from explorer via its .uproject, but says it couldn’t be compiled.
What may I be missing to get this working?
CompilerResultsLog: New page: Compilation - Mar 22, 2018, 9:14:37 AM
CompilerResultsLog: Performing full C++ include scan (hot reloading a new target)
CompilerResultsLog: Creating makefile for hot reloading AudioExperiment (no existing makefile)
CompilerResultsLog: Compiling game modules for hot reload
CompilerResultsLog: Parsing headers for AudioExperimentEditor
CompilerResultsLog: Running UnrealHeaderTool “C:\Users\Documents\Test Projects\AudioExperiment\AudioExperiment.uproject” “C:\Users\Documents\Test Projects\AudioExperiment\Intermediate\Build\Win64\AudioExperimentEditor\Development\AudioExperimentEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -Warni
ngsAsErrors -installed
CompilerResultsLog: Reflection code generated for AudioExperimentEditor in 9.2584675 seconds
CompilerResultsLog: Performing 9 actions (9 in parallel)
CompilerResultsLog: [3/9] Resource PCLaunch.rc
CompilerResultsLog: [2/9] Resource ModuleVersionResource.rc.inl
CompilerResultsLog: SharedPCH.Engine.cpp
CompilerResultsLog: MyAudioCaptureComponent.cpp
CompilerResultsLog: AudioExperiment.init.gen.cpp
CompilerResultsLog: MyAudioCaptureComponent.gen.cpp
CompilerResultsLog: AudioExperiment.cpp
CompilerResultsLog: Error: C:\Users\Documents\Test Projects\AudioExperiment\Source\AudioExperiment\Public\MyAudioCaptureComponent.h(15) : error C2248: ‘UAudioCaptureComponent::UAudioCaptureComponent’: cannot access private member declared in class ‘UAudioCaptureComponent’
CompilerResultsLog: Error: D:\Program Files\UE_4.19\Engine\Plugins\Runtime\AudioCapture\Source\AudioCapture\Public\AudioCaptureComponent.h(15) : note: see declaration of ‘UAudioCaptureComponent::UAudioCaptureComponent’
CompilerResultsLog: Error: D:\Program Files\UE_4.19\Engine\Plugins\Runtime\AudioCapture\Source\AudioCapture\Public\AudioCaptureComponent.h(11) : note: see declaration of ‘UAudioCaptureComponent’
CompilerResultsLog: Error: C:\Users\Documents\Test Projects\AudioExperiment\Source\AudioExperiment\Public/MyAudioCaptureComponent.h(15) : error C2248: ‘UAudioCaptureComponent::UAudioCaptureComponent’: cannot access private member declared in class ‘UAudioCaptureComponent’
CompilerResultsLog: Error: D:\Program Files\UE_4.19\Engine\Plugins\Runtime\AudioCapture\Source\AudioCapture\Public\AudioCaptureComponent.h(15) : note: see declaration of ‘UAudioCaptureComponent::UAudioCaptureComponent’
CompilerResultsLog: Error: D:\Program Files\UE_4.19\Engine\Plugins\Runtime\AudioCapture\Source\AudioCapture\Public\AudioCaptureComponent.h(11) : note: see declaration of ‘UAudioCaptureComponent’
CompilerResultsLog: ERROR: UBT ERROR: Failed to produce item: C:\Users\Documents\Test Projects\AudioExperiment\Binaries\Win64\UE4Editor-AudioExperiment.dll
CompilerResultsLog: Total build time: 256.34 seconds (Local executor: 0.00 seconds)
LogMainFrame: MainFrame: Module compiling took 256.840 seconds
LogSlate: Window ‘Message’ being destroyed
LogSlate: Window ‘Add C++ Class’ being destroyed
LogSlate: Took 0.026482 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansMono.ttf’ (77K)
LogEditorViewport: Clicking on Actor (LMB): BP_Sky_Sphere_C (Sky Sphere)
LogSlate: FSceneViewport::OnFocusLost() reason 2