Tgea, vc++ express and MFC
by David Wilbur · in Torque Game Engine Advanced · 04/12/2007 (5:52 pm) · 1 replies
After going through the install doc as described here:
http://tdn.garagegames.com/wiki/TGEA/InstallVS2005
which was most excellent, thanks to who ever wrote that.
if you start trying to build other things then the TGEA SDK (which i have and it went fine), you start running into issues manifested like this.
>------ Build started: Project: l3dt_atlas, Configuration: Debug Win32 ------
...snip...
c:\program files\garagegames\tgea_sdk\tools\l3dt_atlas\api\extapi.cpp(1) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directoryc:\program files\garagegames\tgea_sdk\tools\l3dt_atlas\api\extapi_defines.h(6) : fatal error C1083: Cannot open include file: 'afx.h': No such file or directory
after futher searching i found these in the platform sdk files... i did follow the installation instructions about adding the platform sdk as described by going to options and adding the library and include directories. and as i said, i have built the TGEA SDK project.
is there something that is overriding this in the above referenced project... it was originally a vc7 not vc8 project. when i look at options when in that project and everything seems setup correctly.
unfortunately i am not from the microsoft visual c++ side of development so i don't know where to look to resolve this.
http://tdn.garagegames.com/wiki/TGEA/InstallVS2005
which was most excellent, thanks to who ever wrote that.
if you start trying to build other things then the TGEA SDK (which i have and it went fine), you start running into issues manifested like this.
>------ Build started: Project: l3dt_atlas, Configuration: Debug Win32 ------
...snip...
c:\program files\garagegames\tgea_sdk\tools\l3dt_atlas\api\extapi.cpp(1) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directoryc:\program files\garagegames\tgea_sdk\tools\l3dt_atlas\api\extapi_defines.h(6) : fatal error C1083: Cannot open include file: 'afx.h': No such file or directory
after futher searching i found these in the platform sdk files... i did follow the installation instructions about adding the platform sdk as described by going to options and adding the library and include directories. and as i said, i have built the TGEA SDK project.
is there something that is overriding this in the above referenced project... it was originally a vc7 not vc8 project. when i look at options when in that project and everything seems setup correctly.
unfortunately i am not from the microsoft visual c++ side of development so i don't know where to look to resolve this.
About the author
Torque 3D Owner Aaron Torpy
Earlier versions of the L3DT plugin API used in the 'l3dt_atlas' plugin required MFC, but it wasn't actually used for anything, and so has been removed from subsequent versions. You can download the updated files from here. In the 'extapi_defines.h' file, you'll need to comment out #include
Best regards,
Aaron.