Hey all,
I updated to Unity 5.3.3f1 and upgraded VS2015 with update 1. I’ve also tried Unity 5.3.3p1. The game built just fine before we upgraded.
I have two big problems I’m hitting now:
- Trying to open Package.appxmanifest crashes visual studio
- Trying to build the game results in the compiler errors shown below.
Anyone know anything about this?
Thanks!
1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(120): error C2039: ‘GetFileType’: is not a member of ‘global namespace'' 1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(120): error C2664: 'il2cpp::os::File::FileType il2cpp::os::File::GetFileType(il2cpp::os::FileHandle *)': cannot convert argument 1 from 'HANDLE' to 'il2cpp::os::FileHandle *' 1> C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(120): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast 1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(179): error C2039: 'ReplaceFileW': is not a member of '
global namespace’’
1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(179): error C3861: ‘ReplaceFileW’: identifier not found
1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(309): error C2039: ‘GetFileSizeEx’: is not a member of ‘global namespace'' 1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(309): error C3861: 'GetFileSizeEx': identifier not found 1> 1> 1> 1> Invocation was: Executable: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe" 1> Arguments: /DWIN32 /DWINDOWS /D_UNICODE /DUNICODE /D_CRT_SECURE_NO_WARNINGS /D_WINSOCK_DEPRECATED_NO_WARNINGS /D_NDEBUG /DNDEBUG /DWINAPI_FAMILY=WINAPI_FAMILY_APP /I"C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp" /I"C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\external\boehmgc\include" /I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\shared" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\um" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\winrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\ucrt" /MD /c /bigobj /EHs /W3 /GR- /Zi /Gy /wd4102 /wd4800 /wd4307 /wd4056 /wd4190 /wd4723 /Ox /Oi /Oy- /GS- /Gw /GF /Zo "C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp" /Fd"C:\Builds\Oxenfree\Windows10\build\obj\il2cppOutputProject\Win32\Release\objectfiles\48804DC4C064B7F6DF6ED1F563DAB539.pdb" /Fo"C:\Builds\Oxenfree\Windows10\build\obj\il2cppOutputProject\Win32\Release\objectfiles\48804DC4C064B7F6DF6ED1F563DAB539.obj" 1> EnvArg key: PATH value: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Windows Kits\10\bin\x86 1> 1> at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable
1 sourceFilesToCompile)
1> at Unity.IL2CPP.Building.CppProgramBuilder.Build()
1> at il2cpp.Program.DoRun(String[ ] args)
1> at il2cpp.Program.Run(String[ ] args)
1> at il2cpp.Program.Main(String[ ] args)
1>
1> Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: File.cpp
1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(120): error C2039: ‘GetFileType’: is not a member of ‘global namespace'' 1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(120): error C2664: 'il2cpp::os::File::FileType il2cpp::os::File::GetFileType(il2cpp::os::FileHandle *)': cannot convert argument 1 from 'HANDLE' to 'il2cpp::os::FileHandle *' 1> C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(120): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast 1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(179): error C2039: 'ReplaceFileW': is not a member of '
global namespace’’
1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(179): error C3861: ‘ReplaceFileW’: identifier not found
1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(309): error C2039: ‘GetFileSizeEx’: is not a member of 'global namespace'' 1>C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp(309): error C3861: 'GetFileSizeEx': identifier not found 1> 1> 1> 1> Invocation was: Executable: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe" 1> Arguments: /DWIN32 /DWINDOWS /D_UNICODE /DUNICODE /D_CRT_SECURE_NO_WARNINGS /D_WINSOCK_DEPRECATED_NO_WARNINGS /D_NDEBUG /DNDEBUG /DWINAPI_FAMILY=WINAPI_FAMILY_APP /I"C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp" /I"C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\external\boehmgc\include" /I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\shared" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\um" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\winrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\ucrt" /MD /c /bigobj /EHs /W3 /GR- /Zi /Gy /wd4102 /wd4800 /wd4307 /wd4056 /wd4190 /wd4723 /Ox /Oi /Oy- /GS- /Gw /GF /Zo "C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\libil2cpp\os\Win32\File.cpp" /Fd"C:\Builds\Oxenfree\Windows10\build\obj\il2cppOutputProject\Win32\Release\objectfiles\48804DC4C064B7F6DF6ED1F563DAB539.pdb" /Fo"C:\Builds\Oxenfree\Windows10\build\obj\il2cppOutputProject\Win32\Release\objectfiles\48804DC4C064B7F6DF6ED1F563DAB539.obj" 1> EnvArg key: PATH value: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Windows Kits\10\bin\x86 1> 1> at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable
1 sourceFilesToCompile)
1> at Unity.IL2CPP.Building.CppProgramBuilder.Build()
1> at il2cpp.Program.DoRun(String[ ] args)
1> at il2cpp.Program.Run(String[ ] args)
1> at il2cpp.Program.Main(String[ ] args)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ““C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\IL2CPP\build\il2cpp.exe” --compile-cpp -architecture=x86 -configuration=Release -platform=winrt -outputpath=“C:\Builds\Oxenfree\Windows10\build\bin\Win32\Release\UnityPlayer.dll” -cachedirectory=“C:\Builds\Oxenfree\Windows10\build\obj\il2cppOutputProject\Win32\Release\” -generatedcppdir=“C:\Builds\Oxenfree\Windows10\Il2CppOutputProject\il2cppOutput” -define=WINDOWS_UWP -define=UNITY_UWP -define=UNITY_WSA_10_0 -define=UNITY_WSA -define=UNITY_WINRT --additional-libraries=“C:\Builds\Oxenfree\Windows10\Players\UAP\x86\Release\UnityPlayer.lib,d3d11.lib,d3d12.lib,dxguid.lib,mfuuid.lib,msxml6.lib,vccorlib.lib,dloadhelper.lib” --linker-flags=”/DELAYLOAD:mfplat.dll /DELAYLOAD:mfreadwrite.dll" -verbose" exited with code -532462766.
2>------ Build started: Project: Oxenfree, Configuration: Release Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Application Type\Windows Store\10.0\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(41,5): error : The Windows SDK version (10.0.10586.0) was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting ‘Retarget solution’