Compiling Problem

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #21by cartrite » 13.10.2006, 22:41

NMAKE.ERR
24 "Microsoft (R) Program Maintenance Utility Version %s"
25 "Copyright (c) Microsoft Corp %s. All rights reserved.\n"
100 "Usage: %s @commandfile"

That was copied from NMAKE.ERR which leads me to believe that somehow nmake is the wrong version. My version of nmake is 5.1.2473.0

wcomer wrote:
1) Move Nmake.exe, cvtres.exe, lib.exe from "Microsoft SDK\bin\Win64\" to "Microsoft Visual C++ Toolkit 2003\bin\"


Did you do that? If you did, mabey it was wrong?
Last edited by cartrite on 13.10.2006, 23:03, edited 1 time in total.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #22by NIGHTCAST2000 » 13.10.2006, 22:49

Hi cartrite,
Yeah,I downloaded the version of Nmake using ncomers' link.
When it downloaded,it came up as Nmake15.exe.

I'll have a look on the web to see if I can get the latest version.

Regards,
nightcast2000

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #23by cartrite » 13.10.2006, 22:59

He didn't say to replace nmake . He said to copy NMAKE.ERR from that package and discard the rest.. He said to move Nmake.exe from the SDK Microsoft SDK\bin\Win64\ to the toolkit. MY Nmake.exe actually looks like nmake.exe. lower case only. Not sure if that matters?
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #24by cartrite » 14.10.2006, 02:29

After reading though what I wrote I think it can be confusing to say the least. Here is one thing I will try to clear up.
I wrote:
Your very observant. I have version 7 too. That may be the problem.
That information was on the command console.
Then I wrote
My version of nmake is 5.1.2473.0
That information came from right clicking on nmake.exe and choosing properties => version.

Now another thing.

wcomer wrote:
1) Move Nmake.exe, cvtres.exe, lib.exe from "Microsoft SDK\bin\Win64\" to "Microsoft Visual C++ Toolkit 2003\bin\"
2) Move RC.exe, RcDll.Dll from "Microsoft SDK\bin\" to "Microsoft Visual C++ Toolkit 2003\bin\"
This has nothing to do with Nmake15.exe. Dealing with the file NMAKE.ERR starts with step3.
3) Download http://download.microsoft.com/download/ ... make15.exe (50 kB)
4) Unzip nmake15.exe
5) Put nmake.err in the folder "Microsoft Visual C++ Toolkit\bin".
6) Discard the rest of the nmake15.exe files.


I got this fealing that if and when nmake starts working, you'll run into other problems so you may need this. I think I made all the needed corrections.

Code: Select all

@echo off

Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\win64;%PATH%
Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;C:\Program Files\Microsoft SDK\Include;C:\Program Files\Microsoft SDK\Include\mfc;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;C:\Program Files\Microsoft SDK\Lib\IA64\mfc;C:\Program Files\Microsoft SDK\Lib\;%LIB%

cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #25by NIGHTCAST2000 » 14.10.2006, 12:35

Hi cartrite,
I believe I'm a step closer to solving my problem.
I uninstalled and re-installed both MS Visaul C++ Toolkit 2003 and MS CoreSDK and moved the varous files.
I also made a new copy of celvars,deleted the contents and put your lastest code from your last post into it.I then put the celvars into the folder where makerelease is.

Here is the output I got:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\STEVEN WARD.MERNIVIA>cd\

C:\>cd TortoiseCVS\celestia

C:\TortoiseCVS\celestia>celvars

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 7.10.2240.8
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd celutil
        nmake /NOLOGO util.mak MFLAGS=-MD CFG=Release
        if not exist ".\Release/" mkdir ".\Release"
        cl.exe @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm6.tmp
