UEVideoRecorder icon indicating copy to clipboard operation
UEVideoRecorder copied to clipboard

On compilation of 4.20

Open king1107955613 opened this issue 7 years ago • 2 comments

I tried to compile the plug-in on 4.20, but the following problems occurred. I don't know how to solve it. default

king1107955613 avatar Nov 12 '18 02:11 king1107955613

1>------ Rebuild All started: Project: test0, Configuration: Development_Editor x64 ------ 1>Cleaning test0Editor Binaries... 1>Creating makefile for test0Editor (no existing makefile) 1>Performing full C++ include scan (no include cache file) 1>Using Visual Studio 2017 14.15.26726 toolchain (D:\VS2017\VC\Tools\MSVC\14.15.26726) and Windows 10.0.17134.0 SDK (C:\Program Files (x86)\Windows Kits\10). 1>Parsing headers for test0Editor 1> Running UnrealHeaderTool "E:\test0\test0.uproject" "E:\test0\Intermediate\Build\Win64\test0Editor\Development\test0Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed 1>Reflection code generated for test0Editor in 9.2097287 seconds 1>Building 13 actions with 20 processes... 1> [1/13] PCLaunch.rc 1> [2/13] PCLaunch.rc 1> [3/13] SharedPCH.Engine.cpp 1> [4/13] test0.cpp 1> [5/13] test0.init.gen.cpp 1> [6/13] test0GameModeBase.cpp 1> [7/13] test0GameModeBase.gen.cpp 1> [8/13] UE4Editor-test0.lib 1> Creating library E:\test0\Intermediate\Build\Win64\UE4Editor\Development\test0\UE4Editor-test0.lib and object E:\test0\Intermediate\Build\Win64\UE4Editor\Development\test0\UE4Editor-test0.exp 1> [9/13] UE4Editor-test0.dll 1> Creating library E:\test0\Intermediate\Build\Win64\UE4Editor\Development\test0\UE4Editor-test0.suppressed.lib and object E:\test0\Intermediate\Build\Win64\UE4Editor\Development\test0\UE4Editor-test0.suppressed.exp 1> [10/13] Module.UEVideoRecorder.gen.cpp 1>D:\boost_1_68_0\boost/iostreams/positioning.hpp(96): warning C4996: 'std::fpos<_Mbstatet>::seekpos': warning STL4019: The member std::fpos::seekpos() is non-Standard, and is preserved only for compatibility with workarounds for old versions of Visual C++. It will be removed in a future release, and in this release always returns 0. Please use standards-conforming mechanisms to manipulate fpos, such as conversions to and from streamoff, or an integral type, instead. If you are receiving this message while compiling Boost.IOStreams, a fix has been submitted upstream to make Boost use standards-conforming mechanisms, as it does for other compilers. You can define _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING to acknowledge that you have received this warning, or define _REMOVE_FPOS_SEEKPOS to remove std::fpos::seekpos entirely. 1> D:\VS2017\VC\Tools\MSVC\14.15.26726\INCLUDE\iosfwd(59): note: see declaration of 'std::fpos<_Mbstatet>::seekpos' 1>D:\boost_1_68_0\boost/throw_exception.hpp(3): error C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/throw_exception.hpp(3): error C4668: 'GNUC_MINOR' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/exception/exception.hpp(8): error C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/exception/exception.hpp(8): error C4668: 'GNUC_MINOR' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/iostreams/detail/resolve.hpp(68): error C4668: 'BOOST_IOSTREAMS_GCC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\UEVideoRecorder\VideoRecorder\VideoRecorder\include\VideoRecorder.h(171): warning C4265: 'CVideoRecorder::CFrame': class has virtual functions, but destructor is not virtual 1> instances of this class may not be destructed correctly 1> [11/13] Module.UEVideoRecorder.cpp 1>D:\boost_1_68_0\boost/iostreams/positioning.hpp(96): warning C4996: 'std::fpos<_Mbstatet>::seekpos': warning STL4019: The member std::fpos::seekpos() is non-Standard, and is preserved only for compatibility with workarounds for old versions of Visual C++. It will be removed in a future release, and in this release always returns 0. Please use standards-conforming mechanisms to manipulate fpos, such as conversions to and from streamoff, or an integral type, instead. If you are receiving this message while compiling Boost.IOStreams, a fix has been submitted upstream to make Boost use standards-conforming mechanisms, as it does for other compilers. You can define _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING to acknowledge that you have received this warning, or define _REMOVE_FPOS_SEEKPOS to remove std::fpos::seekpos entirely. 1> D:\VS2017\VC\Tools\MSVC\14.15.26726\INCLUDE\iosfwd(59): note: see declaration of 'std::fpos<_Mbstatet>::seekpos' 1>D:\boost_1_68_0\boost/throw_exception.hpp(3): error C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/throw_exception.hpp(3): error C4668: 'GNUC_MINOR' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/exception/exception.hpp(8): error C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/exception/exception.hpp(8): error C4668: 'GNUC_MINOR' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\boost_1_68_0\boost/iostreams/detail/resolve.hpp(68): error C4668: 'BOOST_IOSTREAMS_GCC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' 1>D:\UEVideoRecorder\VideoRecorder\VideoRecorder\include\VideoRecorder.h(171): warning C4265: 'CVideoRecorder::CFrame': class has virtual functions, but destructor is not virtual 1> instances of this class may not be destructed correctly 1>E:\test0\Plugins\UEVideoRecorder-master\Source\UEVideoRecorder\Private\VideoRecordGameViewportClient.cpp(26): warning C4003: not enough arguments for function-like macro invocation 'DECL_MEMBER_FUNCTION_TRAITS' 1>E:\test0\Plugins\UEVideoRecorder-master\Source\UEVideoRecorder\Private\VideoRecordGameViewportClient.cpp(266): warning C4238: nonstandard extension used: class rvalue used as lvalue 1>D:\Epic Games\UE_4.20\Engine\Source\Runtime\Core\Public\Logging/LogMacros.h(47): error C2338: Formatting string must be a TCHAR array. 1> E:\test0\Plugins\UEVideoRecorder-master\Source\UEVideoRecorder\Private\VideoRecordGameViewportClient.cpp(122): note: see reference to function template instantiation 'void FMsg::Logf<const _Elem*,>(const ANSICHAR ,int32,const FName &,ELogVerbosity::Type,const FmtType &)' being compiled 1> with 1> [ 1> _Elem=wchar_t, 1> FmtType=const wchar_t * 1> ] 1> E:\test0\Plugins\UEVideoRecorder-master\Source\UEVideoRecorder\Private\VideoRecordGameViewportClient.cpp(145): note: see reference to function template instantiation 'void Logger<true,void>::Log<const char(&)[105],int,FName,ELogVerbosity::Type&,const _Elem>(const char (&)[105],int &&,FName &&,ELogVerbosity::Type &,const _Elem &&)' being compiled 1> with 1> [ 1> _Elem=wchar_t 1> ] 1> E:\test0\Plugins\UEVideoRecorder-master\Source\UEVideoRecorder\Private\VideoRecordGameViewportClient.cpp(145): note: see reference to function template instantiation 'void Logger<true,void>::Log<const char(&)[105],int,FName,ELogVerbosity::Type&,const _Elem>(const char (&)[105],int &&,FName &&,ELogVerbosity::Type &,const _Elem *&&)' being compiled 1> with 1> [ 1> _Elem=wchar_t 1> ] 1>UnrealBuildTool : error : UBT ERROR: Failed to produce item: E:\test0\Plugins\UEVideoRecorder-master\Binaries\Win64\UE4Editor-UEVideoRecorder.dll 1> (see ../Programs/UnrealBuildTool/Log.txt for full exception trace) 1>Total build time: 48.97 seconds (Parallel executor: 0.00 seconds) 1>D:\VS2017\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(49,5): error MSB3073: The command ""D:\Epic Games\UE_4.20\Engine\Build\BatchFiles\Rebuild.bat" test0Editor Win64 Development "E:\test0\test0.uproject" -WaitMutex -FromMsBuild" exited with code -1. 1>Done building project "test0.vcxproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

king1107955613 avatar Nov 12 '18 02:11 king1107955613

Fixed in v2.3 for UE 4.23.1, presumably should work with 4.20 too.

ash3D avatar Nov 08 '19 13:11 ash3D