The link error comes when you don't have the linker settings done rightly and what compiler you are using to compile your program? Also check if that file exists somewhere on your PC