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. what does this error mean?

what does this error mean?

Scheduled Pinned Locked Moved C / C++ / MFC
announcementc++cryptographydebugginghelp
2 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.
  • M Offline
    M Offline
    monsieur_jj
    wrote on last edited by
    #1

    Hi all, This only happens on the release version of my project and it does not happen on the debug version. Also I have the same additional dependencies.

    SiteCode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl hash(char *)" (?hash@@YAIPAD@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
    1>SiteCode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl calc_hashnr_new(char const *,unsigned int)" (?calc_hashnr_new@@YAIPBDI@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
    1>SiteCode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl calc_hashnr(char const *,unsigned int)" (?calc_hashnr@@YAIPBDI@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
    1>SiteCode.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl hashpjw(char *,unsigned int)" (?hashpjw@@YAKPADI@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
    1>SiteCode.obj : error LNK2019: unresolved external symbol "void __cdecl Add2ByteChecksum(unsigned char *)" (?Add2ByteChecksum@@YAXPAE@Z) referenced in function "public: class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT&

    C 1 Reply Last reply
    0
    • M monsieur_jj

      Hi all, This only happens on the release version of my project and it does not happen on the debug version. Also I have the same additional dependencies.

      SiteCode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl hash(char *)" (?hash@@YAIPAD@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
      1>SiteCode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl calc_hashnr_new(char const *,unsigned int)" (?calc_hashnr_new@@YAIPBDI@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
      1>SiteCode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl calc_hashnr(char const *,unsigned int)" (?calc_hashnr@@YAIPBDI@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
      1>SiteCode.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl hashpjw(char *,unsigned int)" (?hashpjw@@YAKPADI@Z) referenced in function "public: int __thiscall CSiteCode::ReportNICInfoMP(int,class CDeviceLocationInformationList &,class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,char *)" (?ReportNICInfoMP@CSiteCode@@QAEHHAAVCDeviceLocationInformationList@@AAV?$CStringT@_WV?$StrTraitATL@_WV?$ChTraitsCRT@_W@ATL@@@ATL@@@ATL@@PAD@Z)
      1>SiteCode.obj : error LNK2019: unresolved external symbol "void __cdecl Add2ByteChecksum(unsigned char *)" (?Add2ByteChecksum@@YAXPAE@Z) referenced in function "public: class ATL::CStringT<wchar_t,class ATL::StrTraitATL<wchar_t,class ATL::ChTraitsCRT&

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      monsieur_jj wrote:

      Also I have the same additional dependencies.

      Did you forget to add them in the release settings ? Remember that you have to add them both for the debug version and the release version.

      Cédric Moonen Software developer
      Charting control [v1.5] OpenGL game tutorial in C++

      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