Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build pyopendds: Undefined symbols for architecture arm64 #60

Open
ydykid opened this issue Apr 25, 2024 · 0 comments
Open

Failed to build pyopendds: Undefined symbols for architecture arm64 #60

ydykid opened this issue Apr 25, 2024 · 0 comments

Comments

@ydykid
Copy link

ydykid commented Apr 25, 2024

Faild information:

[ 11%] Linking CXX shared library libbasic_idl.dylib
Undefined symbols for architecture arm64:
  "OpenDDS::DCPS::ValueReader::read_int64_array(long long*, unsigned long)", referenced from:
      vtable for OpenDDS::DCPS::JsonValueReader<rapidjson::GenericStringStream<rapidjson::UTF8<char> > > in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::ValueReader::read_uint64_array(unsigned long long*, unsigned long)", referenced from:
      vtable for OpenDDS::DCPS::JsonValueReader<rapidjson::GenericStringStream<rapidjson::UTF8<char> > > in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::ValueWriter::write_int64_array(long long const*, unsigned int)", referenced from:
      vtable for OpenDDS::DCPS::JsonValueWriter<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0u> > in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::ValueWriter::write_uint64_array(unsigned long long const*, unsigned int)", referenced from:
      vtable for OpenDDS::DCPS::JsonValueWriter<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0u> > in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::DataWriterImpl::send_control(OpenDDS::DCPS::DataSampleHeader const&, std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter>)", referenced from:
      vtable for OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::DCPS::DataWriterImpl-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::DataWriterImpl::control_dropped(std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter> const&, bool)", referenced from:
      vtable for OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::DCPS::DataWriterImpl-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::DataWriterImpl::control_delivered(std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter> const&)", referenced from:
      vtable for OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::DCPS::DataWriterImpl-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::bitmask_to_string(unsigned long long, OpenDDS::DCPS::BitmaskHelper const&)", referenced from:
      OpenDDS::DCPS::JsonValueWriter<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0u> >::write_bitmask(unsigned long long, OpenDDS::DCPS::BitmaskHelper const&) in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::TransportSendListener::control_dropped(std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter> const&, bool)", referenced from:
      construction vtable for OpenDDS::DCPS::TransportSendListener-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
  "OpenDDS::DCPS::TransportSendListener::control_delivered(std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter> const&)", referenced from:
      construction vtable for OpenDDS::DCPS::TransportSendListener-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
  "OpenDDS::XTypes::DynamicDataBase::get_int64_value(long long&, unsigned int)", referenced from:
      vtable for OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::XTypes::DynamicDataAdapter_T<basic::Reading>-in-OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::XTypes::DynamicDataAdapter-in-OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::XTypes::DynamicDataBase-in-OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
  "OpenDDS::XTypes::DynamicDataBase::get_uint64_value(unsigned long long&, unsigned int)", referenced from:
      vtable for OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::XTypes::DynamicDataAdapter_T<basic::Reading>-in-OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::XTypes::DynamicDataAdapter-in-OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::XTypes::DynamicDataBase-in-OpenDDS::XTypes::DynamicDataAdapterImpl<basic::Reading, basic::Reading> in basicTypeSupportImpl.cpp.o
  "virtual thunk to OpenDDS::DCPS::DataWriterImpl::control_delivered(std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter> const&)", referenced from:
      vtable for OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::DCPS::DataWriterImpl-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
  "virtual thunk to OpenDDS::DCPS::DataWriterImpl::control_dropped(std::__1::unique_ptr<ACE_Message_Block, OpenDDS::DCPS::Message_Block_Deleter> const&, bool)", referenced from:
      vtable for OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
      construction vtable for OpenDDS::DCPS::DataWriterImpl-in-OpenDDS::DCPS::DataWriterImpl_T<basic::Reading> in basicTypeSupportImpl.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libbasic_idl.dylib] Error 1
make[1]: *** [CMakeFiles/basic_idl.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant