https://linen.dev logo
Join DiscordCommunities
Powered by
# lime
  • m

    millions-leather-14715

    03/01/2023, 5:41 PM
    now i'm getting this error in both command line and vs code:
  • m

    millions-leather-14715

    03/01/2023, 5:42 PM
    it seems like i have to install a c++ compiler, but installing this whole LLVM library seems very excessive? is there something specific that I can install that it's looking for?
  • r

    rhythmic-wolf-50922

    03/01/2023, 6:00 PM
    Which Android NDK (not SDK) did you install? You can’t use the newest version. I think r21e is the newest one that works.
  • r

    rhythmic-wolf-50922

    03/01/2023, 6:01 PM
    I think the NDK is where it finds a compiler for Android
  • m

    millions-leather-14715

    03/01/2023, 6:04 PM
    oh i see, i think i used the newest one, let me try using an older one
  • m

    millions-leather-14715

    03/01/2023, 6:18 PM
    it looks like that fixed it!! thank you so so much, i was going crazy trying to get clang and its dependencies working
  • r

    rhythmic-wolf-50922

    03/01/2023, 6:33 PM
    Happy to help!
  • m

    mysterious-scientist-55924

    03/02/2023, 4:06 PM
    Why Compiling with Lime for android Takes LOT of Time ?
  • r

    rhythmic-wolf-50922

    03/02/2023, 4:11 PM
    it should be faster after the first time you compile. you can also enable the hxcpp compile cache.
  • r

    rhythmic-wolf-50922

    03/02/2023, 4:11 PM
    https://haxe.org/manual/target-cpp-CompileCache.html
  • m

    mysterious-scientist-55924

    03/02/2023, 4:13 PM
    Hxccp compile by single single C++ file It need to be done In threading like process or Parallel Compilation Is necessary My question Is how I can archive Parallel compilation In HXCCP.
  • a

    able-action-74275

    03/02/2023, 4:16 PM
    https://xkcd.com/303/
  • r

    rhythmic-wolf-50922

    03/02/2023, 4:35 PM
    as far as I can tell, by default, hxcpp compiles in parallel based on the number of processor cores your computer has
  • r

    rhythmic-wolf-50922

    03/02/2023, 4:36 PM
    there is a
    HXCPP_COMPILE_THREADS
    define available that may be used to set it to a specific value
  • r

    rhythmic-wolf-50922

    03/02/2023, 4:36 PM
    I see a comment in the source code that is interesting:
    Copy code
    haxe
    // Setting HXCPP_COMPILE_THREADS to 2x number or cores can help with hyperthreading
  • t

    tall-teacher-57409

    03/02/2023, 4:47 PM
    really true
  • e

    elegant-twilight-61392

    03/02/2023, 4:57 PM
    > 'Are you stealing those LCDs?' 'Yeah, but I'm doing it while my code compiles.' lmao
  • l

    little-oxygen-79174

    03/03/2023, 12:47 AM
    When I use
    lime.ui.FileDialog.browse(OPEN_DIRECTORY, ...)
    it opens the old annoying file dialog UI, and I want to use the modern file explorer UI with
    Select Folder
    instead. Is there a method to do that?
  • l

    little-oxygen-79174

    03/03/2023, 12:47 AM
    What
    OPEN_DIRECTORY
    displays:
  • l

    little-oxygen-79174

    03/03/2023, 12:48 AM
    What I want (using
    OPEN
    displays this window but for files instead of directories)
  • s

    square-angle-35096

    03/03/2023, 1:50 AM
    HOW DIDN'T I KNEW ABOUT THIS BEFORE.
  • s

    square-angle-35096

    03/03/2023, 1:50 AM
    Oh my god thank you
  • s

    square-angle-35096

    03/03/2023, 1:50 AM
    i alway thought that hxcpp could use a feature like that
  • s

    square-angle-35096

    03/03/2023, 1:51 AM
    like "huh if most cpp output files are the same why can't we just share them between projects"
  • s

    square-angle-35096

    03/03/2023, 1:28 PM
    trying to use hxp but i got an weird error on my temp folder for some reason?
  • s

    square-angle-35096

    03/03/2023, 1:28 PM
    Copy code
    hx
    import hxp.*;
    import lime.tools.*;
    
    class Project extends HXProject {
        public function new() {
            super();
            
            haxelibs.push(
                new Haxelib("lime"),
                new Haxelib("openfl"),
                new Haxelib("haxeui-core"),
                new Haxelib("haxeui-openfl")
                #if (desktop && cpp && debug)
                ,new Haxelib("hxcpp-debug-server")
                #end
            );
    
            sources.push("src");
            
            meta = {
                title: "Psych2Codename Converter",
                package: "com.enderpuff.psych2codename",
                packageName: "com.enderpuff.psych2codename",
                version: "0.1.0b",
                company: "enderpuff"
            };
    
            app = {
                main: "Main",
                file: "Psych2Codename",
                swfVersion: 11
            };
    
            #if debug app.path = "export/debug"; 
            #elseif final app.path = "export/final"; 
            #elseif 32bit app.path = "export/32"; 
            #else app.path = "export/release"; 
            #end
    
            #if !debug
                haxedefs.set("no_traces", 0);
                haxedefs.set("no_debug", 1);
                haxeflags.push("-dce");
                haxeflags.push("full");
            #end
        }
        
    }
  • s

    square-angle-35096

    03/03/2023, 1:28 PM
    is there anything wrong with this
  • s

    square-angle-35096

    03/03/2023, 1:28 PM
    the temp folder where it points too is literally just this file
  • s

    square-angle-35096

    03/03/2023, 1:34 PM
    the error comes from line 22
  • s

    square-angle-35096

    03/03/2023, 1:34 PM
    Copy code
    bat
    C:\Users\resto\AppData\Local\Temp/temp_2584250/Project.hx:22: characters 13-20 : Expected }
1...626364...138Latest