I accidentally wiped off a small source file. I've been trying to
put it back together. Now I get unrelated errors. I've tried
resetting dub.
Joels-MacBook-Pro:DGuy joelcnz$ dub
WARNING: A deprecated branch based version specification is used
for the dependency dsfml:audio. Please use numbered versions
instead. Also note that you can still use the dub.selections.json
file to override a certain dependency to use a branch instead.
WARNING: A deprecated branch based version specification is used
for the dependency dsfml:graphics. Please use numbered versions
instead. Also note that you can still use the dub.selections.json
file to override a certain dependency to use a branch instead.
Target dsfml:system ~master is up to date. Use --force to rebuild.
Target dsfml:audio ~master is up to date. Use --force to rebuild.
Target dsfml:window ~master is up to date. Use --force to rebuild.
Target dsfml:graphics ~master is up to date. Use --force to
rebuild.
Building guy ~master configuration "application", build type
debug.
Compiling using dmd...
/Library/D/dmd/src/phobos/std/traits.d(253): Error: undefined
identifier 'CentTypeList'
../../../.dub/packages/dsfml-master/src/dsfml/system/vector2.d(46): Error:
template instance std.traits.isNumeric!float error instantiating
../../../.dub/packages/dsfml-master/src/dsfml/system/vector2.d(196):
while looking for match for Vector2!float
../../../.dub/packages/dsfml-master/src/dsfml/system/vector2.d(195): Error:
template instance dsfml.system.vector2.Vector2!int does not match template
declaration Vector2(T) if (isNumeric!T)
../../../.dub/packages/dsfml-master/src/dsfml/system/vector2.d(197): Error:
template instance dsfml.system.vector2.Vector2!uint does not match template
declaration Vector2(T) if (isNumeric!T)
../../../.dub/packages/dsfml-master/src/dsfml/system/vector3.d(194): Error:
template instance dsfml.system.vector3.Vector3!int does not match template
declaration Vector3(T) if (isNumeric!T)
../../../.dub/packages/dsfml-master/src/dsfml/system/vector3.d(195):
while looking for match for Vector3!float
../../../.dub/packages/dsfml-master/src/dsfml/graphics/rect.d(262): Error:
template instance dsfml.graphics.rect.Rect!int does not match template
declaration Rect(T) if (isNumeric!T)
../../../.dub/packages/dsfml-master/src/dsfml/graphics/rect.d(263):
while looking for match for Rect!float
../../../.dub/packages/dsfml-master/src/dsfml/graphics/vertex.d(49): Error:
overlapping default initialization for field color and position
../../../.dub/packages/dsfml-master/src/dsfml/graphics/vertex.d(49): Error:
overlapping default initialization for field texCoords and position
../../../.dub/packages/dsfml-master/src/dsfml/graphics/vertex.d(49): Error:
overlapping default initialization for field position and color
../../../.dub/packages/dsfml-master/src/dsfml/graphics/vertex.d(49): Error:
overlapping default initialization for field texCoords and color
../../../.dub/packages/dsfml-master/src/dsfml/graphics/vertex.d(49): Error:
overlapping default initialization for field position and texCoords
../../../.dub/packages/dsfml-master/src/dsfml/graphics/vertex.d(49): Error:
overlapping default initialization for field color and texCoords
FAIL
.dub/build/application-debug-posix.osx-x86_64-dmd_2068-25A16FF1707072CE5DC49D735BEA1FB1/ guy executable
Error executing command run: dmd failed with exit code 1.