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
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
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
I've gone about building static libraries for nanovg and arsd.
(I'm feeling pretty good about what I've learned in the last
couple days, so I gave it a whirl.)
arsd has ttf.d and stb_truetype.d. Comments in stb_truetype.d say
use ttf.d instead.
nanovg has a ttf.d also.
There are three
On Wednesday, 26 October 2016 at 05:46:30 UTC, ketmar wrote:
this is a repository name. it is supposed to be named just
"iv", and git names main directory by repository name if you
are doing a simple clone. my bad, i should have made that clear.
Ok. That helps.
Suddenly it occurs to me that the module namespace and the
filesystem namespace do not necessarily have a one for one match,
even though they do by default. When one specifies all the D
source files on the command line, any differences between the
module namespace and the filesystem namespace
I am reading through: https://dlang.org/spec/module.html. I'll
soon be working through a previous example provided by Mike
Parker.
I am reading through Ketmar's iv.d/nanovg/package.d:
module iv.nanovg;
public import iv.nanovg.nanovg;
This looks like three levels of hierarchy, but is it?
On Saturday, 22 October 2016 at 06:18:13 UTC, Mike Parker wrote:
I think I can confidently assure you that you aren't running
into any bugs here.
Thanks for the confirmation. It helps me to learn.
You've dived right into a multi-module projects without a full
understanding of imports and
Now I think I finally see where my hang up is.
If B imports C, and A imports B and C, you still have to tell A
where to find C. C doesn't go along for the ride with B. Stated
another way, A doesn't look inside B to find C. Stated yet
another way, B does not expose C to A.
The statement
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
I've tinkered with what you proposed. In the process I've worked
through a variety of errors and ended up doing things I don't
think are a good solution like duplication directories so that a
library can be found.
Let me see if I understand how to piece together a build. Some
combination of
This is probably a general programming question. I'll follow up
here since this thread is the inspiration for my current question.
When attempting to compile simpledisplay.d, I get the following:
C:\...\dlang\arsd-master>dmd -Lgdi32.lib -L user32.lib
simpledisplay.d color.d
OPTLINK (R) for
On Tuesday, 18 October 2016 at 18:09:11 UTC, Johan Engelen wrote:
So this was a VS installation issue? (Visual Studio set the LIB
path wrong?)
I'm not sure where LIB was set.
C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat did in fact exist. My search for the file
must have been errant.
ldc2.exe hello.d also failed in cmd.exe.
I took Mike's advice to run cmd.exe from one of the environments
provided in the VS start menu. I tried to compile
I am working my way up to building NanoVG per my previous post.
I am able to compile hello world using dmd2. I am running in
cygwin because I understand bash way better than cmd.exe.
I am unable to compile hello world using ldc2. I am interested in
ldc because I am interested in compiling to
I have in mind a project to render instruments (speed, pressure,
position) to a screen using SVG. I am able to produce the SVG
easily enough. What I am looking for is a library/canvas/toolkit
that I can use in D inside of a loop and update the instrument
readouts.
This whole project is a
16 matches
Mail list logo