-
Notifications
You must be signed in to change notification settings - Fork 178
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
Support QNX platform. #116
Comments
Thank you! That looks like it should work, I'll look into it. |
I tested it briefly and found it crashed(when I create dir it throw)... |
Sadly, contrary to what I expected, I couldn't get access to a QNX installation and didn't want do register and apply for a 30 days evaluation, as that wouldn't allow me to further support it after 30 days, so I currently have no way to check it myself. |
Thanks for trying my suggestion, I have solved it now.
I have tested and it works, you can add this. |
|
Sorry for the delay! The reason I didn't simply use your solution was, that I wanted the way to support systems without I used a macro to select no-d_type support to allow easier integration for other systems that might need it. |
This is now part of release v1.5.6 |
platform: qnx700, aarch64, c++14 support (POSIX support)
Got error:
|
2021/09/04: works totally fine on QNX. 😢 Sorry for the disruption. |
latest version, compiled on android arm-64 pass |
Similar problem with QNX 7.1.0 (x86_64):
|
This is better kept at #169 as comments at an old issue get lost fast, but as written there, I need help or PRs to fix that. There is no free QNX dev environment to test and debug this myself, at least I couldn't find a legal one, and I'm not willing to buy a license I don't need for myself, so QNX support sadly is not an official feature but one backed by help of others, I can't check it by CI and I can't do it myself. |
I worked on QNX years ago (and ghc_filesystem worked). This patch may be useful: https://gist.github.com/district10/9937754bdcdd5321a56430f491088de9 Specially, add these to your CMakeLists.txt may resolve your problem: (I still have no idea why. It's tricky.)
Or this:
You may read |
platform: qnx700, aarch64, c++11 support (POSIX support)
"Operating system currently not supported!"
And It looks like the 'struct dirent' has no 'd_type'
I try to modify:
filesystem.hpp:
I don’t know if the changes are correct, but the compilation passed.
thanks.
The text was updated successfully, but these errors were encountered: