https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • f

    fierce-soccer-8550

    11/22/2022, 4:07 AM
    and maybe this might help..... https://www.appsloveworld.com/cplus/100/148/the-application-failed-to-initialize-properly-0xc000007b
  • b

    bright-gpu-74537

    11/22/2022, 8:02 AM
    you'll need to put the .dll in the application folder i think, but you are saying that you have done that? Ie, 64bit application, with 64bit dlls in the same dir as the exe?
  • b

    bright-gpu-74537

    11/22/2022, 8:09 AM
    any reason why you dont want to statically build? (out of curiosity)
  • b

    bright-gpu-74537

    11/22/2022, 8:26 AM
    OK, so i: *
    haxeui create hxwidgets
    in an empty dir * removed
    D ABI=-MD
    and
    -D WXSTATIC
    from the hxml * built app (
    haxe hxwidgets.hxml
    ) * copy all dlls from
    C:\SDK\wxWidgets\lib\vc_dll
    to the folder where the .exe was * ran .exe (all seemed fine)
  • b

    bright-gpu-74537

    11/22/2022, 8:27 AM
    (im guessing i could prune those dlls also to just have the ones i wanted / needed, but i just went for the shotgun approach to test)
  • i

    icy-zebra-52882

    11/22/2022, 12:46 PM
    I was originally building non-static, and as I said copied the DLLs into the build folder, but I still got “application failed to start” with the 64-bit DLLs
  • i

    icy-zebra-52882

    11/22/2022, 12:47 PM
    tried static later on and it still didn’t work
  • i

    icy-zebra-52882

    11/22/2022, 12:47 PM
    I copied every built DLL into the folder just in case
  • b

    bright-gpu-74537

    11/22/2022, 12:48 PM
    static should have certainly worked
  • b

    bright-gpu-74537

    11/22/2022, 12:48 PM
    maybe there is some deeper issue there?
  • i

    icy-zebra-52882

    11/22/2022, 12:49 PM
    only difference was that I got 2 build folders, one for
    vc_all
    and another with x64 in the name
  • i

    icy-zebra-52882

    11/22/2022, 12:49 PM
    maybe I’m using the wrong wxwidgets versions
  • b

    bright-gpu-74537

    11/22/2022, 12:50 PM
    i would try and get static sorted first... see if there is something strange going on there
  • i

    icy-zebra-52882

    11/22/2022, 12:50 PM
    I got the windows installer for 3.1.2 or whichever latest stable is
  • b

    bright-gpu-74537

    11/22/2022, 12:50 PM
    hmmm, never tried with the installer
  • i

    icy-zebra-52882

    11/22/2022, 12:51 PM
    still compiled the libraries from it myself though
  • b

    bright-gpu-74537

    11/22/2022, 12:51 PM
    oh
  • i

    icy-zebra-52882

    11/22/2022, 12:51 PM
    maybe it’s because they were MSVC compiled instead of gcc?
  • b

    bright-gpu-74537

    11/22/2022, 12:52 PM
    you are using gcc to compile the haxeui app?
  • b

    bright-gpu-74537

    11/22/2022, 12:52 PM
    and msvc to build the dlls?
  • i

    icy-zebra-52882

    11/22/2022, 12:52 PM
    no, I meant the wxwidgets DLLs
  • i

    icy-zebra-52882

    11/22/2022, 12:52 PM
    I’m just using Haxe cpp target to build the haxeui app
  • i

    icy-zebra-52882

    11/22/2022, 12:53 PM
    which I think uses msvc from the system?
  • b

    bright-gpu-74537

    11/22/2022, 12:53 PM
    that would probably use the msvc toolchain (unless you changed it explicity)
  • b

    bright-gpu-74537

    11/22/2022, 12:53 PM
    then i would have thought the same... im just about to head into a meeting, will touch base in a few hours... lemme know if you get anywhere
  • i

    icy-zebra-52882

    11/22/2022, 1:12 PM
    welp, I tried the template project from
    haxelib run haxeui-core create hxwidgets
    and that compiles just fine...
  • b

    bright-gpu-74537

    11/22/2022, 1:12 PM
    thats good no?
  • i

    icy-zebra-52882

    11/22/2022, 1:12 PM
    I was trying the kitchen-sink example before, with the same HXML from this project
  • i

    icy-zebra-52882

    11/22/2022, 1:12 PM
    so maybe it's something in there
  • b

    bright-gpu-74537

    11/22/2022, 1:12 PM
    kitchen sink?
1...129412951296...1687Latest