6 Replies - 1500 Views - Last Post: 23 October 2009 - 12:12 AM Rate Topic: -----

#1 Sadi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 22-October 09

error LNK2019: unresolved external symbol

Post icon  Posted 22 October 2009 - 12:18 AM

i m having problem in compiling the code of danger from the deep which i have downloaded from the danger from the deep's site ...

kindly help me in solving these errors


Error 231 error LNK2019: unresolved external symbol "public: __thiscall vertexbufferobject::~vertexbufferobject(void)" (??1vertexbufferobject@@QAE@XZ) referenced in function "public: __thiscall model::mesh::~mesh(void)" (??1mesh@model@@QAE@XZ) viewmodel.obj viewmodel
Error 232 error LNK2001: unresolved external symbol "public: __thiscall vertexbufferobject::~vertexbufferobject(void)" (??1vertexbufferobject@@QAE@XZ) dftdmedia.lib viewmodel
Error 233 error LNK2019: unresolved external symbol "public: __thiscall glsl_shader_setup::glsl_shader_setup(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const &)" (??0glsl_shader_setup@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0ABV?$list@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@2@@Z) referenced in function "protected: static void __cdecl model::render_init(void)" (?render_init@model@@KAXXZ) dftdmedia.lib viewmodel
Error 234 error LNK2019: unresolved external symbol "public: static bool __cdecl glsl_program::supported(void)" (?supported@glsl_program@@SA_NXZ) referenced in function "protected: static void __cdecl model::render_init(void)" (?render_init@model@@KAXXZ) dftdmedia.lib viewmodel
Error 235 error LNK2019: unresolved external symbol "public: static void __cdecl glsl_program::use_fixed(void)" (?use_fixed@glsl_program@@SAXXZ) referenced in function "protected: static void __cdecl model::render_deinit(void)" (?render_deinit@model@@KAXXZ) dftdmedia.lib viewmodel
Error 236 error LNK2019: unresolved external symbol "public: __thiscall vertexbufferobject::vertexbufferobject(bool)" (??0vertexbufferobject@@QAE@_N@Z) referenced in function "public: __thiscall model::mesh::mesh(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0mesh@model@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) dftdmedia.lib viewmodel
Error 237 error LNK2019: unresolved external symbol "public: static void __cdecl glsl_shader_setup::use_fixed(void)" (?use_fixed@glsl_shader_setup@@SAXXZ) referenced in function "public: void __thiscall model::mesh::compile(void)" (?compile@mesh@model@@QAEXXZ) dftdmedia.lib viewmodel
Error 238 error LNK2019: unresolved external symbol "public: void __thiscall glsl_shader_setup::use(void)const " (?use@glsl_shader_setup@@QBEXXZ) referenced in function "public: void __thiscall model::mesh::compile(void)" (?compile@mesh@model@@QAEXXZ) dftdmedia.lib viewmodel
Error 239 error LNK2019: unresolved external symbol "public: void __thiscall vertexbufferobject::unbind(void)const " (?unbind@vertexbufferobject@@QBEXXZ) referenced in function "public: void __thiscall model::mesh::compile(void)" (?compile@mesh@model@@QAEXXZ) dftdmedia.lib viewmodel
Error 240 error LNK2019: unresolved external symbol "public: void __thiscall vertexbufferobject::unmap(void)" (?unmap@vertexbufferobject@@QAEXXZ) referenced in function "public: void __thiscall model::mesh::compile(void)" (?compile@mesh@model@@QAEXXZ) dftdmedia.lib viewmodel
Error 241 error LNK2019: unresolved external symbol "public: void * __thiscall vertexbufferobject::map(int)" (?map@vertexbufferobject@@QAEPAXH@Z) referenced in function "public: void __thiscall model::mesh::compile(void)" (?compile@mesh@model@@QAEXXZ) dftdmedia.lib viewmodel
Error 242 error LNK2019: unresolved external symbol "public: void __thiscall vertexbufferobject::init_data(unsigned int,void const *,int)" (?init_data@vertexbufferobject@@QAEXIPBXH@Z) referenced in function "public: void __thiscall model::mesh::compile(void)" (?compile@mesh@model@@QAEXXZ) dftdmedia.lib viewmodel
Error 243 error LNK2019: unresolved external symbol "public: unsigned int __thiscall glsl_program::get_vertex_attrib_index(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?get_vertex_attrib_index@glsl_program@@QBEIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: unsigned int __thiscall glsl_shader_setup::get_vertex_attrib_index(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?get_vertex_attrib_index@glsl_shader_setup@@QBEIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) dftdmedia.lib viewmodel
Error 244 error LNK2019: unresolved external symbol "public: void __thiscall glsl_program::set_gl_texture(class texture &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int)const " (?set_gl_texture@glsl_program@@QBEXAAVtexture@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@Z) referenced in function "public: void __thiscall model::material::map::set_gl_texture(class glsl_program &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int)const " (?set_gl_texture@map@material@model@@QBEXAAVglsl_program@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@Z) dftdmedia.lib viewmodel
Error 245 error LNK2019: unresolved external symbol "public: void __thiscall vertexbufferobject::bind(void)const " (?bind@vertexbufferobject@@QBEXXZ) referenced in function "public: void __thiscall model::mesh::display(void)const " (?display@mesh@model@@QBEXXZ) dftdmedia.lib viewmodel
Error 246 error LNK2019: unresolved external symbol "public: __thiscall glsl_shader::~glsl_shader(void)" (??1glsl_shader@@QAE@XZ) referenced in function "public: __thiscall glsl_shader_setup::~glsl_shader_setup(void)" (??1glsl_shader_setup@@QAE@XZ) dftdmedia.lib viewmodel
Error 247 error LNK2019: unresolved external symbol "public: __thiscall glsl_program::~glsl_program(void)" (??1glsl_program@@QAE@XZ) referenced in function "public: __thiscall glsl_shader_setup::~glsl_shader_setup(void)" (??1glsl_shader_setup@@QAE@XZ) dftdmedia.lib viewmodel
Error 248 fatal error LNK1120: 16 unresolved externals E:\visuals\dangerdeep-0.3.0\vc2005\Debug\viewmodel.exe viewmodel




