-
Notifications
You must be signed in to change notification settings - Fork 37
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
Missing Installation Instructions and C++20 Compatibility for Pop!_OS 22.04 (LTS) #77
Comments
Hi, Per GSmartControl's software requirements page, GCC 13 is the minimum supported version. As for the installation steps, I'll add them to the requirements page. |
Feedback on GCC Requirement and Installation Process Hi Alex, Thank you for the response and for planning to update the installation steps on the requirements page. However, I’d like to express a concern that might affect many users. As you mentioned, GCC 13 is required for proper C++20 support, but many users (especially those on LTS systems like Pop!_OS 22.04, Ubuntu, etc.) are stuck with GCC 11 or 12 as part of their stable repositories. These systems are widely used for their stability, security, and long-term support, but the lack of compatibility with GSmartControl's build process creates a barrier to using your tool. Moreover, since no official repository, AppImage, or Flatpak is provided, users who cannot or do not want to upgrade GCC to a much newer version are left without a way to use your software. For LTS users, being left with only the option to manually build with potentially breaking dependencies or having to upgrade their system's core components feels like an oversight. If possible, could you consider adding:
I’m sure many users like myself would appreciate it, especially considering the popularity of LTS distributions for production environments. Thanks again for the work you’re doing, and I hope this feedback helps make GSmartControl more accessible to all users. Best regards, |
It seems you can install gcc 13 on Ubuntu 22.04: Having said that, gsmartcontrol 1.1.4 should be available in Ubuntu 22.04 repositories. It works fine if you're not interested in NVMe support. There is a request for AppImage support, see #75. However, it is unlikely that an AppImage built on a modern Ubuntu will work on an older one. |
@Photolunatic As for getting newer gcc - you can probably install it using Homebrew and compile it manually. |
@Photolunatic Would you mind trying compiling the git main version? Thanks |
Hi Alexander, Thank you for taking the time to address this issue. I truly appreciate your efforts in trying to make this work for users like me. Unfortunately, I’m a bit time-restrained over the next few days, but I’ll definitely look into testing the new version as soon as I can. Thanks again for your responsiveness and support! |
Version and Environment
Describe the Bug
When attempting to build gsmartcontrol on Pop!_OS 22.04 (LTS) from source, I encounter errors related to missing C++20 features (e.g., std::format). Despite using g++-11, which should support C++20, the build fails with errors like:
fatal error: format: No such file or directory
To Reproduce Steps to reproduce the behavior:
Screenshots
![Image](https://private-user-images.githubusercontent.com/76048167/410570483-c02d4d9c-ce32-4d8a-9555-1f48e056043c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5NjA5NDIsIm5iZiI6MTczOTk2MDY0MiwicGF0aCI6Ii83NjA0ODE2Ny80MTA1NzA0ODMtYzAyZDRkOWMtY2UzMi00ZDhhLTk1NTUtMWY0OGUwNTYwNDNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE5VDEwMjQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRlMmU3NzNlZDEwMTY4YTcyM2E5MTYzMzk2NjQ4YWVmYmM0MWFmM2I1NzQ3YWE3MWM0YzMyZGQ4YjhjNTQ0NGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fVYwp6unPSs2VP8gpTUOOHUtmcJc286f6_XO5ridQCU)
Additional Context
I’m using the default system configuration for Pop!_OS 22.04 LTS. This is a widely used LTS version, so I find it odd that there are no packages or repository dedicated for it. I could not find an installation/ building steps in the README. There seems to be no AppImage, or Flatpak available, which is why I tried building from source.
It would be great if the project provided installation steps, along with the necessary prerequisites for systems like 22.04 LTS. Or, if there’s a known workaround for this issue, please let me know.
The text was updated successfully, but these errors were encountered: