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.
- 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
- Navigate to my godot source and entered:
scons -j4 platform=winrt target=release_debug
- Wait for compilation. It will fail during the linking phase.
- 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.