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

Subscription example does not work #16

Open
bossenti opened this issue May 13, 2024 · 2 comments
Open

Subscription example does not work #16

bossenti opened this issue May 13, 2024 · 2 comments

Comments

@bossenti
Copy link

I have tried to run your minimal example as shown here with version 0.24.1.

Unfortunately, executing the code results in the following exception:

/xxx/.ihmc/lib/us/ihmc/rtps/impl/fastRTPS/Darwin/arm64/1CB211B43043253419218432CBDD41675C3FD812/libfastrtps.2.6.dylib: dlopen(/xxx/.ihmc/lib/us/ihmc/rtps/impl/fastRTPS/Darwin/arm64/1CB211B43043253419218432CBDD41675C3FD812/libfastrtps.2.6.dylib, 0x0001): Library not loaded: @rpath/libfastcdr.1.dylib
  Referenced from: <C6F987CE-6462-3D02-819F-702521E1576F> /xxx/.ihmc/lib/us/ihmc/rtps/impl/fastRTPS/Darwin/arm64/1CB211B43043253419218432CBDD41675C3FD812/libfastrtps.2.6.dylib
  Reason: tried: '/Users/dextonanderson/projects/ihmc-pub-sub-group/ihmc-pub-sub/buildc/thirdparty/Fast-RTPS-install/lib/libfastcdr.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/dextonanderson/projects/ihmc-pub-sub-group/ihmc-pub-sub/buildc/thirdparty/Fast-RTPS-install/lib/libfastcdr.1.dylib' (no such file), '/Users/dextonanderson/projects/ihmc-pub-sub-group/ihmc-pub-sub/buildc/thirdparty/Fast-RTPS-install/lib/libfastcdr.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/dextonanders
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void us.ihmc.rtps.impl.fastRTPS.FastRTPSJNI.swig_module_init()'
	at us.ihmc.rtps.impl.fastRTPS.FastRTPSJNI.swig_module_init(Native Method)
	at us.ihmc.rtps.impl.fastRTPS.FastRTPSJNI.<clinit>(FastRTPSJNI.java:160)
	at us.ihmc.pubsub.impl.fastRTPS.FastRTPSDomain.<init>(FastRTPSDomain.java:104)
	at us.ihmc.pubsub.impl.fastRTPS.FastRTPSDomain.getInstance(FastRTPSDomain.java:67)
	at us.ihmc.pubsub.DomainFactory.getDomain(DomainFactory.java:38)
	at Test.main(Test.java:14)
@bossenti bossenti changed the title Subscription sample does not work Subscription example does not work May 13, 2024
@ds58
Copy link
Collaborator

ds58 commented May 14, 2024

Looks like I probably messed up the linking with those dylib macOS libraries. I'll take a look at this soon and get a fix out.

@bossenti
Copy link
Author

Looks like I probably messed up the linking with those dylib macOS libraries. I'll take a look at this soon and get a fix out.

That would be great, thank you!

ds58 pushed a commit that referenced this issue Nov 7, 2024
…:jaxb-ri:4.0.5 (#16)

Former-commit-id: 9ff61fdcf9221f3d9c9b737a553736f9c21f6112
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

2 participants