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

Impossible to launch the application on Ubuntu 22.04.5 LTS #518

Open
lit-af opened this issue Feb 13, 2025 · 5 comments
Open

Impossible to launch the application on Ubuntu 22.04.5 LTS #518

lit-af opened this issue Feb 13, 2025 · 5 comments

Comments

@lit-af
Copy link

lit-af commented Feb 13, 2025

I've downloaded the application but I can't run it.

➜  Downloads ./x-IMU3-GUI 
./x-IMU3-GUI: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./x-IMU3-GUI)
./x-IMU3-GUI: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by ./x-IMU3-GUI)
./x-IMU3-GUI: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./x-IMU3-GUI)
./x-IMU3-GUI: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by ./x-IMU3-GUI)
./x-IMU3-GUI: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./x-IMU3-GUI)

Would you consider building an appimage for linux instead of an app that's dependant on shared libraries provided by a specific version of the OS.

UPDATE

I've attempted to build manually but there's another version issue.

[100%] Linking CXX executable "x-IMU3-GUI_artefacts/Release/x-IMU3 GUI"
lto1: fatal error: bytecode stream in file ‘CMakeFiles/x-IMU3-GUI.dir/__/_deps/juce-src/modules/juce_graphics/juce_graphics_Sheenbidi.c.o’ generated with LTO version 12.0 instead of the expected 11.3
compilation terminated.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
gmake[2]: *** [x-IMU3-GUI/CMakeFiles/x-IMU3-GUI.dir/build.make:1322: x-IMU3-GUI/x-IMU3-GUI_artefacts/Release/x-IMU3 GUI] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:290: x-IMU3-GUI/CMakeFiles/x-IMU3-GUI.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
@lit-af lit-af changed the title Impossible to launch the application on Ubuntu 20.04.5 LTS Impossible to launch the application on Ubuntu 22.04.5 LTS Feb 13, 2025
@xioTechnologies
Copy link
Owner

The x-IMU3 GUI is built for Ubuntu using CI. Here is the last successful build for release output. Perhaps this output useful in understanding your issue?

@lit-af
Copy link
Author

lit-af commented Feb 17, 2025

The issue I have is that by building on Ubuntu latest (24.04.1 LTS) you're only supporting the latest version of Ubuntu. That's not great for compatibility. I'm using other tools that prevent me from upgrading to 24.04, I have to stay on Ubuntu 22.04.

The build issue comes from the precompiled API, I'd have to build everything from scratch for it to build on 22.04 LTS.

I don't have the time at the moment, but would you be open to a PR adding an AppImage release build in the future?

@xioTechnologies
Copy link
Owner

If the precompiled API is an issue then I would like to fix that separate from any GUI issues. I presume then that you are also unable to use the ximu3 Python package or run the C or C++ examples?

We will look into AppImage for the x-IMU3 GUI.

@lit-af
Copy link
Author

lit-af commented Feb 18, 2025

I dunno about the examples as I wanted to use the GUI for data collection. I'll have to run more tests. I believe I might be able to use the pre-compiled API if I use gcc-12 instead of the default gcc-11.3.

@xioTechnologies
Copy link
Owner

I would be surprised if the pre-compiled API has this compiler limitation. It is a static/dynamic library with a simple header file. It uses some C99 features but I presume nothing gcc-11.3 (released 2022) does not support. Let me know what you find.

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