bigfix.cpp
color.cpp
debug.cpp
directory.cpp
filetype.cpp
c:\TortoiseCVS\celestia\src\celutil\util.h(29) : fatal error C1083: Cannot open
include file: 'libintl.h': No such file or directory
formatnum.cpp
utf8.cpp
c:\TortoiseCVS\celestia\src\celutil\util.h(29) : fatal error C1083: Cannot open
include file: 'libintl.h': No such file or directory
util.cpp
c:\TortoiseCVS\celestia\src\celutil\util.h(29) : fatal error C1083: Cannot open
include file: 'libintl.h': No such file or directory
windirectory.cpp
wintimer.cpp
winutil.cpp
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual C++ Toolkit 2003
bin\nmake.exe"' : return code '0x2'
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>


I hope that will be able to help you.
Regards,
nightcast2000

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #26by cartrite » 14.10.2006, 12:51

You need the newest version of win-libs and the dll's. Here is the link to get them.
http://www.celestiaproject.net/celestia/files/winlibs-new.zip You also need libpng1.dll and zlib.dll. Those last 2 dll's are not in the new win-lib folder There should be copies of them in the Celestia folder if you have the official version installed. Unless you changed the default directory when you installed the official version it should be in C:\Program Files\Celestia. Put them in the directory where makrelease is.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #27by cartrite » 14.10.2006, 13:19

wcomer wrote:
V. Setting up your working directory.

1) Make a copy of your Celestia CVS to a new folder. Mine is, ???C:\MyCelestia???
2) Download extra libraries from Chris,
http://celestiaproject.net/celestia/files/winlibs-new.zip (2-3 minutes, 900 kB)
3) Unzip winlibs-new.zip
4) Move both subfolders (lib and inc) into "C:\MyCelestia"
5) Copy the files libpng1.dll and zlib.dll from your actual Celestia installation into "C:\MyCelestia". Celestia.exe will not run without them.
Copy the whole contents of the folder including intl.dll, incov.dll. The libpng1.dll and zlib.dll can be found in C:\Program Files\Celestia. I don't think they will be in the winlibs-new.zip. In your case you'll be moving them to the folder where you are building from, TortoiseCVS\celestia .
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #28by NIGHTCAST2000 » 14.10.2006, 14:22

Hi cartrite,
I cut&pasted those files from C:\MyCelestia to C:\TortoiseCVS\celestia,and ran the command prompt again,here's what I got:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\STEVEN WARD.MERNIVIA>cd\

C:\>cd TortoiseCVS\celestia

C:\TortoiseCVS\celestia>celvars

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 7.10.2240.8
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd celutil
        nmake /NOLOGO util.mak MFLAGS=-MD CFG=Release
        if not exist ".\Release/" mkdir ".\Release"
        cl.exe @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm2.tmp
bigfix.cpp
color.cpp
debug.cpp
directory.cpp
filetype.cpp
formatnum.cpp
utf8.cpp
util.cpp
windirectory.cpp
wintimer.cpp
winutil.cpp
        lib /out:.\Release\cel_utils.lib  .\Release\bigfix.obj  .\Release\color.
obj  .\Release\debug.obj  .\Release\directory.obj  .\Release\filetype.obj  .\Rel
ease\formatnum.obj  .\Release\utf8.obj  .\Release\util.obj  .\Release\windirecto
ry.obj  .\Release\wintimer.obj  .\Release\winutil.obj
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd ..
        cd celmath
        nmake /NOLOGO math.mak MFLAGS=-MD CFG=Release
        if not exist ".\Release/" mkdir ".\Release"
        cl.exe @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm3.tmp
frustum.cpp
perlin.cpp
        lib /out:.\Release\cel_math.lib  .\Release\frustum.obj  .\Release\perlin
.obj
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd ..
        cd cel3ds
        nmake /NOLOGO 3ds.mak MFLAGS=-MD CFG=Release
        if not exist ".\Release/" mkdir ".\Release"
        cl.exe @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm4.tmp
3dsmodel.cpp
3dsread.cpp
        lib /out:.\Release\cel_3ds.lib  .\Release\3dsmodel.obj  .\Release\3dsrea
