dimaru / fastrtpsswift Goto Github PK
View Code? Open in Web Editor NEWVery basic yet functional Swift wrapper over eProsima Fast-DDS library.
License: MIT License
Very basic yet functional Swift wrapper over eProsima Fast-DDS library.
License: MIT License
System: Sonoma 14.2.1
Xcode: 15.0.1
Using the FastDDSPrebuild Release 2.13.0, while doing a release build for the iOS simulator, there are many linking errors regarding fastrtps and fastdds. However other build scheme works, including
I have set up a demo App to showcase the error https://github.com/huyaoyu/Test-DDS-iOS
After opening the above App project in Xcode, a build scheme needs to be created. Then change the scheme from Debug to Release and build for iOS simulator. The detailed error message is attached here
Build Test-DDS-iOS-NoRoute2Host_2024-01-06T11-50-17.txt
Some samples from the error message look like the following:
Ld /Users/yaoyuh/Library/Developer/Xcode/DerivedData/Test-DDS-iOS-NoRoute2Host-ffvdgeisuuefdxcigbmsxslsgssq/Build/Intermediates.noindex/FastRTPSBridge.build/Release-iphonesimulator/FastRTPSBridge\ product.build/Objects-normal/x86_64/Binary/FastRTPSBridge normal x86_64 (in target 'FastRTPSBridge' from project 'FastRTPSBridge')
...
...
ld: warning: ignoring file '/Users/yaoyuh/Library/Developer/Xcode/DerivedData/Test-DDS-iOS-NoRoute2Host-ffvdgeisuuefdxcigbmsxslsgssq/Build/Products/Release-iphonesimulator/libfastrtpsa.a[258](virtual_memory.o)': found architecture 'arm64', required architecture 'x86_64'
ld: warning: ignoring file '/Users/yaoyuh/Library/Developer/Xcode/DerivedData/Test-DDS-iOS-NoRoute2Host-ffvdgeisuuefdxcigbmsxslsgssq/Build/Products/Release-iphonesimulator/libfastrtpsa.a[257](temporary_allocator.o)': found architecture 'arm64', required architecture 'x86_64'
...
...
ld: Undefined symbols:
...
...
eprosima::fastdds::dds::Log::SetVerbosity(eprosima::fastdds::dds::Log::Kind), referenced from:
_setRTPSLoglevel in FastRTPSWrapper.o
...
eprosima::fastrtps::rtps::RTPSDomain::createRTPSReader(eprosima::fastrtps::rtps::RTPSParticipant*, eprosima::fastrtps::rtps::ReaderAttributes&, eprosima::fastrtps::rtps::ReaderHistory*, eprosima::fastrtps::rtps::ReaderListener*), referenced from:
...
It looks like it is related to some known issues with iOS simulators on Macs with Apple Silicon chips. However, googling doesn't resolve the issue.
I'm trying this fork and getting undefined symbols error.
System:
macOS Sonoma 14.2.1
Xcode 15.0.1
Error message looks like the following:
Ld /Users/yaoyuh/Library/Developer/Xcode/DerivedData/SensorLoggerROS-bqosboshwqahtzaknpenxpfeztem/Build/Products/Debug-iphonesimulator/PackageFrameworks/FastRTPSBridge.framework/FastRTPSBridge normal (in target 'FastRTPSBridge' from project 'FastRTPSBridge')
...
...
ld: warning: ignoring duplicate libraries: '-lfastrtpsa'
ld: Undefined symbols:
_BIO_ctrl, referenced from:
asio::ssl::detail::engine::map_error_code(std::__1::error_code&) const in libfastrtpsa.a[166](TCPAcceptorSecure.o)
_BIO_ctrl_pending, referenced from:
asio::ssl::detail::engine::perform(int (asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, std::__1::error_code&, unsigned long*) in libfastrtpsa.a[166](TCPAcceptorSecure.o)
asio::ssl::detail::engine::perform(int (asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, std::__1::error_code&, unsigned long*) in libfastrtpsa.a[166](TCPAcceptorSecure.o)
...
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The full error log is attached.
UndefinedSymbolsFastRTPSBridge.log
Thank you!
Can I register multiple readers for the same topic? Then I can have multiple types of completion functions working simultaneously. Based on my quick tests, it seems that one topic can only have one reader as shown by the following line
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.