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

    powerful-morning-89

    07/24/2022, 7:45 AM
    It correctly detects the version:
    wxWidgets version detected as 3.2.0
    But I think
    ((wxMAJOR_VERSION >= 3) && (wxMINOR_VERSION >= 1) && (wxRELEASE_NUMBER >= 6))
    should be
    ((wxMAJOR_VERSION >= 3) && ((wxMINOR_VERSION > 1) || ((wxMINOR_VERSION == 1) && (wxRELEASE_NUMBER >= 6))))
  • p

    powerful-morning-89

    07/24/2022, 7:49 AM
    Better solution would be
    haxe.macro.Compiler.define("wxwidgets", '${versionMajor}.${versionMinor}.${versionRelease}');
    and
    #if (wxwidgets >= version("3.1.6"))
    .
  • p

    powerful-morning-89

    07/24/2022, 7:50 AM
    (Unless you want Haxe 3 compat for some reason)
  • b

    bright-gpu-74537

    07/24/2022, 8:46 AM
    > Unless you want Haxe 3 compat for some reason ideally i would have liked to keep haxe3 compat...
  • b

    bright-gpu-74537

    07/24/2022, 8:47 AM
    but i do like
    #if (wxwidgets >= version("3.1.6"))
    alot better 🤔
  • b

    bright-gpu-74537

    07/24/2022, 8:48 AM
    if you change it to
    ((wxMAJOR_VERSION >= 3) && ((wxMINOR_VERSION > 1) || ((wxMINOR_VERSION == 1) && (wxRELEASE_NUMBER >= 6))))
    does it work?
  • b

    bright-gpu-74537

    07/24/2022, 7:58 PM
    ... maybe its time to move away from haxe3... for hxwidgets especially i see no real benefit
  • p

    powerful-morning-89

    07/24/2022, 8:02 PM
    But what about people still using Ubuntu 18.04?
  • b

    bright-gpu-74537

    07/24/2022, 8:03 PM
    you laugh, but i have a VM that i use regularly (like daily), that is running Ubuntu 16.x
  • b

    bright-gpu-74537

    07/24/2022, 8:03 PM
    i simply cant be arsed to create a new one and get everything moved over
  • b

    bright-gpu-74537

    07/24/2022, 8:03 PM
    (but i really should)
  • p

    powerful-morning-89

    07/24/2022, 8:04 PM
    16.x? Ie from 2016.
  • b

    bright-gpu-74537

    07/24/2022, 8:04 PM
    (disclaimer: this is nothing to do with haxe, its for other NHS dev stuff - it "works" so thats "fine")
  • b

    bright-gpu-74537

    07/24/2022, 8:04 PM
    yeah, ive had it years and years
  • p

    powerful-morning-89

    07/24/2022, 8:05 PM
    Isn't there a simple apt command to upgrade your system? Or do you really need to reinstall?!
  • b

    bright-gpu-74537

    07/24/2022, 8:05 PM
    no reason to keep it, except i just simply cannot be arsed to reinstall everything again - whats more amusing is there is very little to reinstall: cassandra, dse, datastax, karaf, solr, activemq - mebbe a few other things, but nothing major
  • b

    bright-gpu-74537

    07/24/2022, 8:06 PM
    i upgraded it once, and everything went fubar - so restored it back to point where everything was working
  • b

    bright-gpu-74537

    07/24/2022, 8:06 PM
    its one of the reasons im hesitant now (along with good old fashioned laziness)
  • p

    powerful-morning-89

    07/24/2022, 8:10 PM
    Isn't Ubuntu supposed to be stable? Well I guess it is if you never update anything...
  • b

    bright-gpu-74537

    07/24/2022, 8:12 PM
    > Well I guess it is if you never update anything... haha, yeah for me, its very possible it was a VM thing, keep in mind its not a real box... but i ridiculously hit the "update" notification many years ago, and then spent a day putting my system back together again... i cant really afford any downtime on that system... though im sure if i moved to a more modern version everything would be fine
  • b

    bright-gpu-74537

    07/24/2022, 8:12 PM
    i remember, for example, fighting with networking - getting my windows box to talk to the vm
  • b

    bright-gpu-74537

    07/24/2022, 8:13 PM
    but ive setup multiple vms since then, and never had any comm issues
  • p

    powerful-morning-89

    07/24/2022, 8:18 PM
    Move to Arch If you're careful it's stabler than Ubuntu :)
  • b

    bright-gpu-74537

    07/24/2022, 8:19 PM
    even the install (as a vm) was a nightmare for me... maybe its different as a real box (though i doubt it)... but all types of things went wrong... bootloader, etc
  • b

    bright-gpu-74537

    07/24/2022, 8:19 PM
    i just gave up after an hour or two
  • b

    bright-gpu-74537

    07/24/2022, 8:20 PM
    i doubt, as an OS, it will give me anything
  • p

    powerful-morning-89

    07/24/2022, 8:20 PM
    It has up to date software :)
  • b

    bright-gpu-74537

    07/24/2022, 8:21 PM
    so does my windows box and mac
  • b

    bright-gpu-74537

    07/24/2022, 8:21 PM
    and a few of my VMs
  • b

    bright-gpu-74537

    07/24/2022, 8:24 PM
    i actually think i might try and use "elementary" as my primary linux OS when i get round to getting a new computer - by which i mean, the new computer will run windows, and this computer will run some version of linux
1...118311841185...1687Latest