Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Plz Help to Solve an Error

Plz Help to Solve an Error

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vijith squadz
    wrote on last edited by
    #1

    Hi All, I got a link error while compiling my project.The error is in another module ie in another .obj .This is static link library.Can anyone help me to find a solution .The error is given below. error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl std::basic_string<char,struct>,class std::allocator >::basic_string<char,struct>,class std::allocator >(class std::basic_string<char,struct>,class std::allocator > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@AEBV01@@Z) referenced in function "public: __cdecl std::logic_error::logic_error(class std::basic_string<char,struct>,class std::allocator > const &)" :((

    Thanks & Regards VIJITH VIJAYAN

    S 1 Reply Last reply
    0
    • V vijith squadz

      Hi All, I got a link error while compiling my project.The error is in another module ie in another .obj .This is static link library.Can anyone help me to find a solution .The error is given below. error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl std::basic_string<char,struct>,class std::allocator >::basic_string<char,struct>,class std::allocator >(class std::basic_string<char,struct>,class std::allocator > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@AEBV01@@Z) referenced in function "public: __cdecl std::logic_error::logic_error(class std::basic_string<char,struct>,class std::allocator > const &)" :((

      Thanks & Regards VIJITH VIJAYAN

      S Offline
      S Offline
      Sarath C
      wrote on last edited by
      #2

      1. Are you sure that your application linked with proper lib 2. Are you using any third party libraries like STL Port or something? then make sure you've put it in the right include order

      -Sarath. "Great hopes make everything great possible" - Benjamin Franklin

      My blog - Sharing My Thoughts

      V 1 Reply Last reply
      0
      • S Sarath C

        1. Are you sure that your application linked with proper lib 2. Are you using any third party libraries like STL Port or something? then make sure you've put it in the right include order

        -Sarath. "Great hopes make everything great possible" - Benjamin Franklin

        My blog - Sharing My Thoughts

        V Offline
        V Offline
        vijith squadz
        wrote on last edited by
        #3

        yes i had linked .And thanks for the quick reply

        Thanks & Regards VIJITH VIJAYAN

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups