Compiling Problem
Posted: 11.10.2006, 20:02
Hi to all,
I am a reletive newcommer to Celestia and I have downloaded the latest official version,and I do enjoy it very much.
I had a look at the forum and stumbled upon the development section,and I read wcomer's post on how to compile celestia on windows with great interest,and decided to compile the lastest version from CVS.
I had followed wcomer's instructions and I have the full version of Windows Platform SDK and have moved the various files to their locations
according to the instructions.
The problem I'm having is listed in the command output I've pasted here:
problMicrosoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\STEVEN WARD.MERNIVIA>cd\
C:\>cd Mycelestia
C:\MyCelestia>celvars
Setting environment for using Microsoft Visual C++ 2003 Toolkit.
(If you have another version of Visual Studio or Visual C++ installed and wish
to use its tools from the command line, run vcvars32.bat for that version.)
Thank you for choosing the Visual C++ Toolkit 2003! Get started quickly by
building the code samples included in the "Samples" directory. Each sample
includes a short whitepaper discussing the Visual C++ features, and a batch
file for building the code.
Type "cl /?" for brief documentation on compiler options.
Visit http://msdn.microsoft.com/visualc/using ... fault.aspx for
complete compiler documentation.
C:\MyCelestia>makerelease
'makerelease' is not recognized as an internal or external command,
operable program or batch file.
C:\MyCelestia>cd.
C:\MyCelestia>cd..
C:\>cd TortoiseCVS\celestia
C:\TortoiseCVS\celestia>makerelease
C:\TortoiseCVS\celestia>cd src
C:\TortoiseCVS\celestia\src>nmake /f winbuild.mak CFG=Release
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cd celutil
nmake /NOLOGO util.mak MFLAGS=-MD CFG=Release
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
C:\TortoiseCVS\celestia\src>cd ..
C:\TortoiseCVS\celestia>copy src\celestia\Release\celestia.exe .
The system cannot find the path specified.
C:\TortoiseCVS\celestia>em
I have pasted my celvars here:
@echo off
Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;%PATH%
Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;%LIB%
Set INCLUDE=C:\Program Files\Microsoft Platform SDK\include;%INCLUDE%
Set LIB=C:\Program Files\Microsotf Platform SDK\Lib;%LIB%
Set INCLUDE=C:\Program Files\Microsoft Platform SDK\include\Win64\mfc;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Platform SDK\Lib\IA64\mfc;%LIB%
echo Setting environment for using Microsoft Visual C++ 2003 Toolkit.
echo (If you have another version of Visual Studio or Visual C++ installed and wish
echo to use its tools from the command line, run vcvars32.bat for that version.)
echo.
echo Thank you for choosing the Visual C++ Toolkit 2003! Get started quickly by
echo building the code samples included in the "Samples" directory. Each sample
echo includes a short whitepaper discussing the Visual C++ features, and a batch
echo file for building the code.
echo.
echo Type "cl /?" for brief documentation on compiler options.
echo.
echo Visit http://msdn.microsoft.com/visualc/using ... fault.aspx for
echo complete compiler documentation.
I hope the information I have provided will help solve my problem.
Regards,
nightcast2000[/quote][/code]
I am a reletive newcommer to Celestia and I have downloaded the latest official version,and I do enjoy it very much.
I had a look at the forum and stumbled upon the development section,and I read wcomer's post on how to compile celestia on windows with great interest,and decided to compile the lastest version from CVS.
I had followed wcomer's instructions and I have the full version of Windows Platform SDK and have moved the various files to their locations
according to the instructions.
The problem I'm having is listed in the command output I've pasted here:
problMicrosoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\STEVEN WARD.MERNIVIA>cd\
C:\>cd Mycelestia
C:\MyCelestia>celvars
Setting environment for using Microsoft Visual C++ 2003 Toolkit.
(If you have another version of Visual Studio or Visual C++ installed and wish
to use its tools from the command line, run vcvars32.bat for that version.)
Thank you for choosing the Visual C++ Toolkit 2003! Get started quickly by
building the code samples included in the "Samples" directory. Each sample
includes a short whitepaper discussing the Visual C++ features, and a batch
file for building the code.
Type "cl /?" for brief documentation on compiler options.
Visit http://msdn.microsoft.com/visualc/using ... fault.aspx for
complete compiler documentation.
C:\MyCelestia>makerelease
'makerelease' is not recognized as an internal or external command,
operable program or batch file.
C:\MyCelestia>cd.
C:\MyCelestia>cd..
C:\>cd TortoiseCVS\celestia
C:\TortoiseCVS\celestia>makerelease
C:\TortoiseCVS\celestia>cd src
C:\TortoiseCVS\celestia\src>nmake /f winbuild.mak CFG=Release
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cd celutil
nmake /NOLOGO util.mak MFLAGS=-MD CFG=Release
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
C:\TortoiseCVS\celestia\src>cd ..
C:\TortoiseCVS\celestia>copy src\celestia\Release\celestia.exe .
The system cannot find the path specified.
C:\TortoiseCVS\celestia>em
I have pasted my celvars here:
@echo off
Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;%PATH%
Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;%LIB%
Set INCLUDE=C:\Program Files\Microsoft Platform SDK\include;%INCLUDE%
Set LIB=C:\Program Files\Microsotf Platform SDK\Lib;%LIB%
Set INCLUDE=C:\Program Files\Microsoft Platform SDK\include\Win64\mfc;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Platform SDK\Lib\IA64\mfc;%LIB%
echo Setting environment for using Microsoft Visual C++ 2003 Toolkit.
echo (If you have another version of Visual Studio or Visual C++ installed and wish
echo to use its tools from the command line, run vcvars32.bat for that version.)
echo.
echo Thank you for choosing the Visual C++ Toolkit 2003! Get started quickly by
echo building the code samples included in the "Samples" directory. Each sample
echo includes a short whitepaper discussing the Visual C++ features, and a batch
echo file for building the code.
echo.
echo Type "cl /?" for brief documentation on compiler options.
echo.
echo Visit http://msdn.microsoft.com/visualc/using ... fault.aspx for
echo complete compiler documentation.
I hope the information I have provided will help solve my problem.
Regards,
nightcast2000[/quote][/code]