Build not working with Community 2026
Author: mortlockpaul-archCreated Aug 15, 2026Updated Aug 16, 2026
Labelsbug
Validation
- I've read the FAQ.
- The Xenia build used is from the master branch (not MLBS/AlexVS/Canary/pull requests, etc.)
- This issue isn't for tech support (help with Xenia).
- If this issue occurs in a specific game, I've done analysis to locate the faulty subsystem of the emulator and a potential reason in it.
- I've checked if this issue hasn't already been reported.
- My device meets the minimum requirements: https://github.com/xenia-project/xenia/wiki/Quickstart#system-requirements
- (If building) I have read the building doc: https://github.com/xenia-project/xenia/blob/master/docs/building.md
Describe what's going wrong
Build command fails
Describe what should happen
if version < 16:
if 'VS140COMNTOOLS' in os.environ:
version = 2015
vcvars_path = os.environ['VS140COMNTOOLS']
vcvars_path = os.path.join(vcvars_path, '..\\..\\vc\\vcvarsall.bat')
env_tool_args = [vcvars_path, 'x64', '&&', 'set']
else:
vsdevcmd_path = os.path.join(install_path, 'Common7\\Tools\\VsDevCmd.bat')
if os.path.isfile(vsdevcmd_path) and os.access(vsdevcmd_path, os.X_OK):
env_tool_args = [vsdevcmd_path, '-arch=amd64', '-host_arch=amd64', '&&', 'set']
else:
vcvars_path = os.path.join(install_path, 'VC\\Auxiliary\\Build\\vcvarsall.bat')
env_tool_args = [vcvars_path, 'x64', '&&', 'set']
if version == 0:
return None
import_subprocess_environment(env_tool_args)
os.environ['VSVERSION'] = str(version)
return versionversion comes back as 18 and skips the setup
If applicable, provide a callstack here, especially for crashes
No response
If applicable, upload a logfile and link it here
No response
Source: xenia-project/xenia