• jrdoughty13

    ... Well, I feel dumb...

    I must have cloned kinc again at some point and forgotten because I didn't realize the kincmake was a submodule (vs I thought it was produced in error from my command). I deleted the directory, recloned with --recursive and everything seems to be working.

    Oy Vey, its moments like this will prove the virtue of being humble...

    Thanks, hopefully this will be the last thing between me and playing with Kinc/C

    posted in Kode read more
  • jrdoughty13

    So, I was able to build once, but after closing out that bash terminal session and going back into the project directory to run it again, it won't run the make process. I'm pretty sure I'm just missing something simple, but I can't think up what it is. I've tried putting Kinc/make in quotes (single and double), i've tried putting in ./ before Kinc but nothing seems to make the make process run.

    Any Ideas?

    C:\Users\johnd\Documents\Projects\kinc\Shader-Kinc>node "./kinc/make"
    throw err;

    Error: Cannot find module './Tools/kincmake/koremake.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (C:\Users\johnd\Documents\Projects\kinc\Shader-Kinc\kinc\make.js:1:1)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

    posted in Kode read more
  • jrdoughty13

    That fixed that! Now I just need to figure out why visual studio can't seem to include stdlib or assert and I'll be off to the races ๐Ÿ˜› Thanks for the assist!

    posted in Kode read more
  • jrdoughty13

    Downloading the C++ version now and updating Kinc to get your new error message. I'll let you know how it goes

    posted in Kode read more
  • jrdoughty13

    Yeah, I've got 2017 community I believe. May need to see if I installed the รง++ part though

    posted in Kode read more
  • jrdoughty13

    did git clone --recursive and cd into Shader-Kinc and ran the node 'Kinc\make'

    I got this:

    $ node 'Kinc\make'
    kincfile found.
    Creating Windows project files.
    Compiling shader 1 of 12 (shader.frag).
    Compiling shader 2 of 12 (shader.vert).
    Compiling shader 3 of 12 (g1.frag).
    Compiling shader 4 of 12 (g1.vert).
    Compiling shader 5 of 12 (painter-colored.frag).
    Compiling shader 6 of 12 (painter-colored.vert).
    Compiling shader 7 of 12 (painter-image.frag).
    Compiling shader 8 of 12 (painter-image.vert).
    Compiling shader 9 of 12 (painter-text.frag).
    Compiling shader 10 of 12 (painter-text.vert).
    Compiling shader 11 of 12 (painter-video.frag).
    Compiling shader 12 of 12 (painter-video.vert).
    Error while reading the registry: ProcessUncleanExitError: QUERY command exited with code 1:
    ERROR: The system was unable to find the specified registry key or value.

    Looks like shader compilation was fine, but that's as far as I can see it went. Any ideas where to look next to see if something on my system is misconfigured?

    posted in Kode read more
  • jrdoughty13

    That worked! I no longer get the error! It'll be a while before I have things working well enough to see if I'm out of the woods but I definately have a better understanding of what is going on now.

    Thank you so much for your help, I'm way excited to get this rewrite going, and to start leveraging Kha!

    posted in Kode read more
  • jrdoughty13

    Awesome, that worked. I had to comment out the root class of my code to try it, but it works. Unfortunately, it seems that CastleDB isn't setup to handle the way Kha loads assets.

    I've tried this:
    private typedef Init = haxe.macro.MacroType < [] > ;
    and I get
    ..\Sources/systems/Data.hx:10: characters 64-100 : { pos : haxe.macro.Position, expr : haxe.macro.ExprDef } should be String
    I looked at my Haxeflixel project, and found that i was just passing the location of the file as a string. attempting to do that gives me:
    ..\Sources/systems/Data.hx:10: characters 8-22 : File not found Assets/data/database.cdb

    I tried looking into, but its a very deep function. Do any of the error messages sound like something that you've seen and have an idea about, or is this more of a CastleDB issue?

    posted in Kode read more
  • jrdoughty13

    I am trying right now to import my castledb fileand pass it into which takes a string. How do I do that? My Autocomplete is not showing me options in KodeStudio (likely because I'm trying to convert my whole RTSBase Project at once), so I can't find it using a process of elimination. Should it be in Assets.blobs?

    posted in Kode read more