thanx in advance
Regardz

waiting for the reply

Is This A Good Question/Topic? 0
  • +

Replies To: error LNK2019: unresolved external symbol

#2 DaneAU  Icon User is offline

  • Great::Southern::Land
  • member icon

Reputation: 284
  • View blog
  • Posts: 1,617
  • Joined: 15-May 08

Re: error LNK2019: unresolved external symbol

Posted 22 October 2009 - 02:05 AM

Guessing this is because your compiler cannot find the neccessary libraries. You may need to specify the .lib in project settings.
Was This Post Helpful? 0
  • +
  • -

#3 Sadi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 22-October 09

Re: error LNK2019: unresolved external symbol

Posted 22 October 2009 - 02:39 AM

View Postbbq, on 22 Oct, 2009 - 01:05 AM, said:

Guessing this is because your compiler cannot find the neccessary libraries. You may need to specify the .lib in project settings.


i already did this but can u tell me the exact way of adding .lib prbly i was doing in the wrong way ...

thnx in advance

Regards
Was This Post Helpful? 0
  • +
  • -

#4 DaneAU  Icon User is offline

  • Great::Southern::Land
  • member icon

Reputation: 284
  • View blog
  • Posts: 1,617
  • Joined: 15-May 08

Re: error LNK2019: unresolved external symbol

Posted 22 October 2009 - 08:50 AM

Well for example vertexbufferobject::unbind where is this coming from ? #include < ?????? > ??

I cannot tell you what to do unless i kow where unbind function is in terms of its library ?
Was This Post Helpful? 0
  • +
  • -

#5 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6063
  • View blog
  • Posts: 23,517
  • Joined: 23-August 08

Re: error LNK2019: unresolved external symbol

Posted 22 October 2009 - 09:03 AM

Consult your compiler's documentation for how to add libraries and library paths to the build procedure.
Was This Post Helpful? 0
  • +
  • -

#6 Sadi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 22-October 09

Re: error LNK2019: unresolved external symbol

Posted 22 October 2009 - 08:26 PM

View Postbbq, on 22 Oct, 2009 - 07:50 AM, said:

Well for example vertexbufferobject::unbind where is this coming from ? #include < ?????? > ??

I cannot tell you what to do unless i kow where unbind function is in terms of its library ?




thanx for ur concern :)

now tell me which files should i'll have to provide u so that u can help me out easily ??
Was This Post Helpful? 0
  • +
  • -

#7 DaneAU  Icon User is offline

  • Great::Southern::Land
  • member icon

Reputation: 284
  • View blog
  • Posts: 1,617
  • Joined: 15-May 08

Re: error LNK2019: unresolved external symbol

Posted 23 October 2009 - 12:12 AM

The file where you have your #includes, perhaps stdafx.h ?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1