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

GCC 8 Required Link to Filesystem #103

Open
connorfuhrman opened this issue Oct 31, 2021 · 0 comments
Open

GCC 8 Required Link to Filesystem #103

connorfuhrman opened this issue Oct 31, 2021 · 0 comments

Comments

@connorfuhrman
Copy link

I'm compiling ProtoGen on a Raspberry Pi with GCC version Raspbian 8.3.0-6+rpi1 and needed to add unix:LIBS += -lstdc++fs to the ProtoGen.pro file to overcome linker errors to things in std::filesystem. One can get around this by using a newer compiler (apparently GCC 9+ doesn't need -lstdc++fs per https://stackoverflow.com/questions/53852684/stdfilesystem-link-error-on-ubuntu-18-10) but if using GCC8 add the extra linker flag if you're running into linking errors.

Perhaps this could be added to the QT project file or just a disclaimer on the README for older compilers?

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

1 participant