Re: broken program, silly error messages, dub

2015-09-19 Thread ponce via Digitalmars-d-learn

On Saturday, 19 September 2015 at 01:54:08 UTC, Joel wrote:
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.




To reset DUB state completely:

- remove .dub/ directory in the project directory
- remove dub.selections.json
- remove the ~/.dub directory




Re: broken program, silly error messages, dub

2015-09-19 Thread Joel via Digitalmars-d-learn

On Saturday, 19 September 2015 at 07:24:01 UTC, ponce wrote:

On Saturday, 19 September 2015 at 01:54:08 UTC, Joel wrote:
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.




To reset DUB state completely:

- remove .dub/ directory in the project directory
- remove dub.selections.json
- remove the ~/.dub directory


Got it back to normal! I put this 'import dsfml.graphics;' at 
about the top of the file.




Re: broken program, silly error messages, dub

2015-09-19 Thread Joel via Digitalmars-d-learn

On Saturday, 19 September 2015 at 08:33:05 UTC, Joel wrote:

On Saturday, 19 September 2015 at 07:24:01 UTC, ponce wrote:

On Saturday, 19 September 2015 at 01:54:08 UTC, Joel wrote:
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.




To reset DUB state completely:

- remove .dub/ directory in the project directory
- remove dub.selections.json
- remove the ~/.dub directory


Got it back to normal! I put this 'import dsfml.graphics;' at 
about the top of the file.


As first import. The reply should have been to my own post, not 
ponce.