On Thu, 11 Jun 2015 16:15:28 -0400, Nick Sabalausky wrote:
On 06/10/2015 11:48 PM, Adam Wilson wrote:
Ok here it is:
Building adappt source ~master configuration "application", build type debug.
Using pkg-config to resolve library flags for libevent, libeventpthreads, libssl, libcrypto, libpq.
Using direct -l... flags for dl.
Compiling using dmd...
dmd -c -of.dub/build/application-debug-linux.posix-x8664-dmd2067-5EA8135B71290A4D525ECD952C36A8B0/adappt source.o -debug -g -w -version=VibeDefaultMain -version=VibeLibeventDriver -version=Haveadapptsource -version=Havevibed -version=Havelibevent -version=Haveopenssl -version=Havedpq2 -version=Havederelictpq -version=Havederelictutil -Isource/ -I../../../../.dub/packages/vibe-d-0.7.23/source/ -I../../../../.dub/packages/libevent-2.0.12.0.16 -I../../../../.dub/packages/openssl-1.1.41.0.1g -I../../../../.dub/packages/dpq2-0.1.7/src/ -I../../../../.dub/packages/derelict-pq-1.0.1/source/ -I../../../../.dub/packages/derelict-util-2.0.0/source/ -Jviews source/app.d ../../../../.dub/packages/vibe-d-0.7.23/source/vibe/appmain.d
Linking...
dmd -of.dub/build/application-debug-linux.posix-x8664-dmd2067-5EA8135B71290A4D525ECD952C36A8B0/adappt source .dub/build/application-debug-linux.posix-x8664-dmd2067-5EA8135B71290A4D525ECD952C36A8B0/adappt source.o ../../../../.dub/packages/vibe-d-0.7.23/libvibe-d.a ../../../../.dub/packages/dpq2-0.1.7/bin/libdpq2.a ../../../../.dub/packages/derelict-pq-1.0.1/lib/libDerelictPQ.a ../../../../.dub/packages/derelict-util-2.0.0/lib/libDerelictUtil.a -L--no-as-needed -L-leventpthreads -L-levent -L-lssl -L-lcrypto -L-lpq -L-ldl -g
Error: cannot read file source.d
FAIL .dub/build/application-debug-linux.posix-x8664-dmd_2067-5EA8135B71290A4D525ECD952C36A8B0/ adappt source executable
Error executing command build:
dmd failed with exit code 1.In your dub.json, does your "name" field look like this...
"name": " adappt source"
...?
I think the name field is supposed to be an identifier, so try:
"name": "adappt-source"
Thanks! That fixed it. I would've never guessed!