The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: JHGuitarFreak on July 05, 2011, 09:06:37 am



Title: 31 Errors while trying to build UQM.
Post by: JHGuitarFreak on July 05, 2011, 09:06:37 am
Code:
Compiling...
2xscalers_3dnow.c
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(111) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(413) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(420) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(69) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(70) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(71) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(101) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(116) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(121) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(122) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(123) : error C2400: inline assembler syntax error in 'opcode'; found '['
2xscalers_mmx.c
2xscalers_sse.c
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(111) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(227) : warning C4405: 'mm1' : identifier is reserved word
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(227) : error C2400: inline assembler syntax error in 'opcode'; found 'mm1'
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(413) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(420) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(453) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\scalemmx.h(467) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(69) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(70) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(71) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(89) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(91) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(101) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(104) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(106) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(108) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(109) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(116) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(121) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(122) : error C2400: inline assembler syntax error in 'opcode'; found '['
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-TDM\src\libs\graphics\sdl\nearest2x.c(123) : error C2400: inline assembler syntax error in 'opcode'; found '['

Obviously having to do with the scalers, doesn't throw errors at me if I I set the build to "Win32 Release NoAccel"
Not a big deal since using NoAccel the .exe will be around 3 MB rather than 1 MB.


Title: Re: 31 Errors while trying to build UQM.
Post by: fossil on July 05, 2011, 06:32:23 pm
It's barfing on prefetch opcodes. Need to know the exact version of the MSVC compiler that you are using in order to help. If this is MSVC 6, you must have Service Pack 5 and Processor Pack installed. I think VS6 Service Pack 6 also contains the processor pack, if that makes it any easier.


Title: Re: 31 Errors while trying to build UQM.
Post by: JHGuitarFreak on July 05, 2011, 11:28:39 pm
Well that seemed to help but it still threw a couple of errors at me:

Code:
D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-FMV\src\libs\graphics\sdl\nearest2x.c(69) : fatal error C1601: unsupported inline assembly opcode

D:\Docs\Software\Games\PC\Uqm-Source\0.7.0\uqm-0.7.0-FMV\src\libs\graphics\sdl\nearest2x.c(69) : fatal error C1601: unsupported inline assembly opcode

I looked up on Google and apparently SP6 doesn't have all the assemblies, so I gotta uninstall that and install SP5 with the Processor Pack.