d.obj
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd ..
        cd celtxf
        nmake /NOLOGO txf.mak MFLAGS=-MD CFG=Release
        if not exist ".\Release/" mkdir ".\Release"
        cl.exe @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm5.tmp
texturefont.cpp
texturefont.cpp(65) : warning C4244: 'argument' : conversion from 'int' to 'GLfl
oat', possible loss of data
texturefont.cpp(67) : warning C4244: 'argument' : conversion from 'int' to 'GLfl
oat', possible loss of data
texturefont.cpp(67) : warning C4244: 'argument' : conversion from 'int' to 'GLfl
oat', possible loss of data
texturefont.cpp(69) : warning C4244: 'argument' : conversion from 'int' to 'GLfl
oat', possible loss of data
texturefont.cpp(353) : warning C4244: 'initializing' : conversion from 'unsigned
 int' to 'float', possible loss of data
texturefont.cpp(354) : warning C4244: 'initializing' : conversion from 'unsigned
 int' to 'float', possible loss of data
        lib /out:.\Release\cel_txf.lib  .\Release\texturefont.obj
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd ..
        cd celengine
        nmake /NOLOGO engine.mak MFLAGS=-MD CFG=Release SPICE=
        if not exist ".\Release/" mkdir ".\Release"
        cl.exe @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm6.tmp
asterism.cpp
astro.cpp
body.cpp
boundaries.cpp
catalogxref.cpp
cmdparser.cpp
command.cpp
console.cpp
constellation.cpp
customorbit.cpp
dds.cpp
deepskyobj.cpp
dispmap.cpp
dsodb.cpp
..\celengine\octree.h(184) : warning C4244: 'argument' : conversion from 'double
' to 'const float', possible loss of data
        C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\map(36) : whi
le compiling class-template member function 'void DynamicOctree<OBJ,PREC>::inser
tObject(const OBJ & ,const PREC)'
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double
        ]
        dsodb.cpp(382) : see reference to class template instantiation 'DynamicO
ctree<OBJ,PREC>' being compiled
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double
        ]
..\celengine\octree.h(184) : warning C4244: 'argument' : conversion from 'double
' to 'const float', possible loss of data
..\celengine\octree.h(277) : warning C4244: 'argument' : conversion from 'double
' to 'const float', possible loss of data
        C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\map(36) : whi
le compiling class-template member function 'void DynamicOctree<OBJ,PREC>::rebui
ldAndSort(StaticOctree<OBJ,PREC> *& ,OBJ *&  )'
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double
        ]
..\celengine\octree.h(233) : warning C4244: 'argument' : conversion from 'double
' to 'const float', possible loss of data
        C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\xmemory(156)
: while compiling class-template member function 'void DynamicOctree<OBJ,PREC>::
split(const PREC)'
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double
        ]
        C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\map(36) : whi
le compiling class-template member function 'DynamicOctree<OBJ,PREC>::DynamicOct
ree(const Point3<T> &,const float)'
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double,
            T=double
        ]
..\celengine\octree.h(252) : warning C4244: 'argument' : conversion from 'double
' to 'const float', possible loss of data
        C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\vector(786) :
 while compiling class-template member function 'void DynamicOctree<OBJ,PREC>::s
ortIntoChildNodes(void)'
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double
        ]
        C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\xmemory(156)
: while compiling class-template member function 'void DynamicOctree<OBJ,PREC>::
add(const OBJ & )'
        with
        [
            OBJ=DeepSkyObject *,
            PREC=double
        ]
