Collect2.exe: error: ld returned 9 exit status

i just uninstalled arduino ide from windows control panel itself, then i cleaned the registry using ccleaner (you can use any). Then i manually deleted the arduino15 folder in Local\Temp. Then i installed freshly thats it.