Compiler question...

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
SiriusCG
Posts: 33
Joined: 10.03.2008
Age: 67
With us: 16 years 10 months
Location: The Smoke Ring

Post #21by SiriusCG » 13.03.2008, 23:48

I removed the SDK and tried the link you gave. Downloading it redirects me to the 2008 one, which installs version 6.1 of the SDK, which was the same one I installed before so I guess I didn't notice being redirected the first time. There is no MFC subdirectory.


Brendan, you need to download the last PSDK from 2005 and install it as well. The MFC Includes are not in MSDK 6.1. Not to worry though, leave 6.1 installed and then install the PSDK as well.

Here's how:
Go here:
http://www.microsoft.com/downloads/deta ... laylang=en
at the bottom of the page is a download link for PSDK-x86.exe, that's the one you need.

Install it into it's own directory, NOT the MSDK directory.
Once it's installed, add the /Include/mfc directory to your project. Mine is J:\PSDK\Include\mfc (I changed the default install directory)

Works like a charm and compiles the SVN source perfectly.

Enjoy.

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

Post #22by cartrite » 13.03.2008, 23:48

I haven't done this since this happened so .......
I do have a few possible suggestions. On the link I provided, if you go down the page near the bottom, there is a section that says
Files in This Download
The links in this section correspond to separate files available in this download. Download the files most appropriate for you.
Underneath there are 3 download links. EDIT I just seen SiriusCG's post and I think he is pointing to the same file from this section. One of them may work?

You can also try to find AFXRES.h in the SDK that you did download. Use the find utility with AFXRES.h and search the SDK folder. If it is found then you can point to that folder in your environment variables.

They must have something in the help files that address this issue in the SDK version that you did download.


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


Return to “Development”