
TremFusion compile fails on Win32 using Visual Studio 2008
Output from BuildLog.htm for project "tremfusion" (uix86.dll, gamex86.dll, cgamex86.dll all build properly).
OS: Windows Server 2008 R2 Enterprise
Compiler: Visual C++ 2008
Branch: trem-compat
Code:
Build Log
Build started: Project: tremfusion, Configuration: release|Win32
Command Lines
Creating temporary file "c:\Users\Administrator\Downloads\trem\misc\msvc\tremfusion\release\RSP0000015842444.rsp" with contents
[
/O2 /Oi /GL /I "..\..\..\src\SDL12\include" /I "..\..\..\src\libspeex\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "USE_LOCAL_HEADERS" /D "USE_OPENAL" /D "USE_OPENAL_DLOPEN" /D "USE_ICON" /D "USE_VOIP" /D "USE_MUMBLE" /D "FLOATING_POINT" /D "USE_ALLOCA" /D "inline=__inline" /FD /EHsc /MD /Gy /Fo"release\\" /Fd"release\vc90.pdb" /W4 /c /TC /wd4996 ..\..\..\src\qcommon\unzip.c
..\..\..\src\sys\sys_win32.c
..\..\..\src\server\sv_main.c
..\..\..\src\qcommon\files.c
..\..\..\src\client\cl_scrn.c
..\..\..\src\client\cl_console.c
]
Creating command line "cl.exe @c:\Users\Administrator\Downloads\trem\misc\msvc\tremfusion\release\RSP0000015842444.rsp /nologo /errorReport:prompt"
Output Window
Compiling...
unzip.c
c:\users\administrator\downloads\trem\src\zlib\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
sys_win32.c
..\..\..\src\sys\sys_win32.c(635) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\sys\sys_win32.c(636) : error C2065: 'win32_showconsole' : undeclared identifier
sv_main.c
..\..\..\src\server\sv_main.c(536) : error C2143: syntax error : missing ';' before 'const'
..\..\..\src\server\sv_main.c(540) : error C2065: 'message' : undeclared identifier
..\..\..\src\server\sv_main.c(540) : warning C4047: '=' : 'int' differs in levels of indirection from 'char *'
..\..\..\src\server\sv_main.c(543) : error C2065: 'message' : undeclared identifier
..\..\..\src\server\sv_main.c(543) : warning C4047: '=' : 'int' differs in levels of indirection from 'char *'
..\..\..\src\server\sv_main.c(546) : error C2065: 'message' : undeclared identifier
..\..\..\src\server\sv_main.c(550) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\server\sv_main.c(551) : error C2065: 'timestamp' : undeclared identifier
..\..\..\src\server\sv_main.c(551) : warning C4022: 'FS_Write' : pointer mismatch for actual parameter 1
..\..\..\src\server\sv_main.c(551) : error C2065: 'timestamp' : undeclared identifier
..\..\..\src\server\sv_main.c(551) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
..\..\..\src\server\sv_main.c(551) : warning C4024: 'strlen' : different types for formal and actual parameter 1
..\..\..\src\server\sv_main.c(552) : error C2065: 'message' : undeclared identifier
..\..\..\src\server\sv_main.c(552) : warning C4022: 'FS_Write' : pointer mismatch for actual parameter 1
..\..\..\src\server\sv_main.c(552) : error C2065: 'message' : undeclared identifier
..\..\..\src\server\sv_main.c(552) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
..\..\..\src\server\sv_main.c(552) : warning C4024: 'strlen' : different types for formal and actual parameter 1
files.c
c:\users\administrator\downloads\trem\src\zlib\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
cl_scrn.c
..\..\..\src\client\cl_scrn.c(168) : error C2275: 'fontInfo_t' : illegal use of this type as an expression
c:\users\administrator\downloads\trem\src\client\../qcommon/q_shared.h(1314) : see declaration of 'fontInfo_t'
..\..\..\src\client\cl_scrn.c(168) : error C2065: 'font' : undeclared identifier
..\..\..\src\client\cl_scrn.c(170) : error C2275: 'glyphInfo_t' : illegal use of this type as an expression
c:\users\administrator\downloads\trem\src\client\../qcommon/q_shared.h(1308) : see declaration of 'glyphInfo_t'
..\..\..\src\client\cl_scrn.c(170) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(170) : error C2065: 'font' : undeclared identifier
..\..\..\src\client\cl_scrn.c(170) : error C2223: left of '->glyphs' must point to struct/union
..\..\..\src\client\cl_scrn.c(172) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\client\cl_scrn.c(175) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\client\cl_scrn.c(177) : error C2065: 'xadj' : undeclared identifier
..\..\..\src\client\cl_scrn.c(177) : error C2065: 'yadj' : undeclared identifier
..\..\..\src\client\cl_scrn.c(177) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(177) : error C2223: left of '->imageWidth' must point to struct/union
..\..\..\src\client\cl_scrn.c(177) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(177) : error C2223: left of '->imageHeight' must point to struct/union
..\..\..\src\client\cl_scrn.c(178) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(178) : error C2223: left of '->s' must point to struct/union
..\..\..\src\client\cl_scrn.c(178) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(178) : error C2223: left of '->t' must point to struct/union
..\..\..\src\client\cl_scrn.c(179) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(179) : error C2223: left of '->s2' must point to struct/union
..\..\..\src\client\cl_scrn.c(179) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(179) : error C2223: left of '->t2' must point to struct/union
..\..\..\src\client\cl_scrn.c(180) : error C2065: 'glyph' : undeclared identifier
..\..\..\src\client\cl_scrn.c(180) : error C2223: left of '->glyph' must point to struct/union
..\..\..\src\client\cl_scrn.c(180) : error C2198: 'function through pointer' : too few arguments for call
cl_console.c
..\..\..\src\client\cl_console.c(865) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\client\cl_console.c(867) : error C2065: 'totalwidth' : undeclared identifier
..\..\..\src\client\cl_console.c(869) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\client\cl_console.c(871) : error C2065: 'totalwidth' : undeclared identifier
..\..\..\src\client\cl_console.c(871) : error C2065: 'currentWidthLocation' : undeclared identifier
..\..\..\src\client\cl_console.c(872) : error C2065: 'currentWidthLocation' : undeclared identifier
..\..\..\src\client\cl_console.c(923) : error C2143: syntax error : missing ';' before 'type'
..\..\..\src\client\cl_console.c(934) : error C2065: 'currentWidthLocation' : undeclared identifier
..\..\..\src\client\cl_console.c(935) : error C2065: 'currentWidthLocation' : undeclared identifier
Results
Build log was saved at "file://c:\Users\Administrator\Downloads\trem\misc\msvc\tremfusion\release\BuildLog.htm"
tremfusion - 47 error(s), 8 warning(s)