Linker Error in base.lib

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Linker Error in base.lib

Postby Aravindnlok » Sun Sep 12, 2021 6:56 am

Version 89 source code was downloaded from bitbucket
And built using automate_git.py.
When trying to consume base.lib
I get linker errors in vector and string allocator .

>base.lib(sample_vector.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: void __thiscall std::__1::__vector_base_common<1>::__throw_length_error(void)const " (__imp_?__throw_length_error@?$__vector_base_common@$00@__1@std@@IBEXXZ)

When tried to dump the base.lib 32 built version
0E5 00000000 UNDEF notype External | _memcpy
0E6 00000000 UNDEF notype External | __imp_?__throw_length_error@?$__vector_base_common@$00@__1@std@@IBEXXZ (__declspec(dllimport) protected: void __thiscall std::__1::__vector_base_common<1>::__throw_length_error(void)const )
0E7 00000000 UNDEF notype External | _abort
0E8 00000000 UNDEF notype External | ?Add@HistogramSamples@base@@UAEXABV12@@Z (public: virtual void __thiscall base::HistogramSamples::Add(class base::HistogramSamples const &))
0E9 00000000 UNDEF notype External | ?AddFromPickle@HistogramSamples@base@@UAE_NPAVPickleIterator@2@@Z (public: virtual bool __thiscall base::HistogramSamples::AddFromPickle(class base::PickleIterator *))
0EA 00000000 UNDEF notype External | ?Subtract@HistogramSamples@base@@UAEXABV12@@Z (public: virtual void __thiscall base::HistogramSamples::Subtract(class base::HistogramSamples const &))
0EB 00000000 UNDEF notype External | ?Serialize@HistogramSamples@base@@UBEXPAVPickle@2@@Z (public: virtual void __thiscall base::HistogramSamples::Serialize(class base::Pickle *)const )
0EC 00000000 UNDEF notype External | __purecall
0ED 00000000 DEBUG notype Filename | .file
sample_vector.cc

Can someone help please ??
Aravindnlok
Newbie
 
Posts: 2
Joined: Sun Sep 12, 2021 6:35 am

Re: Linker Error in base.lib

Postby magreenblatt » Sun Sep 12, 2021 11:57 am

When trying to consume base.lib

What do you mean? What exactly are you building? What OS? What instructions are you following?
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 41 guests