Results 1 to 5 of 5

Thread: multi - thread debug build

  1. #1
    coders_gaint
    Guest

    multi - thread debug build

    pcrecpp-d.lib(pcrecpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::replace(unsigned int,unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?replace@?$basic_string@DU?$char_traits@D@s td@@V?$allocator@D@2@@std@@QAEAAV12@IIABV12@@Z) referenced in function "public: bool __thiscall pcrecpp::RE::Replace(class pcrecpp::StringPiece const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)const " (?Replace@RE@pcrecpp@@QBE_NABVStringPiece@2@PAV?$b asic_string@DU?$char_traits@D@std@@V?$allocator@D@ 2@@std@@@Z)

    pcrecpp-d.lib(pcrecpp.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V? $allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z) referenced in function "public: bool __thiscall pcrecpp::RE::Replace(class pcrecpp::StringPiece const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)const " (?Replace@RE@pcrecpp@@QBE_NABVStringPiece@2@PAV?$b asic_string@DU?$char_traits@D@std@@V?$allocator@D@ 2@@std@@@Z)


    I tried to build with multi-thread debug build but am getting this same issue.I know that the library using here is against dll build.But i dint get any corresponding dll.Please help me to over come from this issue.

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: multi - thread debug build

    What software are you trying to build?

  3. #3
    coders_gaint
    Guest

    Re: multi - thread debug build

    HI marcus,
    Thanks for reply.

    Actually am trying to build collada-dom but now am getting the following error

    error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::get_posix_category(void)" (?get_posix_category@system@boost@@YAABVerror_cate gory@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ)


    please tell me how to overcome this.
    am using the boost c++ version 1.39 woth multi-thread build

  4. #4
    coders_gaint
    Guest

    Re: multi - thread debug build

    Ok marcus as per your suggestion i will use the flag NO_BOOST.I will check with that and get back to you as soon as possible.

  5. #5
    coders_gaint
    Guest

    Re: multi - thread debug build

    Thank you marcus,

    After using NO_BOOST flag ,now i could able to compile with any problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •