MySQL Forums
Forum List  »  Connector/C++

Re: The driver crash when calling driver->connect
Posted by: Laurent Duroisin
Date: November 28, 2020 07:56AM

tried mysqlx but I got link errors :

obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r06common13Settings_impl4DataC1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/../common/settings.h:217: undefined reference to `mysqlx::abi2::r0::common::Settings_impl::Data::init_connection_attr()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r06common5ValueD1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/../common/value.h:61: undefined reference to `vtable for mysqlx::abi2::r0::common::Value'
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/../common/value.h:61: undefined reference to `vtable for mysqlx::abi2::r0::common::Value'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r06string6traitsIcE8from_strERS2_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/common.h:220: undefined reference to `mysqlx::abi2::r0::string::Impl::from_utf8(mysqlx::abi2::r0::string&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r06string6traitsIcE6to_strB5cxx11ERKS2_':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/common.h:225: undefined reference to `mysqlx::abi2::r0::string::Impl::to_utf8[abi:cxx11](mysqlx::abi2::r0::string const&)'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r05DbDocC1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/document.h:107: undefined reference to `vtable for mysqlx::abi2::r0::DbDoc'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r05DbDocD1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/document.h:81: undefined reference to `vtable for mysqlx::abi2::r0::DbDoc'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZNK6mysqlx4abi22r05Value5printERSo':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/document.h:508: undefined reference to `mysqlx::abi2::r0::common::Value::print(std::ostream&) const'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r05DbDocC1ERKS2_':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/document.h:81: undefined reference to `vtable for mysqlx::abi2::r0::DbDoc'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZNK6mysqlx4abi22r05Value3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/document.h:938: undefined reference to `mysqlx::abi2::r0::common::Value::get_string[abi:cxx11]() const'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal17Doc_result_detailC2ERNS1_6common11Result_initE':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/result.h:444: undefined reference to `mysqlx::abi2::r0::internal::Result_detail::Result_detail(mysqlx::abi2::r0::common::Result_init&)'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal17Doc_result_detail7get_docEv':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/result.h:449: undefined reference to `mysqlx::abi2::r0::internal::Doc_result_detail::iterator_next()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal17Doc_result_detailD2Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/result.h:406: undefined reference to `mysqlx::abi2::r0::internal::Result_detail::~Result_detail()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal17Doc_result_detailD1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/result.h:406: undefined reference to `mysqlx::abi2::r0::internal::Result_detail::~Result_detail()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r014CollectionFindC1ERNS1_10CollectionERKNS1_6stringE':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/collection_crud.h:355: undefined reference to `mysqlx::abi2::r0::internal::Crud_factory::mk_find(mysqlx::abi2::r0::Collection&, mysqlx::abi2::r0::string const&)'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r015SessionSettingsC1ERKNS1_6stringE':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/settings.h:526: undefined reference to `mysqlx::abi2::r0::common::Settings_impl::set_from_uri(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal14Session_detail8Name_srcD1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/session.h:321: undefined reference to `mysqlx::abi2::r0::internal::Query_src::~Query_src()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal14Session_detailD2Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/session.h:379: undefined reference to `mysqlx::abi2::r0::internal::Session_detail::close()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r08internal14Session_detailD1Ev':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/devapi/detail/session.h:379: undefined reference to `mysqlx::abi2::r0::internal::Session_detail::close()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZNK6mysqlx4abi22r06Schema16existsInDatabaseEv':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/xdevapi.h:610: undefined reference to `mysqlx::abi2::r0::internal::Session_detail::Name_src::Name_src(mysqlx::abi2::r0::Session const&, mysqlx::abi2::r0::string const&)'
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/xdevapi.h:612: undefined reference to `mysqlx::abi2::r0::internal::Query_src::iterator_next()'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r06Schema16createCollectionERKNS1_6stringEb':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/xdevapi.h:1277: undefined reference to `mysqlx::abi2::r0::internal::Schema_detail::create_collection(mysqlx::abi2::r0::string const&, mysqlx::abi2::r0::CollectionOptions)'
obj/cpp_Windows_Debug/Demo/application.o: In function `ZN6mysqlx4abi22r07SessionC1ENS1_15SessionSettingsE':
C:\Users\Laurent\Windows\cwcODFAEGSERVER/../Extlib/MySQL/include/mysqlx/xdevapi.h:1664: undefined reference to `mysqlx::abi2::r0::internal::Session_detail::Session_detail(mysqlx::abi2::r0::common::Settings_impl&)'
obj/cpp_Windows_Debug/Demo/application.o:application.cpp:(.rdata$_ZTCN6mysqlx4abi22r05ValueE0_NS1_6common5ValueE[__ZTCN6mysqlx4abi22r05ValueE0_NS1_6common5ValueE]+0x10): undefined reference to `mysqlx::abi2::r0::common::Value::print(std::ostream&) const'
collect2.exe: error: ld returned 1 exit status

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: The driver crash when calling driver->connect
817
November 28, 2020 07:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.