Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread Jason C. Wells via Digitalmars-d-learn
I have a nice screen shot of the nanovg demo running. The old xeyes is a nice touch. I was excited to post the photo here but it looks like I cannot. I can tell by the animations that this will be precisely what I need to animate svg based instrumentation. I ended up making one more static li

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread ketmar via Digitalmars-d-learn
On Thursday, 27 October 2016 at 02:12:34 UTC, Jason C. Wells wrote: I have no idea where this ModuleInfoZ thing is coming from. as Adam said, it means that it imports some module, and you didn't passed it to dmd. in this case, it is iv.nanovg.oui package (this is Blender-like GUI controls --

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 27 October 2016 at 02:18:26 UTC, Jason C. Wells wrote: My learning process is very organic and trial and error. yeah, that's us too :) With time, knowing all the details is better - you'll learn a lot though the start can be slower. I usually keep my code simple, but there's a f

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 27 October 2016 at 02:12:34 UTC, Jason C. Wells wrote: Error 42: Symbol Undefined _D2iv6nanovg3oui12__ModuleInfoZ That means some module was imported but not compiled. You can run the `ddemangle` program that comes with dmd to translate it (or you'll get used to just reading it

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread Jason C. Wells via Digitalmars-d-learn
BTW, I am not ignoring you guys when I haven't used rdmd ( I tried briefly but got stuck) or specifying all *.d files on the command line (did that with some success). My learning process is very organic and trial and error. I appreciate what you are doing for me. Thanks for the invite to cha

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread Jason C. Wells via Digitalmars-d-learn
Adding iv\stb\ttf.d cleared up most of the remaining linker errors. While compiling iv\nanovg_demo\example.d I am left with: bin\example.obj(example) Error 42: Symbol Undefined _D2iv6nanovg3oui12__ModuleInfoZ bin\example.obj(example) Error 42: Symbol Undefined _D2iv6nanovg12__ModuleInfoZ ..

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 27 October 2016 at 01:48:54 UTC, Jason C. Wells wrote: arsd has ttf.d and stb_truetype.d. Comments in stb_truetype.d say use ttf.d instead. My ttf.d is just version 1.2 of stb_truetype.d basically... the two files are very similar and should be generally compatible. ketmar's ttf

Re: Unresolved Symbols in a nanovg Library

2016-10-26 Thread ketmar via Digitalmars-d-learn
On Thursday, 27 October 2016 at 01:48:54 UTC, Jason C. Wells wrote: I'm not sure I fully understand name mangling, but it looks like nanovg wants to use iv\stb\ttf.d from it's own source tree. But Ketmar said "p.s. you will also need stb_ttf port, arsd repo has it under the name "ttf.d"." So