Für Windows 10 IoT crosscompilieren?



  • Hi,

    ich habe ein paar DLL's (alles ohne GUI), die ich gerne auch für Windows 10 IoT/ARM compiliert hätte.

    In VS 2015 gibt es tollerweise eine Plattform "ARM", nur wenn ich die für meine DLL's konfiguriere, bekomme ich eine ziemlich dämliche Fehlermeldung

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\ARM\PlatformToolsets\v110\Microsoft.Cpp.ARM.v110.targets(36,5): error MSB8022: Compiling Desktop applications for the ARM platform is not supported.
    

    Toll. Wenn man nicht für ARM comnpilieren kann, warum bieten sie es dann überhaupt an?

    Aber meine eigentliche Frage: wie kann ich DLL's für Windows 10 IoT crosscompilieren? Mit Visual Studio geht es ja offensichtlich nicht...

    Danke!



  • Die Windows 10 IoT Versionen die mit ARM kompatibel sind, sind Windows 10 IoT Mobile Enterprise und Windows 10 IoT Core. Auf beiden kann man keine klassischen Windows Desktop Applikationen laufen lassen.

    Frei Verfügbar ist dabei sowieso nur die "Core" Version, und zu dieser schreibt perficient.com :

    Stan Tarnovskiy schrieb:

    At the moment, Windows 10 IoT Core is compatible with three devices: Raspberry Pi 2, MinnowBoard Max and DragonBoard 410c. First and last of these devices are utilizing ARM processor, while MinnowBoard is sporting x86 Intel Atom. Because of high portability requirements, Windows 10 IoT Core can only run Windows Universal apps, and limited to WinRT stack which is adding an additional limitations to application development.

    http://blogs.perficient.com/microsoft/2016/01/windows-10-iot-editions-explained/

    Eigene DLLs verwenden müsste zwar schätze ich schon gehen, aber du wirst auf jeden Fall irgendwo einstellen müssen dass du WinRT anvisierst. Und damit ist dann natürlich nur ein sehr eingeschränktes Subset an WinApi Funktionen verfügbar.


Anmelden zum Antworten