Game Development Community

VC++ 2008 compilation error

by Saravanan · in Technical Issues · 12/22/2008 (2:33 am) · 2 replies

I followed the documentation and tried to compile stonghold using VC++ 2008 express edition and found the follwoing erorrs.
a) The log informed there are three warnings
b) The exe size changed from 1.86 to 4.48 mb
C) when i ran the exe, the interiors were shown in some colours that are similar to normal map textures.

img525.imageshack.us/img525/673/buildscret1.jpg
Pls guide me on this

#1
12/22/2008 (6:48 am)
Not sure on the last one, but the first two are pretty standard. There are definitely going to be warnings showing up. But if you did not get any errors, it should have at least compiled fine.

The reason the executable is so large is most likely due to two things. First, the shipping executable is compressed with UPX, so it is smaller. Secondarily, if you built a debug version, then the debug symbols are present which will up the size of your executable as well as down its runtime.

The last one I'm not sure since I haven't seen it. What is the model of your video card and did it work with the original executable? How about if you compile it as a release executable?
#2
12/22/2008 (10:24 am)
Given the colors on that interior are you using the November 08 DirectX SDK. Go back to August 08 and wait until March 09 to use any new versions of the DirectX SDK. There is a confirmed issue with it, Matt Fairfax has posted a fix, but Microsoft will be addressing the problem. TGEA and DirectX NOV 08 - broken