Closed Ahmad138 closed 4 years ago
The error it spits out during compilation in qmake
libQt5Gui.so /opt/Qt5.14.1/5.14.1/gcc_64/lib/libQt5Core.so -lGL -lpthread /usr/bin/ld: api.o: in functionapi::sample()': /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:36: undefined reference to boost::log::v2_mt_posix::core::get()' /usr/bin/ld: /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:37: undefined reference toboost::log::v2_mt_posix::core::set_filter(boost::log::v2_mt_posix::filter const&)' /usr/bin/ld: /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:42: undefined reference to restc_cpp::RestClient::Create()' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::attribute_name::attribute_name(char const)': /usr/include/boost/log/attributes/attribute_name.hpp:80: undefined reference to `boost::log::v2_mt_posix::attribute_name::get_id_from_string(char const)' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::record::reset()': /usr/include/boost/log/core/record.hpp:157: undefined reference toboost::log::v2_mt_posix::record_view::public_data::destroy(boost::log::v2_mt_posix::record_view::public_data const)' /usr/bin/ld: api.o: in function boost::system::error_code::error_code()': /usr/include/boost/system/error_code.hpp:461: undefined reference toboost::system::system_category()' /usr/bin/ld: api.o: in function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': /usr/include/boost/system/error_code.hpp:703: undefined reference toboost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:706: undefined reference to boost::system::generic_category()' /usr/bin/ld: api.o: in functionboost::system::error_category::std_category::equivalent(std::error_code const&, int) const': /usr/include/boost/system/error_code.hpp:733: undefined reference to boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:736: undefined reference toboost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:748: undefined reference to boost::system::generic_category()' /usr/bin/ld: api.o: in functionboost::asio::error::get_system_category()': /usr/include/boost/asio/error.hpp:230: undefined reference to boost::system::system_category()' /usr/bin/ld: api.o: in functionboost::coroutines::attributes::attributes()': /usr/include/boost/coroutine/attributes.hpp:30: undefined reference to boost::coroutines::stack_traits::default_size()' /usr/bin/ld: api.o: in functionboost::coroutines::detail::push_coroutine_impl::unwind_stack()': /usr/include/boost/coroutine/detail/push_coroutine_impl.hpp:247: undefined reference to `boost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void)' /usr/bin/ld: api.o: in function boost::coroutines::detail::push_coroutine_impl<void>::push()': /usr/include/boost/coroutine/detail/push_coroutine_impl.hpp:265: undefined reference toboost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void)' /usr/bin/ld: api.o: in function boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:90: undefined reference toCONF_modules_unload' /usr/bin/ld: api.o: in function boost::asio::error::detail::ssl_category::message[abi:cxx11](int) const': /usr/include/boost/asio/ssl/impl/error.ipp:39: undefined reference toERR_reason_error_string' /usr/bin/ld: api.o: in function restc_cpp::RequestBuilder::Build()': /usr/local/include/restc-cpp/RequestBuilder.h:371: undefined reference torestc_cpp::Request::Create(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, restc_cpp::Request::Type, restc_cpp::RestClient&, std::unique_ptr<restc_cpp::RequestBody, std::default_delete >, boost::optional<std::deque<restc_cpp::Request::Arg, std::allocator > > const&, boost::optional const&, boost::optional const&)' /usr/bin/ld: api.o: in function `restc_cpp::RestClient::ProcessWithPromiseT(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void ()(), boost::asio::executor> >)#1}::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void ()(), boost::asio::executor> >) const': /usr/local/include/restc-cpp/restc-cpp.h:371: undefined reference to `restc_cpp::Context::Create(boost::asio::basic_yield_context<boost::asio::executor_binder<void ()(), boost::asio::executor> >&, restc_cpp::RestClient&)' /usr/bin/ld: api.o: in function restc_cpp::RapidJsonDeserializer<Post>::DoStartObject()': /usr/local/include/restc-cpp/SerializeJson.h:1014: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:1014: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in functionvoid restc_cpp::RapidJsonDeserializer::RecurseToMember(std::enable_if<boost::fusion::traits::is_sequence::value, void>::type)': /usr/local/include/restc-cpp/SerializeJson.h:780: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:780: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::record boost::log::v2_mt_posix::sources::basic_composite_logger<char, boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level>, boost::log::v2_mt_posix::sources::multi_thread_model<boost::log::v2_mt_posix::aux::light_rw_mutex>, boost::log::v2_mt_posix::sources::features<boost::log::v2_mt_posix::sources::severity<boost::log::v2_mt_posix::trivial::severity_level> > >::open_record<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> >(boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> const&)': /usr/include/boost/log/sources/basic_logger.hpp:456: undefined reference toboost::log::v2_mt_posix::core::get_logging_enabled() const' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level> >::~record_pump()': /usr/include/boost/log/sources/record_ostream.hpp:526: undefined reference toboost::log::v2_mt_posix::aux::unhandled_exception_count()' /usr/bin/ld: api.o: in function bool restc_cpp::RapidJsonDeserializer<Post>::SetValue<bool>(bool)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in functionbool restc_cpp::RapidJsonDeserializer::SetValue<std::cxx11::basic_string<char, std::char_traits, std::allocator > >(std::cxx11::basic_string<char, std::char_traits, std::allocator >)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function bool restc_cpp::RapidJsonDeserializer<Post>::SetValue<double>(double)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o:/usr/local/include/restc-cpp/SerializeJson.h:941: more undefined references to boost::log::v2_mt_posix::trivial::logger::get()' follow /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt >::record_pump(boost::log::v2_mt_posix::sources::severity_logger_mt&, boost::log::v2_mt_posix::record&)': /usr/include/boost/log/sources/record_ostream.hpp:506: undefined reference to boost::log::v2_mt_posix::aux::stream_provider<char>::allocate_compound(boost::log::v2_mt_posix::record&)' /usr/bin/ld: /usr/include/boost/log/sources/record_ostream.hpp:507: undefined reference toboost::log::v2_mt_posix::aux::unhandled_exception_count()' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level> >::auto_release::~auto_release()': /usr/include/boost/log/sources/record_ostream.hpp:491: undefined reference toboost::log::v2_mt_posix::aux::stream_provider::release_compound(boost::log::v2_mt_posix::aux::stream_provider::stream_compound)' /usr/bin/ld: api.o: in function bool restc_cpp::RapidJsonDeserializer<Post>::SetValueOnMember<Post, bool>(bool const&, std::enable_if<boost::fusion::traits::is_sequence<Post>::value, void>::type*)': /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in functionbool restc_cpp::RapidJsonDeserializer::SetValueOnMember<Post, std::cxx11::basic_string<char, std::char_traits, std::allocator > >(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::enable_if<boost::fusion::traits::is_sequence::value, void>::type)': /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function `bool restc_cpp::RapidJsonDeserializer::SetValueOnMember<Post, double>(double const&, std::enable_if<boost::fusion::traits::is_sequence::value, void>::type)': /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o:/usr/local/include/restc-cpp/SerializeJson.h:843: more undefined references toboost::log::v2_mt_posix::trivial::logger::get()' follow /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::sources::aux::severity_level<boost::log::v2_mt_posix::trivial::severity_level>::set_value(boost::log::v2_mt_posix::trivial::severity_level)': /usr/include/boost/log/sources/severity_feature.hpp:135: undefined reference toboost::log::v2_mt_posix::sources::aux::get_severity_level()' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::record boost::log::v2_mt_posix::sources::basic_logger<char, boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level>, boost::log::v2_mt_posix::sources::multi_thread_model<boost::log::v2_mt_posix::aux::light_rw_mutex> >::open_record_unlocked<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> >(boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> const&)': /usr/include/boost/log/sources/basic_logger.hpp:259: undefined reference toboost::log::v2_mt_posix::core::open_record(boost::log::v2_mt_posix::attribute_set const&)' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::core::push_record(boost::log::v2_mt_posix::record&&)': /usr/include/boost/log/core/core.hpp:308: undefined reference toboost::log::v2_mt_posix::core::push_record_move(boost::log::v2_mt_posix::record&)' /usr/bin/ld: api.o: in function boost::log::v2_mt_posix::value_extractor<boost::log::v2_mt_posix::trivial::severity_level, boost::log::v2_mt_posix::fallback_to_none, boost::log::v2_mt_posix::trivial::tag::severity>::operator()(boost::log::v2_mt_posix::attribute_name const&, boost::log::v2_mt_posix::attribute_value_set const&) const': /usr/include/boost/log/attributes/value_extraction.hpp:232: undefined reference toboost::log::v2_mt_posix::attribute_value_set::find(boost::log::v2_mt_posix::attribute_name) const' /usr/bin/ld: /usr/include/boost/log/attributes/value_extraction.hpp:233: undefined reference to boost::log::v2_mt_posix::attribute_value_set::end() const' /usr/bin/ld: /usr/include/boost/log/attributes/value_extraction.hpp:241: undefined reference toboost::log::v2_mt_posix::aux::attach_attribute_name_info(boost::exception&, boost::log::v2_mt_posix::attribute_name const&)' /usr/bin/ld: api.o: in function boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits>::allocate(boost::coroutines::stack_context&, unsigned long)': /usr/include/boost/coroutine/standard_stack_allocator.hpp:39: undefined reference toboost::coroutines::stack_traits::minimum_size()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:40: undefined reference to boost::coroutines::stack_traits::is_unbounded()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:40: undefined reference toboost::coroutines::stack_traits::maximum_size()' /usr/bin/ld: api.o: in function boost::coroutines::detail::push_coroutine_context_void::push_coroutine_context_void<boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::executor_type> >, restc_cpp::RestClient::ProcessWithPromiseT<Post>(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> > >(boost::coroutines::detail::preallocated const&, boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::executor_type> >, restc_cpp::RestClient::ProcessWithPromiseT<Post>(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> >*)': /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:59: undefined reference toboost::coroutines::detail::coroutine_context::coroutine_context()' /usr/bin/ld: /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:59: undefined reference to boost::coroutines::detail::coroutine_context::coroutine_context(void (*)(boost::context::detail::transfer_t), boost::coroutines::detail::preallocated const&)' /usr/bin/ld: api.o: in functionboost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void ()(), boost::asio::strand >, restc_cpp::RestClient::ProcessWithPromiseT(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void ()(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator >::run()': /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:302: undefined reference to boost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void*)' /usr/bin/ld: api.o: in functionboost::coroutines::basic_standard_stack_allocator::deallocate(boost::coroutines::stack_context&)': /usr/include/boost/coroutine/standard_stack_allocator.hpp:55: undefined reference to boost::coroutines::stack_traits::minimum_size()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:56: undefined reference toboost::coroutines::stack_traits::is_unbounded()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:56: undefined reference to boost::coroutines::stack_traits::maximum_size()' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:286: GUI-Main] Error 1 make: *** [Makefile:48: sub-GUI-Main-make_first] Error 2 make[1]: Leaving directory '/home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main' 20:27:17: The process "/usr/bin/make" exited with code 2. Error while building/deploying project SatRot-GUI (kit: Desktop Qt 5.14.1 GCC 64bit) When executing step "Make" 20:27:17: Elapsed time: 00:09.
/usr/bin/ld: api.o: in function
boost::log::v2_mt_posix::core::get()' /usr/bin/ld: /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:37: undefined reference to
restc_cpp::RestClient::Create()' /usr/bin/ld: api.o: in function
boost::log::v2_mt_posix::record::reset()': /usr/include/boost/log/core/record.hpp:157: undefined reference to
boost::system::error_code::error_code()': /usr/include/boost/system/error_code.hpp:461: undefined reference to
boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': /usr/include/boost/system/error_code.hpp:703: undefined reference to
boost::system::generic_category()' /usr/bin/ld: api.o: in function
boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:736: undefined reference to
boost::system::system_category()' /usr/bin/ld: api.o: in function
boost::coroutines::stack_traits::default_size()' /usr/bin/ld: api.o: in function
boost::coroutines::detail::push_coroutine_impl<void>::push()': /usr/include/boost/coroutine/detail/push_coroutine_impl.hpp:265: undefined reference to
boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:90: undefined reference to
boost::asio::error::detail::ssl_category::message[abi:cxx11](int) const': /usr/include/boost/asio/ssl/impl/error.ipp:39: undefined reference to
restc_cpp::RequestBuilder::Build()': /usr/local/include/restc-cpp/RequestBuilder.h:371: undefined reference to
restc_cpp::RapidJsonDeserializer<Post>::DoStartObject()': /usr/local/include/restc-cpp/SerializeJson.h:1014: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:780: undefined reference to
boost::log::v2_mt_posix::record boost::log::v2_mt_posix::sources::basic_composite_logger<char, boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level>, boost::log::v2_mt_posix::sources::multi_thread_model<boost::log::v2_mt_posix::aux::light_rw_mutex>, boost::log::v2_mt_posix::sources::features<boost::log::v2_mt_posix::sources::severity<boost::log::v2_mt_posix::trivial::severity_level> > >::open_record<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> >(boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> const&)': /usr/include/boost/log/sources/basic_logger.hpp:456: undefined reference to
boost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level> >::~record_pump()': /usr/include/boost/log/sources/record_ostream.hpp:526: undefined reference to
bool restc_cpp::RapidJsonDeserializer<Post>::SetValue<bool>(bool)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to
bool restc_cpp::RapidJsonDeserializer<Post>::SetValue<double>(double)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' follow /usr/bin/ld: api.o: in function
boost::log::v2_mt_posix::aux::stream_provider<char>::allocate_compound(boost::log::v2_mt_posix::record&)' /usr/bin/ld: /usr/include/boost/log/sources/record_ostream.hpp:507: undefined reference to
boost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level> >::auto_release::~auto_release()': /usr/include/boost/log/sources/record_ostream.hpp:491: undefined reference to
bool restc_cpp::RapidJsonDeserializer<Post>::SetValueOnMember<Post, bool>(bool const&, std::enable_if<boost::fusion::traits::is_sequence<Post>::value, void>::type*)': /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o:/usr/local/include/restc-cpp/SerializeJson.h:843: more undefined references to
boost::log::v2_mt_posix::sources::aux::severity_level<boost::log::v2_mt_posix::trivial::severity_level>::set_value(boost::log::v2_mt_posix::trivial::severity_level)': /usr/include/boost/log/sources/severity_feature.hpp:135: undefined reference to
boost::log::v2_mt_posix::record boost::log::v2_mt_posix::sources::basic_logger<char, boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level>, boost::log::v2_mt_posix::sources::multi_thread_model<boost::log::v2_mt_posix::aux::light_rw_mutex> >::open_record_unlocked<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> >(boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> const&)': /usr/include/boost/log/sources/basic_logger.hpp:259: undefined reference to
boost::log::v2_mt_posix::core::push_record(boost::log::v2_mt_posix::record&&)': /usr/include/boost/log/core/core.hpp:308: undefined reference to
boost::log::v2_mt_posix::value_extractor<boost::log::v2_mt_posix::trivial::severity_level, boost::log::v2_mt_posix::fallback_to_none, boost::log::v2_mt_posix::trivial::tag::severity>::operator()(boost::log::v2_mt_posix::attribute_name const&, boost::log::v2_mt_posix::attribute_value_set const&) const': /usr/include/boost/log/attributes/value_extraction.hpp:232: undefined reference to
boost::log::v2_mt_posix::attribute_value_set::end() const' /usr/bin/ld: /usr/include/boost/log/attributes/value_extraction.hpp:241: undefined reference to
boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits>::allocate(boost::coroutines::stack_context&, unsigned long)': /usr/include/boost/coroutine/standard_stack_allocator.hpp:39: undefined reference to
boost::coroutines::stack_traits::is_unbounded()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:40: undefined reference to
boost::coroutines::detail::push_coroutine_context_void::push_coroutine_context_void<boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::executor_type> >, restc_cpp::RestClient::ProcessWithPromiseT<Post>(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> > >(boost::coroutines::detail::preallocated const&, boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::executor_type> >, restc_cpp::RestClient::ProcessWithPromiseT<Post>(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> >*)': /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:59: undefined reference to
boost::coroutines::detail::coroutine_context::coroutine_context(void (*)(boost::context::detail::transfer_t), boost::coroutines::detail::preallocated const&)' /usr/bin/ld: api.o: in function
boost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void*)' /usr/bin/ld: api.o: in function
boost::coroutines::stack_traits::minimum_size()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:56: undefined reference to
boost::coroutines::stack_traits::maximum_size()' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:286: GUI-Main] Error 1 make: *** [Makefile:48: sub-GUI-Main-make_first] Error 2 make[1]: Leaving directory '/home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main' 20:27:17: The process "/usr/bin/make" exited with code 2. Error while building/deploying project SatRot-GUI (kit: Desktop Qt 5.14.1 GCC 64bit) When executing step "Make" 20:27:17: Elapsed time: 00:09.
I am eliminating this completely for now, going with another solution. but if anyone finds a soution to the problem, please send me a message.
The error it spits out during compilation in qmake
libQt5Gui.so /opt/Qt5.14.1/5.14.1/gcc_64/lib/libQt5Core.so -lGL -lpthread
::unwind_stack()':
/usr/include/boost/coroutine/detail/push_coroutine_impl.hpp:247: undefined reference to `boost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void )'
/usr/bin/ld: api.o: in function , std::allocator > const&, restc_cpp::Request::Type, restc_cpp::RestClient&, std::unique_ptr<restc_cpp::RequestBody, std::default_delete >, boost::optional<std::deque<restc_cpp::Request::Arg, std::allocator > > const&, boost::optional const&, boost::optional const&)'
/usr/bin/ld: api.o: in function `restc_cpp::RestClient::ProcessWithPromiseT(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void ( )(), boost::asio::executor> >)#1}::operator()(boost::asio::basic_yield_context<boost::asio::executor_binder<void ()(), boost::asio::executor> >) const':
/usr/local/include/restc-cpp/restc-cpp.h:371: undefined reference to `restc_cpp::Context::Create(boost::asio::basic_yield_context<boost::asio::executor_binder<void ()(), boost::asio::executor> >&, restc_cpp::RestClient&)'
/usr/bin/ld: api.o: in function ::RecurseToMember(std::enable_if<boost::fusion::traits::is_sequence::value, void>::type)':
/usr/local/include/restc-cpp/SerializeJson.h:780: undefined reference to ::SetValue<std::cxx11::basic_string<char, std::char_traits, std::allocator > >(std:: cxx11::basic_string<char, std::char_traits, std::allocator >)':
/usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to >::record_pump(boost::log::v2_mt_posix::sources::severity_logger_mt&, boost::log::v2_mt_posix::record&)':
/usr/include/boost/log/sources/record_ostream.hpp:506: undefined reference to ::release_compound(boost::log::v2_mt_posix::aux::stream_provider::stream_compound )'
/usr/bin/ld: api.o: in function ::SetValueOnMember<Post, std::cxx11::basic_string<char, std::char_traits, std::allocator > >(std:: cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::enable_if<boost::fusion::traits::is_sequence::value, void>::type)':
/usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to ::SetValueOnMember<Post, double>(double const&, std::enable_if<boost::fusion::traits::is_sequence::value, void>::type )':
/usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to , void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void ()(), boost::asio::strand >, restc_cpp::RestClient::ProcessWithPromiseT(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void ( )(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator >::run()':
/usr/include/boost/coroutine/detail/push_coroutine_object.hpp:302: undefined reference to ::deallocate(boost::coroutines::stack_context&)':
/usr/include/boost/coroutine/standard_stack_allocator.hpp:55: undefined reference to
/usr/bin/ld: api.o: in function
api::sample()': /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:36: undefined reference toboost::log::v2_mt_posix::core::get()' /usr/bin/ld: /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:37: undefined reference to
boost::log::v2_mt_posix::core::set_filter(boost::log::v2_mt_posix::filter const&)' /usr/bin/ld: /home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main/../../SatRot-GUI/GUI-Main/src/api.cpp:42: undefined reference torestc_cpp::RestClient::Create()' /usr/bin/ld: api.o: in function
boost::log::v2_mt_posix::attribute_name::attribute_name(char const)': /usr/include/boost/log/attributes/attribute_name.hpp:80: undefined reference to `boost::log::v2_mt_posix::attribute_name::get_id_from_string(char const)' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::record::reset()': /usr/include/boost/log/core/record.hpp:157: undefined reference to
boost::log::v2_mt_posix::record_view::public_data::destroy(boost::log::v2_mt_posix::record_view::public_data const)' /usr/bin/ld: api.o: in functionboost::system::error_code::error_code()': /usr/include/boost/system/error_code.hpp:461: undefined reference to
boost::system::system_category()' /usr/bin/ld: api.o: in functionboost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': /usr/include/boost/system/error_code.hpp:703: undefined reference to
boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:706: undefined reference toboost::system::generic_category()' /usr/bin/ld: api.o: in function
boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': /usr/include/boost/system/error_code.hpp:733: undefined reference toboost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:736: undefined reference to
boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:748: undefined reference toboost::system::generic_category()' /usr/bin/ld: api.o: in function
boost::asio::error::get_system_category()': /usr/include/boost/asio/error.hpp:230: undefined reference toboost::system::system_category()' /usr/bin/ld: api.o: in function
boost::coroutines::attributes::attributes()': /usr/include/boost/coroutine/attributes.hpp:30: undefined reference toboost::coroutines::stack_traits::default_size()' /usr/bin/ld: api.o: in function
boost::coroutines::detail::push_coroutine_implboost::coroutines::detail::push_coroutine_impl<void>::push()': /usr/include/boost/coroutine/detail/push_coroutine_impl.hpp:265: undefined reference to
boost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void)' /usr/bin/ld: api.o: in functionboost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:90: undefined reference to
CONF_modules_unload' /usr/bin/ld: api.o: in functionboost::asio::error::detail::ssl_category::message[abi:cxx11](int) const': /usr/include/boost/asio/ssl/impl/error.ipp:39: undefined reference to
ERR_reason_error_string' /usr/bin/ld: api.o: in functionrestc_cpp::RequestBuilder::Build()': /usr/local/include/restc-cpp/RequestBuilder.h:371: undefined reference to
restc_cpp::Request::Create(std::__cxx11::basic_string<char, std::char_traitsrestc_cpp::RapidJsonDeserializer<Post>::DoStartObject()': /usr/local/include/restc-cpp/SerializeJson.h:1014: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:1014: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function
void restc_cpp::RapidJsonDeserializerboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:780: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::record boost::log::v2_mt_posix::sources::basic_composite_logger<char, boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level>, boost::log::v2_mt_posix::sources::multi_thread_model<boost::log::v2_mt_posix::aux::light_rw_mutex>, boost::log::v2_mt_posix::sources::features<boost::log::v2_mt_posix::sources::severity<boost::log::v2_mt_posix::trivial::severity_level> > >::open_record<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> >(boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> const&)': /usr/include/boost/log/sources/basic_logger.hpp:456: undefined reference to
boost::log::v2_mt_posix::core::get_logging_enabled() const' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level> >::~record_pump()': /usr/include/boost/log/sources/record_ostream.hpp:526: undefined reference to
boost::log::v2_mt_posix::aux::unhandled_exception_count()' /usr/bin/ld: api.o: in functionbool restc_cpp::RapidJsonDeserializer<Post>::SetValue<bool>(bool)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function
bool restc_cpp::RapidJsonDeserializerboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in functionbool restc_cpp::RapidJsonDeserializer<Post>::SetValue<double>(double)': /usr/local/include/restc-cpp/SerializeJson.h:941: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o:/usr/local/include/restc-cpp/SerializeJson.h:941: more undefined references toboost::log::v2_mt_posix::trivial::logger::get()' follow /usr/bin/ld: api.o: in function
boost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mtboost::log::v2_mt_posix::aux::stream_provider<char>::allocate_compound(boost::log::v2_mt_posix::record&)' /usr/bin/ld: /usr/include/boost/log/sources/record_ostream.hpp:507: undefined reference to
boost::log::v2_mt_posix::aux::unhandled_exception_count()' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::aux::record_pump<boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level> >::auto_release::~auto_release()': /usr/include/boost/log/sources/record_ostream.hpp:491: undefined reference to
boost::log::v2_mt_posix::aux::stream_providerbool restc_cpp::RapidJsonDeserializer<Post>::SetValueOnMember<Post, bool>(bool const&, std::enable_if<boost::fusion::traits::is_sequence<Post>::value, void>::type*)': /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference toboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function
bool restc_cpp::RapidJsonDeserializerboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: /usr/local/include/restc-cpp/SerializeJson.h:843: undefined reference to
boost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o: in function `bool restc_cpp::RapidJsonDeserializerboost::log::v2_mt_posix::trivial::logger::get()' /usr/bin/ld: api.o:/usr/local/include/restc-cpp/SerializeJson.h:843: more undefined references to
boost::log::v2_mt_posix::trivial::logger::get()' follow /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::sources::aux::severity_level<boost::log::v2_mt_posix::trivial::severity_level>::set_value(boost::log::v2_mt_posix::trivial::severity_level)': /usr/include/boost/log/sources/severity_feature.hpp:135: undefined reference to
boost::log::v2_mt_posix::sources::aux::get_severity_level()' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::record boost::log::v2_mt_posix::sources::basic_logger<char, boost::log::v2_mt_posix::sources::severity_logger_mt<boost::log::v2_mt_posix::trivial::severity_level>, boost::log::v2_mt_posix::sources::multi_thread_model<boost::log::v2_mt_posix::aux::light_rw_mutex> >::open_record_unlocked<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> >(boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::severity, boost::log::v2_mt_posix::trivial::severity_level const> const&)': /usr/include/boost/log/sources/basic_logger.hpp:259: undefined reference to
boost::log::v2_mt_posix::core::open_record(boost::log::v2_mt_posix::attribute_set const&)' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::core::push_record(boost::log::v2_mt_posix::record&&)': /usr/include/boost/log/core/core.hpp:308: undefined reference to
boost::log::v2_mt_posix::core::push_record_move(boost::log::v2_mt_posix::record&)' /usr/bin/ld: api.o: in functionboost::log::v2_mt_posix::value_extractor<boost::log::v2_mt_posix::trivial::severity_level, boost::log::v2_mt_posix::fallback_to_none, boost::log::v2_mt_posix::trivial::tag::severity>::operator()(boost::log::v2_mt_posix::attribute_name const&, boost::log::v2_mt_posix::attribute_value_set const&) const': /usr/include/boost/log/attributes/value_extraction.hpp:232: undefined reference to
boost::log::v2_mt_posix::attribute_value_set::find(boost::log::v2_mt_posix::attribute_name) const' /usr/bin/ld: /usr/include/boost/log/attributes/value_extraction.hpp:233: undefined reference toboost::log::v2_mt_posix::attribute_value_set::end() const' /usr/bin/ld: /usr/include/boost/log/attributes/value_extraction.hpp:241: undefined reference to
boost::log::v2_mt_posix::aux::attach_attribute_name_info(boost::exception&, boost::log::v2_mt_posix::attribute_name const&)' /usr/bin/ld: api.o: in functionboost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits>::allocate(boost::coroutines::stack_context&, unsigned long)': /usr/include/boost/coroutine/standard_stack_allocator.hpp:39: undefined reference to
boost::coroutines::stack_traits::minimum_size()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:40: undefined reference toboost::coroutines::stack_traits::is_unbounded()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:40: undefined reference to
boost::coroutines::stack_traits::maximum_size()' /usr/bin/ld: api.o: in functionboost::coroutines::detail::push_coroutine_context_void::push_coroutine_context_void<boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::executor_type> >, restc_cpp::RestClient::ProcessWithPromiseT<Post>(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> > >(boost::coroutines::detail::preallocated const&, boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>, void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::executor_type> >, restc_cpp::RestClient::ProcessWithPromiseT<Post>(std::function<Post (restc_cpp::Context&)> const&)::{lambda(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >)#1}>&, boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits> >*)': /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:59: undefined reference to
boost::coroutines::detail::coroutine_context::coroutine_context()' /usr/bin/ld: /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:59: undefined reference toboost::coroutines::detail::coroutine_context::coroutine_context(void (*)(boost::context::detail::transfer_t), boost::coroutines::detail::preallocated const&)' /usr/bin/ld: api.o: in function
boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutineboost::coroutines::detail::coroutine_context::jump(boost::coroutines::detail::coroutine_context&, void*)' /usr/bin/ld: api.o: in function
boost::coroutines::basic_standard_stack_allocatorboost::coroutines::stack_traits::minimum_size()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:56: undefined reference to
boost::coroutines::stack_traits::is_unbounded()' /usr/bin/ld: /usr/include/boost/coroutine/standard_stack_allocator.hpp:56: undefined reference toboost::coroutines::stack_traits::maximum_size()' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:286: GUI-Main] Error 1 make: *** [Makefile:48: sub-GUI-Main-make_first] Error 2 make[1]: Leaving directory '/home/ahmad/Documents/UofG/Semester 2/Real Time Embedded Programming/satRot/Software/build-SatRot-GUI-Desktop_Qt_5_14_1_GCC_64bit-Debug/GUI-Main' 20:27:17: The process "/usr/bin/make" exited with code 2. Error while building/deploying project SatRot-GUI (kit: Desktop Qt 5.14.1 GCC 64bit) When executing step "Make" 20:27:17: Elapsed time: 00:09.