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
Under Cygwin, pygs doesn't correctly find the standard C library.
The culprit is the following line in pygs/graphserver/gsdll.py:
libc = cdll.LoadLibrary(find_library('c'))
A more general solution would be to replace the above line with something like:
# Adapted from ctypes.test.test_loading
# Find and load the c runtime library
libc_name = None
if sys.platform == "cygwin":
libc_name = "cygwin1.dll"
else:
libc_name = find_library("c")
if not libc_name:
raise ImportError('could not determine which c runtime library to
use')
libc = cdll.LoadLibrary(libc_name)
The text was updated successfully, but these errors were encountered:
Under Cygwin, pygs doesn't correctly find the standard C library.
The culprit is the following line in pygs/graphserver/gsdll.py:
libc = cdll.LoadLibrary(find_library('c'))
A more general solution would be to replace the above line with something like:
The text was updated successfully, but these errors were encountered: