+1 vote

Hello, I am following this guide to compile and export a WinRT export template. I am having a problem during compilation, I'll show you my build process so you can help me if I screwed up.

  1. Open the VS CMD prompt for ARM. The shortcut path is: %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"" x86_arm
  2. Navigate to my godot source and entered: scons -j4 platform=winrt target=release_debug
  3. Wait for compilation. It will fail during the linking phase.
  4. Received this error that there is no online help for:

link /nologo /MACHINE:ARM /MANIFEST:NO /NXCOMPAT /DYNAMICBASE /WINMD /APPCONTAINER /ERRORREPORT:PROMPT /NOLOGO /TLBID:1 /NODEFAULTLIB:"kernel32.lib" /NODEFAULTLIB:"ole32.lib" /SUBSYSTEM:CONSOLE WindowsApp.lib mincore.lib libANGLE.lib libEGL.lib libGLESv2.lib xaudio2_8.lib /OUT:bin\godot.winrt.opt.debug.32.arm.exe "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\store\arm" /LIBPATH:C:\Users\giaco\dev\angle\winrt\10\src\Release_ARM\lib "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\store\references" main\main.winrt.opt.debug.32.arm.lib modules\modules.winrt.opt.debug.32.arm.lib bin\tests\tests.winrt.opt.debug.32.arm.lib drivers\drivers.winrt.opt.debug.32.arm.lib scene\scene.winrt.opt.debug.32.arm.lib servers\servers.winrt.opt.debug.32.arm.lib core\core.winrt.opt.debug.32.arm.lib modules\freetype\freetype_builtin.winrt.opt.debug.32.arm.lib platform\winrt\thread_winrt.winrt.opt.debug.32.arm.obj platform\windows\tcp_server_winsock.winrt.opt.debug.32.arm.obj platform\windows\packet_peer_udp_winsock.winrt.opt.debug.32.arm.obj platform\windows\stream_peer_winsock.winrt.opt.debug.32.arm.obj platform\windows\key_mapping_win.winrt.opt.debug.32.arm.obj platform\winrt\joystick_winrt.winrt.opt.debug.32.arm.obj platform\winrt\gl_context_egl.winrt.opt.debug.32.arm.obj platform\winrt\app.winrt.opt.debug.32.arm.obj platform\winrt\os_winrt.winrt.opt.debug.32.arm.obj Creating library bin\godot.winrt.opt.debug.32.arm.lib and object bin\godot.winrt.opt.debug.32.arm.exp tcp_server_winsock.winrt.opt.debug.32.arm.obj : error LNK2001: unresolved external symbol in6addr_any packet_peer_udp_winsock.winrt.opt.debug.32.arm.obj : error LNK2001: unresolved external symbol in6addr_any bin\godot.winrt.opt.debug.32.arm.exe : fatal error LNK1120: 1 unresolved externals scons: *** [bin\godot.winrt.opt.debug.32.arm.exe] Error 1120 scons: building terminated because of errors.

Only thing I could think of, that I did differently, was that for vcvarsall.bat I could not find just an "arm" architecture target as an argument option so I used x86_arm. I also tried compiling with x64_arm and I get the same error.

in Engine by (21 points)

Seems like the build broke with the recent changes int the code.

Could be or I just did something wrong. I'm reinstalling Visual Studio to try a clean attempt. I noticed that I had multiple versions of the WIndows 10 SDK, I'll see what happens if I use just the oldest version.

No, it's broken indeed, fails for me too (and I was the one who did the port, so...). Anyway, I opened an issue to make people aware: https://github.com/godotengine/godot/issues/7003.

Oh, thanks for checking then, hopefully it can be sorted out. It's also a shame there is no pre-made export template for WinRT.

1 Answer

+2 votes
Best answer

Adding as an answer so other people know: current master is broken for UWP. I opened an issue about it and already send a patch to fix but it's not yet merged.

by (801 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.