..\celengine\octree.h(253) : warning C4244: 'argument' : conversion from 'double
' to 'const float', possible loss of data
dsoname.cpp
dsooctree.cpp
execution.cpp
fragmentprog.cpp
frame.cpp
galaxy.cpp
glcontext.cpp
glext.cpp
glshader.cpp
image.cpp
jpleph.cpp
location.cpp
lodspheremesh.cpp
marker.cpp
mesh.cpp
meshmanager.cpp
model.cpp
modelfile.cpp
multitexture.cpp
nebula.cpp
observer.cpp
opencluster.cpp
orbit.cpp
overlay.cpp
overlay.cpp(115) : warning C4244: 'argument' : conversion from 'int' to 'GLfloat
', possible loss of data
overlay.cpp(145) : warning C4244: 'argument' : conversion from 'int' to 'GLfloat
', possible loss of data
parseobject.cpp
parser.cpp
regcombine.cpp
rendcontext.cpp
render.cpp
renderglsl.cpp
samporbit.cpp
selection.cpp
shadermanager.cpp
simulation.cpp
solarsys.cpp
spheremesh.cpp
star.cpp
starcolors.cpp
stardb.cpp
starname.cpp
staroctree.cpp
stellarclass.cpp
texmanager.cpp
texture.cpp
c:\TortoiseCVS\celestia\inc\libjpeg\jmorecfg.h(215) : warning C4005: 'FAR' : mac
ro redefinition
        C:\Program Files\Microsoft SDK\include\WinDef.h(135) : see previous defi
nition of 'FAR'
tokenizer.cpp
trajmanager.cpp
univcoord.cpp
universe.cpp
vertexlist.cpp
vertexprog.cpp
virtualtex.cpp
vsop87.cpp
        lib @C:\DOCUME~1\STEVEN~1.MER\LOCALS~1\Temp\nm7.tmp
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:.\Release\cel_engine.lib .\Release\asterism.obj .\Release\astro.obj .\Relea
se\body.obj .\Release\boundaries.obj .\Release\catalogxref.obj .\Release\cmdpars
er.obj .\Release\command.obj .\Release\console.obj .\Release\constellation.obj .
\Release\customorbit.obj .\Release\dds.obj .\Release\deepskyobj.obj .\Release\di
spmap.obj .\Release\dsodb.obj .\Release\dsoname.obj .\Release\dsooctree.obj .\Re
lease\execution.obj .\Release\fragmentprog.obj .\Release\frame.obj .\Release\gal
axy.obj .\Release\glcontext.obj .\Release\glext.obj .\Release\glshader.obj .\Rel
ease\image.obj .\Release\jpleph.obj .\Release\location.obj .\Release\lodsphereme
sh.obj .\Release\marker.obj .\Release\mesh.obj .\Release\meshmanager.obj .\Relea
se\model.obj .\Release\modelfile.obj .\Release\multitexture.obj .\Release\nebula
.obj .\Release\observer.obj .\Release\opencluster.obj .\Release\orbit.obj .\Rele
ase\overlay.obj .\Release\parseobject.obj .\Release\parser.obj .\Release\regcomb
ine.obj .\Release\rendcontext.obj .\Release\render.obj .\Release\renderglsl.obj
.\Release\samporbit.obj .\Release\selection.obj .\Release\shadermanager.obj .\Re
lease\simulation.obj .\Release\solarsys.obj .\Release\spheremesh.obj .\Release\s
tar.obj .\Release\starcolors.obj .\Release\stardb.obj .\Release\starname.obj .\R
elease\staroctree.obj .\Release\stellarclass.obj .\Release\texmanager.obj .\Rele
ase\texture.obj .\Release\tokenizer.obj .\Release\trajmanager.obj .\Release\univ
coord.obj .\Release\universe.obj .\Release\vertexlist.obj .\Release\vertexprog.o
bj .\Release\virtualtex.obj .\Release\vsop87.obj
        cd ..
        cd celestia
        nmake /NOLOGO celestia.mak MFLAGS=-MD CFG=Release SPICE=
        if not exist ".\Release/" mkdir ".\Release"
        rc /l 0x409 /d "NDEBUG" /fo .\Release\celestia.res /i "res" .\res\celest
