Closed hofcake closed 8 years ago
I'm going to guess that there's an issue with your Python installation.
Try using another python version.
-----Wiadomość oryginalna----- Od: "TranzRail" notifications@github.com Wysłano: 2015-10-19 12:14 Do: "benvanik/xenia" xenia@noreply.github.com Temat: Re: [xenia] Build Failure due to not finding a file (#441)
I'm going to guess that there's an issue with your Python installation. — Reply to this email directly or view it on GitHub.
I had to manually add Python to root by doing this: http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path
The documentation here will tell you how to add the Python installation directory to the PATH variable if not already done so. If your issue is resolved, please report back here so this issue can be closed.
Thanks.
I am still having the issue after trying different versions and making sure it is in PATH.
Total errors found: 1763
I just ran xb style
For reference, I'm using Python 2.9.7 x64. I'd suggest giving that a try.
Windows x86-64 executable installer?
Correct.
I used that as well
Have you been able to build after the most recent commits?
Just doing a fresh pull. Will let you know soon.
Yes, I was able to do a fresh clone and build. Xenia ran as expected.
What OS?
I am using Windows 10.... I don't think they changed anything since Windows 8 that is relevant though.
How are you running the commands? A console output of the errors would be helpful.
I first run setup (that works), then
'C:\Users\hofst\xenia>xb build
Building debug...
- running premake...
Building configurations...
Running action 'vs2015'...
Generating build/xenia.sln...
Generating build/capstone.vcxproj...
Generating build/capstone.vcxproj.filters...
Generating build/elemental-forms.vcxproj...
Generating build/elemental-forms.vcxproj.filters...
Generating build/elemental-forms-testbed.vcxproj...
Generating build/elemental-forms-testbed.vcxproj.user...
Generating build/elemental-forms-testbed.vcxproj.filters...
Generating build/glew.vcxproj...
Generating build/imgui.vcxproj...
Generating build/libavcodec.vcxproj...
Generating build/libavcodec.vcxproj.filters...
Generating build/libavutil.vcxproj...
Generating build/libavutil.vcxproj.filters...
Generating build/xxhash.vcxproj...
Generating build/gflags.vcxproj...
Generating build/gflags.vcxproj.filters...
Generating build/xenia-core.vcxproj...
Generating build/xenia-app.vcxproj...
Generating build/xenia-app.vcxproj.filters...
Generating build/xenia-apu.vcxproj...
Generating build/xenia-apu-nop.vcxproj...
Generating build/xenia-base.vcxproj...
Generating build/xenia-base-tests.vcxproj...
Generating build/xenia-base-tests.vcxproj.filters...
Generating build/xenia-cpu.vcxproj...
Generating build/xenia-cpu.vcxproj.filters...
Generating build/xenia-cpu-tests.vcxproj...
Generating build/xenia-cpu-tests.vcxproj.filters...
Generating build/xenia-cpu-frontend-tests.vcxproj...
Generating build/xenia-cpu-frontend-tests.vcxproj.user...
Generating build/xenia-cpu-frontend-tests.vcxproj.filters...
Generating build/xenia-cpu-backend-x64.vcxproj...
Generating build/xenia-debug.vcxproj...
Generating build/xenia-debug-ui.vcxproj...
Generating build/xenia-gpu.vcxproj...
Generating build/xenia-gpu-gl4.vcxproj...
Generating build/xenia-gpu-gl4-trace-viewer.vcxproj...
Generating build/xenia-gpu-gl4-trace-viewer.vcxproj.user...
Generating build/xenia-gpu-gl4-trace-viewer.vcxproj.filters...
Generating build/xenia-hid.vcxproj...
Generating build/xenia-hid-nop.vcxproj...
Generating build/xenia-kernel.vcxproj...
Generating build/xenia-kernel.vcxproj.filters...
Generating build/xenia-ui.vcxproj...
Generating build/xenia-ui-gl.vcxproj...
Generating build/xenia-vfs.vcxproj...
Generating build/xenia-vfs.vcxproj.filters...
Generating build/xenia-apu-xaudio2.vcxproj...
Generating build/xenia-hid-winkey.vcxproj...
Generating build/xenia-hid-xinput.vcxproj...
Done.
- building (all):debug...
Traceback (most recent call last):
File "xenia-build", line 1013, in <module>
main()
File "xenia-build", line 86, in main
return_code = command.execute(args, pass_args, os.getcwd())
File "xenia-build", line 534, in execute
result = super(BuildCommand, self).execute(args, pass_args, cwd)
File "xenia-build", line 500, in execute
pass_args, throw_on_error=False)
File "xenia-build", line 174, in shell_call
result = subprocess.call(command, shell=False, stdout=stdout_file)
File "C:\Python27\lib\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Python27\lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
Have you got the latest Visual Studio 2015 installed? Also, is there any reason as to why you put xenia in the root of your user profile folder?
I have Visual Studio, I have no reason for having Xenia in my profiles root.
I think the error is with Python trying to launch Visual Studio. Line 500 in the Python script points to this -->
(Line 493) result = shell_call([ 'devenv', '/nologo', 'build/xenia.sln', '/rebuild' if args['force'] else '/build', args['config'], ] + [('/project ', target) for target in args['target']] + pass_args, throw_on_error=False)
I started a C project in Visual Studio, and now it is downloading some more. Perhaps the initial download did not contain all the necessary files.
Lets hope that does it.
It worked!
Unhandled exception at 0x00007FFFEE674388 (ucrtbase.dll) in xenia.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
I assume this is because I have no game.
I am also failing the CPU tests (all of them). I am using a 5820k.
How did you launch xenia?
I am running the CPU Tests. By launching the exe.
Can you post a screenshot?
is a Catch v1.2.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
PACK_FLOAT16_2
-------------------------------------------------------------------------------
..\src\xenia\cpu\testing\pack_test.cc(38)
...............................................................................
..\src\xenia\cpu\testing\pack_test.cc(54): FAILED:
REQUIRE( result == vec128i(0, 0, 0, 0x7FFFFFFF) )
with expansion:
{?} == {?}
-------------------------------------------------------------------------------
PACK_FLOAT16_4
-------------------------------------------------------------------------------
..\src\xenia\cpu\testing\pack_test.cc(66)
...............................................................................
..\src\xenia\cpu\testing\pack_test.cc(83): FAILED:
REQUIRE( result == vec128i(0x00000000, 0x00000000, 0x64D26D8C, 0x48824491) )
with expansion:
{?} == {?}
-------------------------------------------------------------------------------
PACK_SHORT_2
-------------------------------------------------------------------------------
..\src\xenia\cpu\testing\pack_test.cc(87)
...............................................................................
..\src\xenia\cpu\testing\pack_test.cc(95): FAILED:
REQUIRE( result == vec128i(0) )
with expansion:
{?} == {?}
It exits to quickly for me to get much.
Do you know where one can acquire an ISO to test with?
Per the rules, I can't answer that question. FYI, Xenia can actually load .xex files directly.