Open danmidwood opened 10 years ago
Actually, the problem was mine.
I was running in the context of opendylan>
and hadn't realised that I needed to change the project before I could run the compile command on my file.
Switching to the repl and running , change-project
sets everything up correctly
Shouldn't it have a better error?
So now that you mention it, this was exactly the problem I ran into. Yeah, a better error would be nice.
Yes, that would have helped.
The DIME documentation does explain setting the project, but I realise now that I must have jumped straight past that part and then fell down all of the wrong rabbit holes when I saw the error.
I also had an assumption that dime-compile-file
could infer the project from the file, is that possible?
Not currently but my newer build tool (deft) has a way to improve this.
File compilation through dime fails with an error,
I've tried importing, opening and building all through the repl and that is working perfectly, but I can't compile a file from the buffer with
C-c C-k
without hitting this error.I've created a Vagrant environment (Ubuntu, Emacs 24.3.1) where this can be reproduced, https://github.com/danmidwood/dime-error-repro