Render SVG To Display And Update Periodically

Jason C. Wells via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 21 20:59:16 PDT 2016


First, thank you for taking the time to help me with something 
that should be trivial.

I've done the above listing of file on the command line but I'm 
still stuck. I'm starting to think that I might actually be 
tripping over bugs, but I'm not confident enough to believe that 
without some confirmation.

I have the following directory structure from the zipfiles found 
in the repositories posted by ketmar.

nanovg_demo
- iv (was renamed from nanovg based on dmd error messages)
-- arsd (was renamed from arsd-master based on dmd error messages)

To proceed, I would attempt a compile. Then I would add the file 
that was producing an error to the command line and try again. I 
got this far.

Via cmd.exe:

   nanovg_demo>dmd example.d iv\arsd\color.d 
iv\arsd\simpledisplay.d iv\perf.d

   iv\perf.d(41): Error: module iv.nanovg.nanovg from file 
iv\nanovg.d must be
   imported with 'import iv.nanovg.nanovg;'

   demo.d(6): Error: module iv.nanovg.nanovg from file iv\nanovg.d 
must be
   imported with 'import iv.nanovg.nanovg;'

iv/nanovg/nanovg does not exist in the source code zip files. (I 
was reluctant to duplicate nanonvg into iv\nanovg because 
somewhere I learned that copy-pasting code is a bad idea.)

   demo.d(7): Error: module oui is in file 'iv\nanovg\oui.d' which 
cannot be read

oui.d does not exist anywhere. There is, however, a oui directory.

As a side note, I did have some success. I am able to compile 
nanovg.lib quite easily (from tips provided a few messages ago). 
It's when I try to compile the demo that I get stuck.

Regards,
Jason C. Wells


More information about the Digitalmars-d-learn mailing list