https://linen.dev logo
Join Discord
Powered by
# lime
  • c

    curved-lifeguard-6743

    12/18/2022, 1:15 PM
    But i think i fixed it rn
  • s

    square-angle-35096

    12/27/2022, 6:49 PM
    How do i build to linux using a cpp target? When i try to build for linux it always go to a neko target but that doesn't work because there's some cpp stuff on my source code (such as discord api lib)
  • s

    square-angle-35096

    12/27/2022, 6:49 PM
    I know there is cpp target for linux builds but idk how to build for that
  • e

    elegant-twilight-61392

    12/27/2022, 6:51 PM
    if you do
    lime build linux
    it will use hxcpp
  • e

    elegant-twilight-61392

    12/27/2022, 6:51 PM
    itll only target neko if you do
    lime build neko
  • s

    square-angle-35096

    12/27/2022, 6:51 PM
    but it doesnt
  • s

    square-angle-35096

    12/27/2022, 6:51 PM
    when i do lime build linux it gives me error saying that cpp libraries cant be used on neko targets
  • e

    elegant-twilight-61392

    12/27/2022, 6:52 PM
    show the entire error
  • s

    square-angle-35096

    12/27/2022, 6:53 PM
    Copy code
    bat
    C:/HaxeToolkit/haxe/lib/linc_discord-rpc/git/discord_rpc/DiscordRpc.hx:4: characters 8-20 : You cannot access the cpp package while targeting neko (for cpp.Function)
  • s

    square-angle-35096

    12/27/2022, 6:53 PM
    And then there is a bunch of other errors saying
    ... referenced here
  • s

    square-angle-35096

    12/27/2022, 6:54 PM
    and when i open the export/release folder it shows a neko folder instead of linux one
  • e

    elegant-twilight-61392

    12/27/2022, 6:55 PM
    do you have some macro changing the target?
  • e

    elegant-twilight-61392

    12/27/2022, 6:56 PM
    not sure if thats even possible
  • s

    square-angle-35096

    12/27/2022, 6:56 PM
    i don't know
  • s

    square-angle-35096

    12/27/2022, 6:56 PM
    there's nothing referencing neko in the project.xml file
  • s

    square-angle-35096

    12/27/2022, 6:56 PM
    neither linux
  • e

    elegant-twilight-61392

    12/27/2022, 6:57 PM
    delete the export folder and build for linux and see what it creates
  • s

    square-angle-35096

    12/27/2022, 6:58 PM
    again
  • s

    square-angle-35096

    12/27/2022, 6:58 PM
    created a neko folder
  • e

    elegant-twilight-61392

    12/27/2022, 6:59 PM
    if you make a blank project, does it happen there too?
  • s

    square-angle-35096

    12/27/2022, 6:59 PM
    let me try
  • s

    square-angle-35096

    12/27/2022, 7:00 PM
    yep.
  • s

    square-angle-35096

    12/27/2022, 7:00 PM
    it does.
  • l

    loud-salesclerk-7438

    12/27/2022, 7:00 PM
    Desktop builds are currently designed to be built on the same host OS
  • l

    loud-salesclerk-7438

    12/27/2022, 7:01 PM
    unless you do some undocumented hacky stuff, you cannot cross compile
  • l

    loud-salesclerk-7438

    12/27/2022, 7:01 PM
    to target Linux start on Linux
  • s

    square-angle-35096

    12/27/2022, 7:01 PM
    oh, so do i have to get a linux system for compiling for linux?
  • s

    square-angle-35096

    12/27/2022, 7:01 PM
    ohh.
  • l

    loud-salesclerk-7438

    12/27/2022, 7:01 PM
    WSL might work
  • s

    square-angle-35096

    12/27/2022, 7:01 PM
    i was going to ask about that
1...363738...138Latest