axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
922 stars 205 forks source link

[UWP] Some '*_APP.dll's be missing on (UWP XBOX)e.g.: VCRUNTIME140_APP.dll #1119

Closed aismann closed 1 year ago

aismann commented 1 year ago

Edit: The standalone bin have to start from AppX folder (there be the axmol dlls)

aismann commented 1 year ago

@halx99 Can you fix the cmake stuff?

some more missings dll (seems debug dlls): MSVCP140D_APP.dll vccorlib140d_app.DLL VCRUNTIME140_APP.dll

aismann commented 1 year ago

Hint: Running on VisualStudio it works without having the dlls in the bin folder.

halx99 commented 1 year ago

UWP APP, you can't click the exe, instead use cmake to build you exe target with debug configuration, then will build a .msix package, you can double click it to run on your PC

aismann commented 1 year ago

UWP APP, you can't click the exe, instead use cmake to build you exe target with debug configuration, then will build a .msix package, you can double click it to run on your PC

Sorry dont understand

halx99 commented 1 year ago

https://github.com/axmolengine/axmol/suites/11541021871/artifacts/597236474

halx99 commented 1 year ago

you can download artifact to check it

halx99 commented 1 year ago

I'm not sure doesn't work on directory bin, I never run it in bin when test UWP support, I run in Visual Studio or open cpp_test.msix in `bin/AppPackages/cpp_tests/cpp_tests.msix, then press launch button.

aismann commented 1 year ago

I'm not sure doesn't work on directory bin, I never run it in bin when test UWP support, I run in Visual Studio or open cpp_test.msix in `bin/AppPackages/cpp_tests/cpp_tests.msix, then press launch button.

Try it. For me its not working (Dlls missing messages raising)

aismann commented 1 year ago

Still missing.

solan-solan commented 1 year ago

@aismann @halx99 I did not check this project, but there is similar issue and some info about these dlls and UWP project configuration for VS. May be it helps. To my understand there should be two versions of dlls, with/without '_APP' in the UWPDesktop Framework Package https://developercommunity.visualstudio.com/t/vcruntime140dll-is-missing-on-uwp-xbox/1073368

aismann commented 1 year ago

@halx99 please add: pinned Add the moment I have no time fora deeper look for XBOX checks. I tried only starting the exe file directly

aismann commented 1 year ago

@halx99 please add category 'UWP XBOX" and category 'UWP"

aismann commented 1 year ago

I add this issue also here for reminder (closed the original): There are "double" files on the 'build_uwp\bin\cpp_tests\Debug'. maybe its not needed? #1140

halx99 commented 1 year ago

Needs deploy, latest axmol: just simple run axmol run -p winuwp on your project root directory