[Resolved] Unreal3.2.5 + Visual C++ 2005 Express + PSDK

These are old archives. They are kept for historic purposes only.
Post Reply
frozen
Posts: 53
Joined: Sat Jun 12, 2004 7:39 am

[Resolved] Unreal3.2.5 + Visual C++ 2005 Express + PSDK

Post by frozen »

I have downloaded and installed Visual C++ 2005 Express Edition along with the Microsoft Platform SDK for Windows Server 2003 SP1 (from the links in the compiling_win32.txt). I opened Microsoft Visual C++ 2005 Express Edition and added the PSDK Bin, Include and Lib folders to the directories (and moved them to the top of the list) but when I try and compile Unreal3.2.5 in the Visual Studio 2005 Command Prompt I get

Code: Select all

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

C:\Program Files\Microsoft Visual Studio 8\VC>f:

F:\>cd dev

F:\dev>cd unreal3.2

F:\dev\Unreal3.2>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.

F:\dev\Unreal3.2>
So I tried Start Menu -> Programs -> Microsoft Platform SDK for Windows Server 2003 SP1 -> Open Build Environment Window -> Windows XP 32-bit Build Environment -> Set Windows XP 32-bit Build Environment (Debug) and I got

Code: Select all

Attempting to detect a Microsoft Visual Studio installation


Targeting Windows XP 32 DEBUG


C:\Program Files\Microsoft Platform SDK>f:

F:\>cd dev

F:\dev>cd unreal3.2

F:\dev\Unreal3.2>nmake -f makefile.win32

Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

        cl src/win32/config.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.

F:\dev\Unreal3.2>
Anyone see a problem?
__________________________

Edit: I messed around with my Environment Variables and got it working!

Code: Select all

INCLUDE=C:\Program Files\Microsoft Platform SDK\Include;C:\Program Files\Microsoft Visual Studio 8\VC\include
LIB=C:\Program Files\Microsoft Platform SDK\Lib;C:\Program Files\Microsoft Visual Studio 8\VC\lib
path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Platform SDK\Bin;C:\Program Files\Microsoft Visual Studio 8\VC\bin
Last edited by frozen on Wed Aug 02, 2006 3:45 am, edited 1 time in total.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

It looks like Unreal still does not like MSVS 2005...
frozen
Posts: 53
Joined: Sat Jun 12, 2004 7:39 am

Post by frozen »

As far as I can tell its my setup, compiler can't locate windows.h... it comes with the sdk I think. :/
var
Posts: 12
Joined: Thu Sep 07, 2006 1:08 pm

Post by var »

try to use Visual Studio 2003 .Net without Platform SDK, it might work:)
Post Reply