You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
We intend to use this issue to track and document problems with building and using SLING on Windows Subsystem for Linux (WSL) and solutions for this these.
While we do not currently intend to check these into the main code base, it can serve as a guide to those who want to use it on WSL anyway.
The text was updated successfully, but these errors were encountered:
anders-sandholm
changed the title
Building SLING on Windows Subsystem Linux (WSL)
Building SLING on Windows Subsystem for Linux (WSL)
Nov 21, 2018
As noted in #291, on WSL you may come across an executable stack error like:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/sling/__init__.py", line 1, in <module>
import pysling as api
ImportError: /usr/lib/python2.7/dist-packages/sling/pysling.so: cannot enable executable stack as shared object requires: Invalid argument
As also reported in #291, using the solution from microsoft/WSL#916 (comment) (i.e. execstack -c /usr/local/lib/opencv.so*) seems to fix the issue. Another option may be to simply disable the executable stacks using the -z noexecstack GCC flag.
We currently only support Linux out-of-the-box.
We intend to use this issue to track and document problems with building and using SLING on Windows Subsystem for Linux (WSL) and solutions for this these.
While we do not currently intend to check these into the main code base, it can serve as a guide to those who want to use it on WSL anyway.
The text was updated successfully, but these errors were encountered: