TGB Compile Errors in VSExpress
by Tom Eastman (Eastbeast314) · in Torque Game Builder · 02/10/2007 (4:15 pm) · 7 replies
Hey everyone - I gots a problem for once :)
I'm trying to compile the TGB 1.1.4 beta and am getting some fun errors.
I've followed the instructions from both MS's Express site and also from this TDN article, but still get the same errors. I'm hoping it's just a simple path error that someone can point out ;)
I get this error over and over for each file, like this
It's coming from this preprocessor party:
Any help folks?
I'm trying to compile the TGB 1.1.4 beta and am getting some fun errors.
I've followed the instructions from both MS's Express site and also from this TDN article, but still get the same errors. I'm hoping it's just a simple path error that someone can point out ;)
I get this error over and over for each file, like this
astAlloc.cc ../../source\platform\types.visualc.h(49) : fatal error C1189: #error : "VC: Unsupported Target CPU"
It's coming from this preprocessor party:
// Identify the CPU #if defined(_M_IX86) # define TORQUE_CPU_STRING "x86" # define TORQUE_CPU_X86 # define TORQUE_LITTLE_ENDIAN # define TORQUE_SUPPORTS_NASM # define TORQUE_SUPPORTS_VC_INLINE_X86_ASM #else # error "VC: Unsupported Target CPU" #endif
Any help folks?
#2
Unfortunately, it looks like everything is in line there. It says:
So, I'm assuming that's correct, but maybe I have some linking stuff messed up and that value isn't getting defined as it should.
Any more ideas anyone?
02/11/2007 (8:33 am)
Thanks for the tip :)Unfortunately, it looks like everything is in line there. It says:
Target Machine: MachineX86 (/MACHINE:X86)
So, I'm assuming that's correct, but maybe I have some linking stuff messed up and that value isn't getting defined as it should.
Any more ideas anyone?
#3
I try to compile torque gamebuilder pro and i get this error can some one please help me
c:\program files\torquegamebuilderpro\engine\lib\directx8\d3d.h(23) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory
glu2d3d.cc
c:\program files\torquegamebuilderpro\engine\lib\directx8\d3d.h(23) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory
c:\program files\torquegamebuilderpro\engine\source\platformwin32\platformwin32.h(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winVideo.cc
c:\program files\torquegamebuilderpro\engine\source\platformwin32\platformwin32.h(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winV2Video.cc
04/22/2007 (9:45 am)
Hello everyone - I gots a problem with VS Express installed, VS 2005 C++I try to compile torque gamebuilder pro and i get this error can some one please help me
c:\program files\torquegamebuilderpro\engine\lib\directx8\d3d.h(23) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory
glu2d3d.cc
c:\program files\torquegamebuilderpro\engine\lib\directx8\d3d.h(23) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory
c:\program files\torquegamebuilderpro\engine\source\platformwin32\platformwin32.h(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winVideo.cc
c:\program files\torquegamebuilderpro\engine\source\platformwin32\platformwin32.h(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winV2Video.cc
#5
OS is XP Home
Visual C++ Express 2005 & Platform SDK
Microsoft DirectX SDK (February 2007) Microsoft DirectX 9 SDK:
04/22/2007 (10:20 am)
Hello Marc SchaererOS is XP Home
Visual C++ Express 2005 & Platform SDK
Microsoft DirectX SDK (February 2007) Microsoft DirectX 9 SDK:
#6
04/22/2007 (10:37 am)
And the paths are correctly set in the solution?
#7
you said And the paths correctly set in the solution? Marc i hope this is right
C:\Program Files\TorqueGameBuilderPro\engine\compilers\VisualStudio 2005\T2D SDK.sln
04/22/2007 (10:58 am)
Hello marc Schaerer you said And the paths correctly set in the solution? Marc i hope this is right
C:\Program Files\TorqueGameBuilderPro\engine\compilers\VisualStudio 2005\T2D SDK.sln
Torque Owner Jared Schnelle
Right-Click the Project in the Solution Explorer, click Properties. Drill down to Configuration Properties->Linker->Advanced
What is the Target Machine that you are building out to? Maybe you're running x64 and it is defaulting to something weird here.
I'd start looking here.
Let me know if this helps at all.