Game Development Community

Compile fatal error 1.8 - missing files

by Steve Acaster · in Torque Game Engine Advanced · 01/14/2009 (6:46 pm) · 8 replies

Whilst I'm using 1.7.1, I thought I'd a have a little play with 1.8.

Using vanilla TGEA1.8 compiling fails (VC2005 on Windows) because wbemidl.h does not exist (it's #included in Platformwin32/videoinfo/wmivideoinfo.ccp), and buildfileslinkvc2k5.debug.win32templatewmivideoinfo.sbr is also absent. They are physically not there.

I installed 1.8 on 19 Decemeber '08, haven't modified it, or used it at all yet. Game Examples won't re-compile for the same reason.

These files aren't used in 1.7.1.

I know forum search is down right now, but I did look back a few pages of the TGEA private forum and didn't see any threads were this had occured.

#1
01/15/2009 (12:42 pm)
Have you tried installing the platform SDK, and adding the header files to your Visual Studio directories (Tools/Options/VC++ Directories)?
#2
01/15/2009 (6:41 pm)
Thanks for the reply.

I'm not that knowledgeable with C++ but I'm pretty sure that I've got VC2005 set up fine. I've got Windows SDK installed and DirectX and all linked just as it says in the docs. TGEA 1.7.1 compiles no problem.

I suppose I could try downloading and using VC2008 like they do in the docs.
#3
01/15/2009 (7:33 pm)
Well, all I can say is that WBemIDL.h is in "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include". If you've installed the current Windows SDK, it should be there. If that directory is in the visual studio Include Directories,then it should compile just fine (it just did for me). I don't think that the compiler you choose will matter...
#4
01/15/2009 (7:35 pm)
Man, I wish there was an edit button.

Anyway - this requirement is new for 1.8, that's why 1.7.1 compiles fine.
#5
01/15/2009 (7:39 pm)
And that appears to have been the answer! Downloaded and installed VC2008 and we have an executable at the end of the compile.

Thanks for making me go back and stare at the images in the TGEA 1.8 docs just to check everything was the same.
#6
01/15/2009 (7:43 pm)
Yeah, edit button ... I did see in the docs it said VC2008 comes with it's own Platform files. So that was the answer, must have been something wrong with mine.

And the answer is before there wasn't a "v6.0A" and now there is. Before there was just a v6.1. Possibly my mistake.

Anyhow, it works now.
#7
01/15/2009 (7:47 pm)
Ah well, glad it's working for you. Truth is VS2008 has a better IDE and compiler, so it's worth it anyway.
#8
01/15/2009 (7:53 pm)
lol, I finally get dragged into the 21st century!

And a quick port of my wip level and everything seems fine(ish). Billboards aren't working, but fps seems the same as 1.7.1.

I've also noticed that when fps is low in 1.8 it still flows better than 1.7.1, the lag is a lot less noticeable.

Cool.