Godot: UWP Build fails (again) -_-

Created on 2 May 2017  路  15Comments  路  Source: godotengine/godot

Operating system or device - Godot version:
Windows 10 x64 - VS2015 x86 x64 Cross Tools Command Prompt

Issue description:

Building ends with these errors

drivers\windows\dir_access_windows.cpp(223): error C3861: 'GetFileAttributesW': identifier not found
drivers\windows\dir_access_windows.cpp(245): error C3861: 'GetFileAttributesW': identifier not found
drivers\windows\dir_access_windows.cpp(285): error C3861: 'GetFileAttributesW': identifier not found

Steps to reproduce:
used command prompt mentioned above and Angle compiler in the documentation but always ends in these errors at the END of building
I tried to use google angle as well (by mistake) and gave same errors at the BEGINNING of the build process

Link to minimal example project:

bug uwp buildsystem

Most helpful comment

You just have to follow the documentation, there is no hidden missing parameter :) http://docs.godotengine.org/en/latest/development/compiling/compiling_for_uwp.html

All 15 comments

What Godot version?

@akien-mga 3.0 alpha
Another question
which one do you suggest me to use? microsoft angle? or google angle?

3.0 alpha

Can you be more specific? Which commit are you compiling?

About the ANGLE version, I don't know, but @vnen would.

this one 5a6ccce97d350011b599e793cea95aa4e7899395 (latest)

Didn't read google ANGLE's readme ... this version supports up to OpenGL ES 3.1 only

You should use the Microsoft fork of Angle (I believe it says so in Godot's
documentation).

I used the x86 compiler when I tested. I'll investigate further when I get
home.

Well, I've built current HEAD (f527a69) just fine using the x86 x64 Cross Tools Command Prompt.

@vnen I looked at the documentation but just to be sure ...
what are the required tools to build godot to uwp platform?

  • SCons
  • Visual Studio 2015 Update 2 or later (VS2017 untested)
  • Windows 10 SDK
  • ANGLE source with the ms-master branch. You can also download a prebuilt version here.

The documentation is more descriptive about it.

@vnen what are the differences between angle and angle 2?

angle-2 is just a newer build.

I tried to set ANGLE_SRC_PATH to ms-master source code path and visual studio compiled both automatically but gave me those errors when compiling godot
Then I tried to use the prebuilt version that you gave me and also gave same errors
I think I'll try again after fixing the renderer

@vnen Hey .. I found this article by chance

compile using a simple scons platform=x11 will result in an error. In fact, you need to use scons platform=x11 builtin_openssl=yes use_llvm=yes

I may did something similar because I use "scons platform=uwp" ... what did I miss in this command?

You just have to follow the documentation, there is no hidden missing parameter :) http://docs.godotengine.org/en/latest/development/compiling/compiling_for_uwp.html

fixed by #8881 (tried only 2017 compilers)
closed

Was this page helpful?
0 / 5 - 0 ratings