My code was working fine when it was in win32 based application.Recently i changed it to x64 error came up and it said "cannot open glut32.lib".Then i added glut32.lib on additional dependencies but these linking errors appears now.
1>Linking... 1>dispfunc.obj : error LNK2019: unresolved external symbol glutSwapBuffers referenced in function "void __cdecl Display(void)" (?Display@@YAXXZ)
1>init.obj : error LNK2019: unresolved external symbol glutTimerFunc referenced in function "void __cdecl Timer(int)" (?Timer@@YAXH@Z)
1>init.obj : error LNK2019: unresolved external symbol glutKeyboardFunc referenced in function "void __cdecl Timer(int)" (?Timer@@YAXH@Z)