Windows Compile Issue with Unreal3.2.5

These are old archives. They are kept for historic purposes only.
Post Reply
McDarby
Posts: 19
Joined: Tue Jan 11, 2005 6:58 am
Location: Bangor, Pennsylvania

Windows Compile Issue with Unreal3.2.5

Post by McDarby »

Hi, I am not sure what the problem is here, I just got Visual C++ 2005 Express Edition and Microsoft Platform SDK installed and was trying to a Win32 compile in Visual Studio 8 command prompt. And there seems to be a problem where the following happened, and I don't know what the problem is. I was even trying it with the latest official CVS tarball of 3.2.5, and is still the same. Could someone please help me here, thanks. Oh, and the OS is Windows Server 2003.

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

C:\Program Files\Microsoft Visual Studio 8\VC>cd ..

C:\Program Files\Microsoft Visual Studio 8>cd ..

C:\Program Files>cd ..

C:\>cd Unreal3.2-cvs

C:\Unreal3.2-cvs>nmake -f makefile.win32

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

config.c
src/win32/config.c(5) : warning C4996: 'fopen' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(234) : see
declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_
s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help
for details.'
src/win32/config.c(32) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(73) : see
declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using strcpy
_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online hel
p for details.'
src/win32/config.c(37) : warning C4996: 'fopen' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(234) : see
declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_
s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help
for details.'
src/win32/config.c(53) : warning C4996: 'fopen' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(234) : see
declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_
s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help
for details.'
src/win32/config.c(56) : warning C4996: 'fopen' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(234) : see
declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_
s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help
for details.'
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

/out:config.exe
config.obj
cl /MD /Zi /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo
/D FD_SETSIZE=16384 /D NOSPOOF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _USE_32BIT
_TIME_T src/win32/unreal.c
unreal.c
src/win32/unreal.c(20) : fatal error C1083: Cannot open include file: 'windows.h
': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.

C:\Unreal3.2-cvs>
McDarby
Posts: 19
Joined: Tue Jan 11, 2005 6:58 am
Location: Bangor, Pennsylvania

Post by McDarby »

Okay, finally got an SDK that has that missing Windows.h file, but then it ended up introducing a number of fatal warnings and at the end is the following:

Code: Select all

wircd.def : error LNK2001: unresolved external symbol add_remote_include
wircd.def : error LNK2001: unresolved external symbol add_send_mode_param
wircd.def : error LNK2001: unresolved external symbol badwords_stats
wircd.def : error LNK2001: unresolved external symbol ban_version
wircd.def : error LNK2001: unresolved external symbol fast_badword_match
wircd.def : error LNK2001: unresolved external symbol fast_badword_replace
wircd.def : error LNK2001: unresolved external symbol find_loaded_remote_include

wircd.def : error LNK2001: unresolved external symbol find_remote_include
wircd.def : error LNK2001: unresolved external symbol m_names
wircd.def : error LNK2001: unresolved external symbol mystpcpy
wircd.def : error LNK2001: unresolved external symbol our_strcasestr
wircd.def : error LNK2001: unresolved external symbol remote_include
wircd.def : error LNK2001: unresolved external symbol send_channel_modes
wircd.def : error LNK2001: unresolved external symbol send_channel_modes_sjoin
wircd.def : error LNK2001: unresolved external symbol send_channel_modes_sjoin3
wircd.def : error LNK2001: unresolved external symbol snprintf
wircd.def : error LNK2001: unresolved external symbol stripbadwords
wircd.def : error LNK2001: unresolved external symbol w_whois
wircd.def : error LNK2001: unresolved external symbol webtv_cmds
wircd.def : error LNK2001: unresolved external symbol webtv_parse
wircd.lib : fatal error LNK1120: 20 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

C:\Unreal3.2>
And it seemed to have created a Wircd.exe and Unreal.exe, but after copying an unrealircd.conf into the directory from the directory of the previous version and trying to run Wircd.exe, I just get a message that Wircd.exe is not a valid Win32 application. And I don't know what the problem is this time, but if someone could help me out, please do.

--
Erik
McDarby
Posts: 19
Joined: Tue Jan 11, 2005 6:58 am
Location: Bangor, Pennsylvania

Post by McDarby »

Just did the SYMBOLFILE fix as explained in the FAQ, and it seemed to compiled okay including a somewhat working Wircd.exe. Got the Tre.dll message, took care of that, but then I got the following message.

WIRCD.EXE - Entry Point Not Found

The procedure entry point _except_handle4_common could not be located in the dynamic link library MSVCR80.dll

The procedure entry point __timezone could not be located in the dynamic link library MSVCR80.dll

Again, I'm unsure what the problem is this time, any help is appreciated.
Post Reply