GlaDOS icon indicating copy to clipboard operation
GlaDOS copied to clipboard

Windows library issues

Open IngilizAdam opened this issue 1 year ago • 3 comments

Phonemizer class is crashing in __init__ due to loading libc.so.6. Since Windows doesn't have that shared object, this is expected.

Simple solution would be to use msvcrt instead of libc.so.6 in Windows but this class doesn't include some of the method definitions such as open_memstream. So we also need to check OS each time we access this object and select the accurate method definition.

Or we can create a C program to provide access to the necessary methods and compile it into a shared object or DLL. And then load that library instead of msvcrt and libc. This way code would be much cleaner imho.

I can work on the desired solution.

IngilizAdam avatar May 03 '24 04:05 IngilizAdam

Same issue on MacOS and my instance of Ubuntu

Feror-BotMaker avatar May 03 '24 09:05 Feror-BotMaker

Same issue on MacOS and my instance of Ubuntu

Check the link below to fix it in Ubuntu

https://askubuntu.com/questions/189318/missing-lib-libc-so-6

IngilizAdam avatar May 03 '24 12:05 IngilizAdam

Same issue on MacOS and my instance of Ubuntu

Check my comments on this PR for a MacOS fix: https://github.com/dnhkng/GlaDOS/pull/9

Traxmaxx avatar May 03 '24 14:05 Traxmaxx

This was fixed in #33

dnhkng avatar May 11 '24 07:05 dnhkng