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

    bumpy-engineer-49082

    02/14/2023, 7:54 PM
    It would be easier to just download a finished project.
  • a

    ambitious-knife-25690

    02/14/2023, 7:58 PM
    ah for this the cwd for haxeui kha isn't what you'd expect
  • a

    ambitious-knife-25690

    02/14/2023, 7:58 PM
    2 secs need to check github
  • a

    ambitious-knife-25690

    02/14/2023, 7:59 PM
    @bumpy-engineer-49082 it's
    .../
  • a

    ambitious-knife-25690

    02/14/2023, 8:00 PM
    one level back
  • b

    bumpy-engineer-49082

    02/14/2023, 8:02 PM
    I've restarted. It doesn't work.
  • f

    full-journalist-82607

    02/14/2023, 8:17 PM
    I think @ambitious-knife-25690 meant to say tha in the build link you have to do "../windows.xml" or "../Assets/etcetera " ( but I don't know kha). Did you try this ? @bumpy-engineer-49082
  • a

    ambitious-knife-25690

    02/14/2023, 8:18 PM
    .../Assets/file.xml
  • b

    bumpy-engineer-49082

    02/14/2023, 8:18 PM
    He meant there was a problem with path. But there isn't. Btw in second file there was the same error and it was solved.
  • a

    ambitious-knife-25690

    02/14/2023, 8:18 PM
    then recompile
  • a

    ambitious-knife-25690

    02/14/2023, 8:20 PM
    @bright-gpu-74537 this might be a somewhat of a breaking change, but could this be standardised across libs? So the cwd is project root? maybe something that would be configured in the backend? 'root is where the project. xml/ceramic.yml/first level .hxml'
  • b

    bumpy-engineer-49082

    02/14/2023, 8:22 PM
    Nothing happens.
  • b

    bright-gpu-74537

    02/14/2023, 8:31 PM
    seems like your path / build is borked... have you even managed to get haxeui to display anything? without xml, just get a button on the screen for example, it seems your libs are maybe not setup... what does your khafile.js show?
  • b

    bright-gpu-74537

    02/14/2023, 8:32 PM
    searching up i think is a bad idea, i basically use cwd, i mean, i could search upwards, but it feels like its gonna be prone to "going wrong"
  • b

    bright-gpu-74537

    02/14/2023, 8:35 PM
    cwd is usually the project root
  • p

    powerful-morning-89

    02/14/2023, 8:57 PM
    Not for Kha iirc (judging by what notbilly said the cwd is probably the build directory).
  • b

    bumpy-engineer-49082

    02/14/2023, 8:57 PM
    A code you've sent me last week was working.
  • b

    bright-gpu-74537

    02/14/2023, 8:58 PM
    and that is using an xml file?
  • a

    ambitious-knife-25690

    02/14/2023, 8:58 PM
    yeah, not sure how to tackle this, maybe an option for toolkit for users to set? But cwd is also 2 levels deep for ceramic
  • b

    bumpy-engineer-49082

    02/14/2023, 8:59 PM
    Yeah, it used main-view.
  • b

    bumpy-engineer-49082

    02/14/2023, 8:59 PM
    But there was no errors.
  • b

    bright-gpu-74537

    02/14/2023, 8:59 PM
    yeah, sounds like maybe a backend / user prop might be the best idea
  • b

    bright-gpu-74537

    02/14/2023, 8:59 PM
    OK, so everything was working... so whats the issue exactly?
  • b

    bumpy-engineer-49082

    02/14/2023, 9:02 PM
    The example with window manager doesn't work.
  • b

    bright-gpu-74537

    02/14/2023, 9:03 PM
    as in it cant find the Window class, right?
  • b

    bumpy-engineer-49082

    02/14/2023, 9:03 PM
    Now it has this.
  • b

    bright-gpu-74537

    02/14/2023, 9:04 PM
    well, the "View" class is from the explorer, its not specific haxeui
  • b

    bright-gpu-74537

    02/14/2023, 9:04 PM
    so make that a vbox or whatever
  • b

    bright-gpu-74537

    02/14/2023, 9:05 PM
    probably doesnt make sense to copy examples "as is" from the explorer, they use resources and other classes / files / etc that are in the builder
  • b

    bumpy-engineer-49082

    02/14/2023, 9:05 PM
    I've already noticed that. but I don't know what should I paste instead.
1...151515161517...1687Latest