Skip to content
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

Windows compiling guide needs to be updated #673

Open
Mateos81 opened this issue Dec 10, 2021 · 6 comments
Open

Windows compiling guide needs to be updated #673

Mateos81 opened this issue Dec 10, 2021 · 6 comments

Comments

@Mateos81
Copy link
Contributor

Hello,

I'm going though the "Compiling GtkRadiant on Windows" page and it needs some updates (and also I get a Scons error ^^')
https://icculus.org/gtkradiant/documentation/windows_compile_guide/
SVN -> Take the non-Edge release
Scons -> The latest Scons release supporting Python 2.7 is 2.5.1
Source: https://scons.org/scons-251-is-available.html
Download: https://sourceforge.net/projects/scons/files/scons/2.5.1/

When I run C:\Python27\Scripts\scons.bat target=setup I get:

scons: Reading SConscript files ...
ImportError: No module named request:
File "E:\src\git\GtkRadiant\TTimo\GtkRadiant\SConstruct", line 10:
import utils, config
File "E:\src\git\GtkRadiant\TTimo\GtkRadiant\config.py", line 10:
import urllib.request

I haven't ran any git submodule command fyi

What am I missing/doing wrong?

@jdolan
Copy link
Collaborator

jdolan commented Dec 10, 2021

#674

@jdolan
Copy link
Collaborator

jdolan commented Dec 10, 2021

If that works for you, I'll go ahead and merge. I thought this issue was maybe macOS specific... interesting that you're seeing it on Wintoons.

@Mateos81
Copy link
Contributor Author

Nope, still not:

scons: Reading SConscript files ...
ImportError: No module named urllib3.request:
File "E:\src\git\GtkRadiant\TTimo\GtkRadiant\SConstruct", line 10:
import utils, config
File "E:\src\git\GtkRadiant\TTimo\GtkRadiant\config.py", line 10:
import urllib3.request

@Mateos81
Copy link
Contributor Author

Mateos81 commented Dec 10, 2021

That line changed in 9d02fd9 seems to be a Python 3 thingy according to https://stackoverflow.com/questions/24652074/importerror-no-module-named-request

Edit: OK so I guess we're supposed to use Python 3 instead of 2.7 now 5039305

@illwieckz
Copy link
Contributor

Ah yes, better try python3!

@Mateos81
Copy link
Contributor Author

Alright, so here are all the steps that changed:

Updating Compiling GtkRadiant on Windows

SVN -> Take the non-Edge release

Install Python 3 (x64 is fine): https://www.python.org/downloads/windows/
Install Scons through Python pip (normal cmd, pip install scons)
Run the installed scons.exe (AppData) in the radiant-work\GtkRadiant folder with target=setup

Install Windows SDK 8.1: https://developer.microsoft.com/fr-fr/windows/downloads/sdk-archive/

If you install VS 2019, make sure to install XP v141 component through Individual components VS Install tab

(Perhaps also retake a screen capture of VS :P)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants