-
Notifications
You must be signed in to change notification settings - Fork 225
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
WSL Support #46
Comments
I am not a CFS maintainer so I might be wrong and also I am not a Windows user but I have set up cFS on Ubuntu recently. I had a few initialization-related errors so maybe the errors that you are seeing are not Windows- but Linux-specific. First of all, you can enable the debug lines:
After doing that and following the CFS recommendations you will most likely have to do:
I think this was it for me to run it on Ubuntu. Hope this helps. |
Thank you for the tips! I followed your Ubuntu setup steps. The only difference between your environment and my WSL is that there is no After following the steps, I still fail to initialize:
Looks like this is coming from line 1498 of my copy of osapi.c. Further investigation shows that I'm running WSL version 1 with Windows 10 build: This indicates that I likely have the same issue described here: microsoft/WSL#3449 Thank you again for your help. Looks like my WSL isn't going to work with this until my Win10 gets upgraded. |
@Flern thanks for the update, definitely keep us in the loop if you get this working. I've been interested in WSL myself. |
Correct - I have tested on WSL in the past and can confirm that that WSL lacks POSIX mqueue support which is what prevents it from running in this environment. This would be resolved by implementing a semaphore-based mqueue alternative within OSAL. This would also be helpful for OSX and there may even be an existing enhancement ticket for this. |
Hello:
I cloned and built using the README instructions (both permissive and non-permissive, and launched with / without sudo) and I get the OS_API_INIT error on startup.
I'm running the Ubuntu distro on Windows Subsystem for Linux. Surely that's the root cause. No urgent need to get it running, just wondered if this deployment is something on the roadmap for future support.
If more specific troubleshooting is desired, let me know how to gather the information and I'll get it for you.
The text was updated successfully, but these errors were encountered: