deleted my units folder to save disk space, now nothing compiles??

Go down

deleted my units folder to save disk space, now nothing compiles??

· #1

my disk was full so i deleted the folder called units because it had like a thousand files i never opened

now the compiler says it cant find system

is this a bug

Re: deleted my units folder to save disk space, now nothing compiles??

· #2

Oh no.

Re: deleted my units folder to save disk space, now nothing compiles??

· #3

Those thousand files you never opened were the entire runtime library.

Pete · thirty years of begin and end "It compiled on my machine."

Re: deleted my units folder to save disk space, now nothing compiles??

· #4

ok but i never used them

Re: deleted my units folder to save disk space, now nothing compiles??

· #5

You used them every time you typed WriteLn.

For the record, here is how to check what is using your disk before deleting the compiler:

bash
du -sh ~/* | sort -h | tail -5

And here is what you do now:

  1. Reinstall Free Pascal.
  2. Do not delete folders named after things the error messages mention.
  3. That's it. That is the whole list.

Forum rules 1 to 10 apply. Yes, to you.

Re: deleted my units folder to save disk space, now nothing compiles??

· #6

reinstalled, works

also deleted a folder called lib while i was in there, is that one important

Re: deleted my units folder to save disk space, now nothing compiles??

· #7

I am going to go lie down.

Forum rules 1 to 10 apply. Yes, to you.

Go up

Sign in to reply