Giter Club home page Giter Club logo

fastrtpsswift's People

Contributors

dimaru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fastrtpsswift's Issues

Import FastRTPSSwift into swift playground

Hi there!

Is there a way I can import fastRTPSSwift into a playground application?
I tried to import it, but it gives an error while it imports fastDDSPrebuild. Playground cannot unzip it.
If you can provide a solution, Iโ€™d really appreciate it ๐Ÿ™๐Ÿผ

IMG_2252

Undefined symbols

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!

Failed building FastRTPSBridge while doing release build for iOS simulator

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

  • Debug build for the iOS simulator
  • Debug build for a real iPhone
  • Release build for a real iPhone

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.