Kode / Krom

Other
97 stars 23 forks source link

Krom will not start on Windows 7 #92

Closed luboslenco closed 6 years ago

luboslenco commented 6 years ago

Throws api-ms-win-core-console-l2-1-0.dll is missing.

(tag https://github.com/armory3d/armory/issues/862)

luboslenco commented 6 years ago

Tried to build regular ChakraCore and the resulting ch.exe seems to run ok on Windows 7. But that is of course with chakracore.dll.

Maybe Krom somehow pulls in some api which is not available on Windows 7 or something.

luboslenco commented 6 years ago

My current suspect is linking the Mincore lib at

I tried linking Mincore_downlevel but that did not help. From this Microsoft Docs page:

Compatibility with Windows 7, Windows Server 2008 R2 and older operating systems: Binaries that link to MinCore.lib or MinCore_Downlevel.lib are not designed to work on Windows 7, Windows Server 2008 R2 or earlier. Binaries that need to run on earlier versions of Windows or Windows Server must not use either MinCore.lib or MinCore_Downlevel.lib.

luboslenco commented 6 years ago

Fix attempt at https://github.com/Kode/ChakraCore/pull/1.