Open Estrangeling opened 3 years ago
I'm afraid Gnofract 4D only works on Unix-based systems
It's not native, but Gnofract 4D will run on Windows 11 with Windows Subsystem for Linux WSLg Preview.
After installing Ubuntu from the Microsoft Store (and if using pip for Gnofract 4D installation: sudo apt install python3-pip
) can then follow the Ubuntu instructions in README.md.
If pip
was used, gnofract4d
will be installed in ~/.local/bin/
. If ~/.local/bin
didn't already exist it won't be in PATH until the next time WSL is started.
No entry is added to the Windows Start menu, because ~/.local/share/applications
is not scanned for .desktop
files, but you can create your own shortcut with the target:
wsl ~ -d Ubuntu -- ~/.local/bin/gnofract4d
Now you only need WSL from the Microsoft Store on both Windows 10 and Windows 11.
I am using Python 3.9.1 amd64 on Windows 10 20H2, I am not very experienced in Python however I am very experienced in PowerShell 7, I was able to diagnose the cause of the issue myself, the traceback said line 27 caused the error, line 27 gets the value of CFLAGS variable using get_config_var method of sysconfig type, the value is a string, it deletes "-Wstrict-prototypes" substring and assigns the result value to os.environ["CFLAGS"].
As a quick diagnosis, I opened Python, and run:
They returned nothing, meaning the variables don't exist. I deleted lines 24 to 30, this is solved, however it then says:
Unable to check for 'libpng', pkg-config not installed
I tried to run pip install libpng and pkg-config, but no matching distribution found...