Advertisement
Guest User

LNK2019 error, /NODEFAULTLIB=Yes

a guest
Jan 27th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 18.09 KB | None | 0 0
  1. 1>------ Build started: Project: Vermillion Book, Configuration: Debug Win32 ------
  2. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewGetProgramInfoLog
  3. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewGetProgramiv
  4. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewLinkProgram
  5. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewAttachShader
  6. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct std::char_traits<char> > &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z) referenced in function _LoadShaders
  7. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct std::char_traits<char> > &))" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01@@Z@Z)
  8. 1>LoadShaders.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > std::cerr" (__imp_?cerr@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A)
  9. 1>triangles.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > std::cerr" (__imp_?cerr@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A) referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
  10. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z) referenced in function _LoadShaders
  11. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::endl(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z)
  12. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewGetShaderInfoLog
  13. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) referenced in function _LoadShaders
  14. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewGetShaderiv
  15. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewCompileShader
  16. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) referenced in function _LoadShaders
  17. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewShaderSource
  18. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewDeleteShader
  19. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewCreateShader
  20. 1>LoadShaders.obj : error LNK2001: unresolved external symbol ___glewCreateProgram
  21. 1>LoadShaders.obj : error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function _LoadShaders
  22. 1>triangles.obj : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
  23. 1>LoadShaders.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _LoadShaders
  24. 1>triangles.obj : error LNK2001: unresolved external symbol __RTC_CheckEsp
  25. 1>LoadShaders.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
  26. 1>triangles.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
  27. 1>LoadShaders.obj : error LNK2001: unresolved external symbol __RTC_InitBase
  28. 1>triangles.obj : error LNK2019: unresolved external symbol __RTC_InitBase referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
  29. 1>LoadShaders.obj : error LNK2019: unresolved external symbol __imp__fclose referenced in function _ReadShader
  30. 1>LoadShaders.obj : error LNK2019: unresolved external symbol __imp__fread referenced in function _ReadShader
  31. 1>LoadShaders.obj : error LNK2019: unresolved external symbol __imp__ftell referenced in function _ReadShader
  32. 1>LoadShaders.obj : error LNK2019: unresolved external symbol __imp__fseek referenced in function _ReadShader
  33. 1>LoadShaders.obj : error LNK2019: unresolved external symbol __imp__fopen_s referenced in function _ReadShader
  34. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (__imp_?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) referenced in function __catch$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z$0
  35. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (__imp_?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z)
  36. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall std::ios_base::width(__int64)" (__imp_?width@ios_base@std@@QAE_J_J@Z) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  37. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall std::ios_base::width(__int64)" (__imp_?width@ios_base@std@@QAE_J_J@Z)
  38. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,__int64)" (__imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE_JPBD_J@Z) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  39. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,__int64)" (__imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAE_JPBD_J@Z)
  40. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" (__imp_?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  41. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" (__imp_?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
  42. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " (__imp_?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  43. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " (__imp_?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ)
  44. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: char __thiscall std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " (__imp_?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  45. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char __thiscall std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " (__imp_?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ)
  46. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::ios_base::flags(void)const " (__imp_?flags@ios_base@std@@QBEHXZ) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  47. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::ios_base::flags(void)const " (__imp_?flags@ios_base@std@@QBEHXZ)
  48. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall std::ios_base::width(void)const " (__imp_?width@ios_base@std@@QBE_JXZ) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  49. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall std::ios_base::width(void)const " (__imp_?width@ios_base@std@@QBE_JXZ)
  50. 1>LoadShaders.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
  51. 1>triangles.obj : error LNK2001: unresolved external symbol ___security_cookie
  52. 1>LoadShaders.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z
  53. 1>triangles.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler3
  54. 1>LoadShaders.obj : error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function __ehhandler$??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z
  55. 1>triangles.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4
  56. 1>LoadShaders.obj : error LNK2019: unresolved external symbol _strlen referenced in function "public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (?length@?$char_traits@D@std@@SAIPBD@Z)
  57. 1>triangles.obj : error LNK2001: unresolved external symbol _strlen
  58. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (__imp_?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
  59. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (__imp_?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
  60. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (__imp_?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
  61. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (__imp_?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ)
  62. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall std::ios_base::good(void)const " (__imp_?good@ios_base@std@@QBE_NXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
  63. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall std::ios_base::good(void)const " (__imp_?good@ios_base@std@@QBE_NXZ)
  64. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::~sentry(void)" (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
  65. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ)
  66. 1>LoadShaders.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) bool __cdecl std::uncaught_exception(void)" (__imp_?uncaught_exception@std@@YA_NXZ) referenced in function "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::sentry::~sentry(void)" (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
  67. 1>triangles.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) bool __cdecl std::uncaught_exception(void)" (__imp_?uncaught_exception@std@@YA_NXZ)
  68. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewEnableVertexAttribArray
  69. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewVertexAttribPointer
  70. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewUseProgram
  71. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewBufferData
  72. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewBindBuffer
  73. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewGenBuffers
  74. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewBindVertexArray
  75. 1>triangles.obj : error LNK2001: unresolved external symbol ___glewGenVertexArrays
  76. 1>triangles.obj : error LNK2001: unresolved external symbol __fltused
  77. 1>triangles.obj : error LNK2019: unresolved external symbol __imp__glFlush@0 referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
  78. 1>triangles.obj : error LNK2019: unresolved external symbol __imp__glDrawArrays@12 referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
  79. 1>triangles.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
  80. 1>triangles.obj : error LNK2019: unresolved external symbol _glutMainLoop referenced in function _main
  81. 1>triangles.obj : error LNK2019: unresolved external symbol _glutDisplayFunc referenced in function _main
  82. 1>triangles.obj : error LNK2019: unresolved external symbol __imp__exit referenced in function _main
  83. 1>triangles.obj : error LNK2019: unresolved external symbol _glewInit@0 referenced in function _main
  84. 1>triangles.obj : error LNK2019: unresolved external symbol _glutInitContextProfile referenced in function _main
  85. 1>triangles.obj : error LNK2019: unresolved external symbol _glutInitContextVersion referenced in function _main
  86. 1>triangles.obj : error LNK2019: unresolved external symbol _glutInitWindowSize referenced in function _main
  87. 1>triangles.obj : error LNK2019: unresolved external symbol _glutInitDisplayMode referenced in function _main
  88. 1>triangles.obj : error LNK2019: unresolved external symbol ___glutInitWithExit referenced in function _glutInit_ATEXIT_HACK
  89. 1>triangles.obj : error LNK2019: unresolved external symbol ___glutCreateWindowWithExit referenced in function _glutCreateWindow_ATEXIT_HACK
  90. 1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
  91. 1>C:\Users\Nolan\documents\visual studio 2010\Projects\Vermillion Book\Debug\Vermillion Book.exe : fatal error LNK1120: 65 unresolved externals
  92. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement