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

Runtime Error on aarch64 System #192

Closed
roboticszeng opened this issue May 24, 2024 · 5 comments
Closed

Runtime Error on aarch64 System #192

roboticszeng opened this issue May 24, 2024 · 5 comments

Comments

@roboticszeng
Copy link

Hello,

I'm experiencing a runtime error when attempting to execute the ruckig repository on an aarch64 system. The repository compiles successfully, but when I run the example-01 test case, I encounter the following error:

./example-01_position: symbol lookup error: ./example-01_position: undefined symbol: _ZN6ruckig11CloudClientC1Ev
I have not made any modifications to the code and am running the test case as is.

Here are the details of my system:

uname -a output:
Linux ubuntu 5.10.120-tegra #1 SMP PREEMPT Tue Aug 1 12:32:50 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
I would appreciate it if you could provide guidance or a fix for this issue. Thank you for your time and assistance.

Best regards!

@pantor
Copy link
Owner

pantor commented May 27, 2024

The compiler seems to have failed to pick up the cloud_client.cpp sources. Can you check that this line is executed by CMake. Do you have disabled the BUILD_CLOUD_CLIENT variable?

@roboticszeng
Copy link
Author

i dont change any line of this CMake, just build follow the step in README.md

@roboticszeng
Copy link
Author

program crash in this line:
while (otg.update(input, output) == ruckig::Result::Working)

@JornJorn
Copy link

@roboticszeng if you still have this issue, you could try my solution propused in #198 .
I had a similar issue, also an issue with a reference to ruckig::CloudClient.

@pantor
Copy link
Owner

pantor commented Sep 6, 2024

Sorry for the late response. I'd assume that this error comes from a mismatch of the header files and the linked library, e.g. you have installed ruckig system-wide, but now compile

Hi @roboticszeng - sorry for the late response. It seems that the linker is picking up a shared library that was compiled with the BUILD_CLOUD_CLIENT=OFF flag. Did you install Ruckig system-wide?

You could...

  • compile Ruckig yourself, e.g. by using CMake's add_subdirectory or following this example.
  • set the flag BUILD_CLOUD_CLIENT=OFF for your build - assuming you don't need that feature.

@pantor pantor closed this as completed Oct 3, 2024
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

3 participants