Game Development Community

Compile Errors

by Patrick Shaw · in Torque Game Builder · 01/26/2008 (5:10 am) · 3 replies

Hi,
I'm building TGB 1.6 for the first time. When I compile the code in VS 2008 Express, it fails on the following:

popupMenuWin32.cc
c:\program files\garagegames\torquegamebuilder-1.6\engine\source\platformwin32\menus\popupmenuwin32.cc(216) : error C2065: 'MIIM_STRING' : undeclared identifier
c:\program files\garagegames\torquegamebuilder-1.6\engine\source\platformwin32\menus\popupmenuwin32.cc(293) : error C2065: 'MIIM_STRING' : undeclared identifier


c:\program files\garagegames\torquegamebuilder-1.6\engine\source\platformwin32\winoglvideo.cc(858) : error C2065: 'AW_BLEND' : undeclared identifier
c:\program files\garagegames\torquegamebuilder-1.6\engine\source\platformwin32\winoglvideo.cc(858) : error C3861: 'AnimateWindow': identifier not found

c:\program files\garagegames\torquegamebuilder-1.6\engine\source\platformwin32\cardprofile.cpp(14) : error C3861: 'EnumDisplayDevices': identifier not found
c:\program files\garagegames\torquegamebuilder-1.6\engine\source\platformwin32\cardprofile.cpp(14) : fatal error C1903: unable to recover from previous error(s); stopping compilation

#1
01/26/2008 (1:00 pm)
You need to downlod the "Platform SDK" and you may then need to reinstall VS.
#2
01/27/2008 (3:47 am)
Phillip,
I installed Microsoft Platform SDK for Windows Server 2003 R2 and re-installed VS and I'm still getting the same compile errors.
#3
01/27/2008 (12:00 pm)
Try using VS 2005 instead of 2008. I couldn't get it working either.