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

    fierce-soccer-8550

    11/20/2022, 7:02 PM
    When you compiled hashlink, did you include the sdl dev libs from the SDL2 site? https://github.com/HaxeFoundation/hashlink/tree/master/libs/sdl
  • f

    fierce-soccer-8550

    11/20/2022, 7:03 PM
    for the dev libs..... https://github.com/libsdl-org/SDL/releases/tag/release-2.24.2
  • f

    fierce-soccer-8550

    11/20/2022, 7:03 PM
    I'm asking because i'm about to do that myself and test
  • f

    few-pizza-8232

    11/20/2022, 7:03 PM
    yes but I'm only halfway certain I did it correctly
  • f

    few-pizza-8232

    11/20/2022, 7:04 PM
    VS built when I used the download link SDL2-devel-2.24.2-VC.zip on that page
  • f

    few-pizza-8232

    11/20/2022, 7:05 PM
    and I was able to resolve my other errors with more specific haxelib commands per the convo in #501408700142059520 , leading to a new post-compilation(?) error
    failed to load library sdl.hdll
  • f

    few-pizza-8232

    11/20/2022, 7:06 PM
    I'm going to see if reverting to non-git hashlink in conjunction with the other stuff does the trick. I'd prefer to avoid a build-from-scratch approach on critical components anyway if it can be helped
  • f

    fierce-soccer-8550

    11/20/2022, 7:08 PM
    so its not seeing the sdl.hdll file, that we know you have on your system.
  • a

    ambitious-knife-25690

    11/20/2022, 7:08 PM
    i think crobes provided the material to setup heaps**in #501408700142059520
  • a

    ambitious-knife-25690

    11/20/2022, 7:09 PM
    but as this is just about setting up heaps/hashlink might want to move over to #501408700142059520
  • f

    few-pizza-8232

    11/20/2022, 7:15 PM
    Yeah, once I got that correctly set up with git hlsdl et al I was able to resolve my other issues
  • f

    few-pizza-8232

    11/20/2022, 7:15 PM
    Thanks all!
  • h

    hallowed-ocean-84954

    11/20/2022, 7:34 PM
    Nice. So you can the just bind to a property on this component directly the view haxe code without having to go through another class ? Or is only on the view side, as it were ? I was just looking back at a component you helped me with for rendering error messages and seeing how this might affect that has a separate class for dealing with adding classes to style error text and make it visible when necessary
  • b

    bright-gpu-74537

    11/20/2022, 7:38 PM
    well, not really, it just means you can build up a custom haxeui component from just an xml file... doesnt really have anything to do with binding as such
  • h

    hallowed-ocean-84954

    11/20/2022, 7:46 PM
    Ah ok thx
  • i

    icy-zebra-52882

    11/22/2022, 1:10 AM
    I'm trying to get haxeui-hxwidgets working on Windows (10)... I can get everything to compile, including wxWidgets (static and shared) and the haxeUI sample project itself, but running it gives errors about missing wxWidgets DLLs:
    Copy code
    ---------------------------
    Main.exe - System Error
    ---------------------------
    The code execution cannot proceed because wxmsw32u_gl_vc_custom.dll was not found. Reinstalling the program may fix this problem. 
    ---------------------------
    OK   
    ---------------------------
  • i

    icy-zebra-52882

    11/22/2022, 1:16 AM
    I've built the DLLs and can even find them in explorer, including the one listed as not found, but not sure if haxe is finding them
  • i

    icy-zebra-52882

    11/22/2022, 1:19 AM
    does hxWidgets need 32-bit wxWidgets DLLs compiled?
  • i

    icy-zebra-52882

    11/22/2022, 1:54 AM
    I've tried recompiling wxWidgets from both the x86 and x64 native Developer Tools command prompts, with appropriate
    CPU=x86
    or
    x64
    , both with and without
    SHARED=1
    , all the DLLs have been built, but hxWidgets isn't finding them
  • i

    icy-zebra-52882

    11/22/2022, 1:59 AM
    ok I think it is finding them, it seems to detect the installed version going by the logs
  • i

    icy-zebra-52882

    11/22/2022, 2:03 AM
    on a whim I tried copying the 64-bit wxWidgets DLLs into the program folder, still crashes with this error dialogue after showing a blank command line window:
    Copy code
    ---------------------------
    Main.exe - Application Error
    ---------------------------
    The application was unable to start correctly (0xc000007b). Click OK to close the application.
    and attempting to use the 32-bit wxWidgets DLLs just opens a blank command-line window and then closes with no error
  • f

    fierce-soccer-8550

    11/22/2022, 3:30 AM
    Ian will more than likely be the man to help you with that.
  • s

    straight-twilight-37046

    11/22/2022, 3:31 AM
    Maybe try putting the DLL files in the same directory as the executable perhaps.
  • s

    straight-twilight-37046

    11/22/2022, 3:31 AM
    Unsure.
  • f

    fierce-soccer-8550

    11/22/2022, 3:34 AM
    Curious, try executing it as admin?
  • f

    fierce-soccer-8550

    11/22/2022, 3:46 AM
    Try reinstalling your VS C++ runtime packages and then running the exe.
  • f

    fierce-soccer-8550

    11/22/2022, 3:49 AM
    Its apparently not a new issue with wxWidgets from all the posts on that error when working with wxWidgets here and there. Seem it usually has to do with a driver preventing Win 10 from running 32bit programs, or needing to reinstall VS C++ runtime packages, or making sure you are using the correct 32bit or 64bit dll's needing (which you apparently have done tried making sure of that). Seems statically linked is a preferred way to go as well.
  • f

    fierce-soccer-8550

    11/22/2022, 3:51 AM
    Figured I would do some looking to at least try and help in some way. Knowing what corrects the issue may help me down the road if I play with hxWidgets.
  • f

    fierce-soccer-8550

    11/22/2022, 4:03 AM
    Come across this on a ros app build, "For the 32 bit build you may encounter a 0xc000007b error when running rcdiscover-gui.exe. This seems to be caused by a bug in WxWidgets build. As a workaround, rename rcdefs.h in lib\gcc_lib\mswu\wx\msw in your WxWidgets root directory to something different (e.g., rcdefs.h_old). Then, rerun above WxWidgets build command:"
  • f

    fierce-soccer-8550

    11/22/2022, 4:03 AM
    http://docs.ros.org/en/kinetic/api/rcdiscover/html/index.html
1...129312941295...1687Latest