stride3d / stride

Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
https://stride3d.net
MIT License
6.59k stars 952 forks source link

Xenko.Android.sln does not build on Win 8.1 in Debug or Release #217

Closed aurodev closed 6 years ago

aurodev commented 6 years ago

Release Type: Dev

Version: 3.0.0.6-dev

Platform(s): Windows 8.1

System OS/device including version: Windows 8.1 64bit, 8GB AMD FX 6350 6 core

Graphics Chipset AMD Radeon HD 7700 Series Memory Size 1024 MB Radeon Software Version 17.4.4

Describe the bug Xenko.Android.sln does not build in Debug or Release mode

To Reproduce Install listed prerequisites for building from source. Open Xenko.Android.sln in VS2017 Rebuild all

Expected behavior Xenko.Android.sln should build

Screenshots errors

Workloads installed ndk_installed workloads1 workloads2 workloads3 workloads4 xamarinandroidloc

Log and callstacks

Additional context

Request Anyway we could get a nightly builds server until some of the build issues are sorted out?

aurodev commented 6 years ago

@xen2 @Kryptos-FR

xwellingtonx commented 6 years ago

@aurodev I haven't problem to build on Windows 10 so I think that's something is missing in you computer. Maybe you can try to build only Xenko.Engine and not the solution.

aurodev commented 6 years ago

The Xenko.Android.sln builds on Windows 10, correct?
I will double check/update the Android config on this box and give it yet another go.

aurodev commented 6 years ago

Cleaned Android SDK + NDK Updated Android SDK and NDK, Repaired Visual Studio 2017

The version of NDK is: image But Xenko still throws the error: "Severity Code Description Project File Line Suppression State Error The installed NDK version is outdated, please install a r10+! (C:\Development\AndroidSDK\ndk-bundle) Xenko.Core C:\Users\Greg\Documents\xenko\sources\native\Xenko.Native.targets 205 "

The NDK root folder has a file entitled source.properties which shows: Pkg.Desc = Android NDK Pkg.Revision = 18.0.5002713

Xenko is incorrectly reporting the NDK is outdated when it is not.

aurodev commented 6 years ago

Just for clarification... this is not an active project, so workarounds aren't needed.

The following has been met:

Prerequisites

    Git (recent version that includes LFS, or install Git LFS separately).
    Visual Studio 2017 with the following workloads:

    .NET desktop development
        If your OS is Windows 10: add .NET Framework 4.6.2 development tools in optional components of .NET desktop development
        If your OS is Windows 7: .NET 4.6.2 Developer Pack)
    Desktop development with C++
    .NET Core cross-platform development
    Optional (to target UWP): Universal Windows Platform development
    Optional (to target iOS/Android): Mobile development with .NET and Android NDK R13B+ individual component

    FBX SDK 2019.0 VS2015

If the Xenko.Android.sln does not build on Win 8.1 then perhaps the Building from source instructions need to be modified to require Win 10 or the other requirements neccessary.

Xenko builds just fine for Windows. If building Xenko for Android requires Win 10 then the README.md or docs should state this.

aurodev commented 6 years ago

SOLVED: You must set Options->Xamarin->Android Settings->Android NDK Location to the location of Microsoft's installed NDK.

NOT the AndroidSDK\ndk-bundle