ia.rc
.\res\celestia.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual C++ Toolkit 2003\
bin\nmake.exe"' : return code '0x2'
Stop.

C:\TortoiseCVS\celestia\src>cd ..

C:\TortoiseCVS\celestia>copy src\celestia\Release\celestia.exe .
The system cannot find the file specified.
C:\TortoiseCVS\celestia>


I'm not sure what happened here,do you have any ideas? I do believe that we're almost there!

Regards,
nightcast2000

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #29by cartrite » 14.10.2006, 14:30

Yeah. I was just looking at that file yesterday. Let me try to see where I found it.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #30by cartrite » 14.10.2006, 14:53

That file should be in C:\Program Files\Microsoft SDK\Include\mfc
Make sure it's in your INCLUDE paths in your celvars.

If it is, then I'm thinking that was one of the files I changed. I know I saw it yesterday in a folder by it's self. That means that I may have modified it or got a different copy somewhere else. Post your celvars that you are using now and I'll keep trying to remember where it was.

cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #31by NIGHTCAST2000 » 14.10.2006, 14:59

Hi cartrite,
Here's my celvars here:

Code: Select all

@echo off

Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\win64;%PATH%
Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;C:\Program Files\Microsoft SDK\Include;C:\Program Files\Microsoft SDK\Include\mfc;%INCLUDE%
Set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;C:\Program Files\Microsoft SDK\Lib\IA64\mfc;C:\Program Files\Microsoft SDK\Lib\;%LIB%


I hope that helps,

Regards,
ngihtcast2000

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Post #32by abramson » 14.10.2006, 15:05

Hi. Yes, afxres.h is in that directory. The compiler shoud be able to find it if you have the include variable containing the sdk include directory (which you have, according to your post). I did not change or modify that .h file, it came with the distribution of the SDK. It's strange. Check that you have it. You are almost done.

Guillermo

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #33by NIGHTCAST2000 » 14.10.2006, 15:13

Hi to both,
I've driiled down to that directory and all I've found is
C:\Program Files\Microsoft SDK\include\mfc\afxls.h. I don't have afxres.h in that directory.

Would you be able to post it for me? or is there a way of extracing it from one of the cabinet file?

Regards,
nightcast2000

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Post #34by abramson » 14.10.2006, 15:29

I just sent it to you by email. Try again, in case there is something else missing.
Guillermo

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #35by cartrite » 14.10.2006, 15:29

Check your Private messages.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #36by NIGHTCAST2000 » 14.10.2006, 16:05

Hi guys,
I've downloaded the attachment(thank you very much abramson)
and ran command prompt agian.

It did find the file,but now it's complaining that winres.h is missing.

Would you be able upload load the files that are in your mfc folder?

Regards,
nightcast2000

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #37by cartrite » 14.10.2006, 16:06

Check Your private messages
Up at the top of your screen
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Post #38by NIGHTCAST2000 » 14.10.2006, 16:27

Hi guys,
sorry cartrite,I didn't see my private messages and when I did,I downloaded the archive.I extracted the winres.h to the mfc folder and ran command prompt again.

The great news is that it compiled sucessfully!(with a few warning messeges though)I like to thenk everyone for thier help!

Interestingly,when I ran the Celestia.exe that was created,it came up as Celestia 1.41,so I'm planning to update the repository folder to the latest version.

Regards,
nightcast2000

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #39by cartrite » 14.10.2006, 16:30

It still says 1.4.1. That hasn't been updated in cvs.
Now WHORAAAAA!!! :lol:

If your done with that file now, I'm going to take it off my website.

File removed. If you need it again, let me know. It takes seconds to put it there.
Last edited by cartrite on 14.10.2006, 16:45, edited 1 time in total.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #40by cartrite » 14.10.2006, 16:43

Now that you got a CVS version, I suggest reading Celestia Notes by Selden.

http://www.lepp.cornell.edu/~seb/celest ... stia_notes

It will fill you in on how to work the new enhancements.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4


Return to “Development”