Open gbernal opened 7 years ago
Hey, what's the exact log output when compiling the sample project in VS?
Hi, Thanks for the quick response. this the output from VS
1>------ Build started: Project: GSRExample, Configuration: Development_Editor x64 ------
1> Performing full C++ include scan (building a new target)
1> Creating makefile for GSRExampleEditor (no existing makefile)
1> Performing 6 actions (4 in parallel)
1> win.cc
1> serial.cc
1> GSRExample.generated.cpp
1> list_ports_win.cc
1>D:\UnrealProject_D\UnrealGSR\Intermediate\Build\Win64\UE4Editor\Inc\GSRExample\GSRExample.generated.cpp(85): error C2661: 'FCompiledInDefer::FCompiledInDefer': no overloaded function takes 7 arguments
1>D:\UnrealProject_D\UnrealGSR\Intermediate\Build\Win64\UE4Editor\Inc\GSRExample\GSRExample.generated.cpp(119): error C2661: 'FCompiledInDefer::FCompiledInDefer': no overloaded function takes 7 arguments
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(156): error C2039: 'DWORD': is not a member of 'global namespace'' 1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(156): error C2039: 'DWORD': is not a member of '
global namespace''C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(160): error C2039: 'FLOAT': is not a member of 'global namespace'' 1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(156): error C2039: 'DWORD': is not a member of '
global namespace''
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(160): error C2039: 'FLOAT': is not a member of 'global namespace'' 1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(160): error C2039: 'FLOAT': is not a member of '
global namespace''C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(176): error C2039: 'INT': is not a member of 'global namespace'' 1> 1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(177): error C2039: 'UINT': is not a member of '
global namespace''
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(176): error C2039: 'INT': is not a member of 'global namespace''C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(176): error C2039: 'INT': is not a member of '
global namespace''
1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(177): error C2039: 'UINT': is not a member of 'global namespace'' 1> 1>C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(177): error C2039: 'UINT': is not a member of '
global namespace''
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(387): error C2226: syntax error: unexpected type 'INT'C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(387): error C2226: syntax error: unexpected type 'INT'
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(387): error C2226: syntax error: unexpected type 'INT'
1>ERROR : UBT error : Failed to produce item: D:\UnrealProject_D\UnrealGSR\Plugins\NeulogGSR\Binaries\Win64\UE4Editor-NeulogGSR.dll
1> Total build time: 11.23 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ""D:\Program Files\Epic Games\4.12\Engine\Build\BatchFiles\Build.bat" GSRExampleEditor Win64 Development "D:\UnrealProject_D\UnrealGSR\GSRExample.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Unfortunately I don't have access to my Windows box right now to try and repro this. Could you confirm which engine version that log is for, and if it's not 4.13 (the only one I tested this with), could you upload the log for that specifically? Sorry for the vagueness!
I have tried run the example project in 4.12 4.13 4.14
and every time it prompts me to build it manually. I tried to also just move the plugin into a clean project and got same results