Game Development Community

Buid errors in Starter Game 3D

by JamesOrlando · in Torque X 3D · 05/16/2009 (7:32 am) · 10 replies

I keep getting this error when I try to build Starter Game 3D in Visual Studio 2008:

Error 1 The command "if "x86"=="x86" "C:\Users\James\Documents\Visual Studio 2008\Projects\Starter Game 3D (3.0)2\Starter Game 3D (3.0)2\Game\bin\x86\Debug\Game.exe" -exportschema "C:\Users\James\Documents\Visual Studio 2008\Projects\Starter Game 3D (3.0)2\Starter Game 3D (3.0)2\Game\myschema.txschema"
" exited with code -2147483645.

The other starter kits that come with XNA 3.0 work fine. Has anyone else run into this problem?


#1
05/25/2009 (3:23 pm)
Has anyone else had this error? Surely I can't be the only one. I would really appreciate some help with this problem. Am I not being specific enough?
#2
05/25/2009 (6:13 pm)
You probably are the only one, if only because you're one of about 3 people reading this forum.

I don't get the error, but I will ask, did you add the -exportschema parameter?
#3
05/25/2009 (7:44 pm)
Thanks for the reply, Trent. I'm not very familiar with C#. How or perhaps where would I add the exportschema parameter?
#4
05/25/2009 (8:37 pm)
I was actually asking if you had done that, but having checked in my project, I find that the default starter game adds -exportschema by default. I'm not saying this is a problem, I just wasn't expecting to see it.
For info sake, if you right click your project (not the solution), select properties and go to the Build Events tab, the Post build event command line box will contain:

if "$(PlatformName)"=="x86" "$(TargetPath)" -exportschema "$(ProjectDir)myschema.txschema"

If you have the DirectX SDK you can use the error look up tool, which unfortunately in this case is error 0x80000003, the good old unknown error.

What kind of computer / graphics card do you have?
#5
05/25/2009 (8:51 pm)
I'm using a laptop with an integrated card. It's a Radeon X1200 and only supports up to pixel shader 2.0.
#6
05/25/2009 (10:45 pm)
hmm... the starter game is geared for ps and vs 1.1, so it should be able to run them ok.

In my experience, Radeon's are extremely dodgy peices of hardware, however I have a Radeon HD2400 here at work and the starter game works fine.
#7
05/25/2009 (10:50 pm)
Found a page somewhere saying that 8000 0003 is caused by hitting a break point, but not likely to be actually that.

Found this on a couple of sites, the source of which was an MSDN article referring to Win NT 4, but still, the resolution advice is worth following.

---

This problem occurs if a program makes a request for memory with the MEM_TOP_DOWN flag set. A bad pointer may be returned, causing the error

RESOLUTION
To resolve this problem, obtain the latest service pack for Windows or the individual software update.
#8
05/26/2009 (7:17 am)
Thanks for all your help Trent. Microsoft hasn't issued SP2 for Vista yet. At least to the general public. I'm not gonna stress over it too much. I was actually more curious than anything else. There are other XNA game engines out there, I'll just try one of those. Thanks again Trent!
#9
05/26/2009 (2:15 pm)
My biggest problem with Vista was running anything TorqueX through Visual Studio that has source under c:\Program Files just does not work well unless you run Visual Studio as Administrator. Once I did that nasty build errors and inscrutable problems just went away. That was on Vista Ultimate.

FYI ( and from memory ): Right click on the app ( VS 2008 ) and choose "Run as Administrator". If you are like me, then you have VS pinned to the Start menu. If you right click on that shortcut and go into Advanced ( forget which tab ) you can check a box to have it always run as Administrator.

Unsure if this is relevant to your issues.
#10
05/26/2009 (3:17 pm)
I am running Vista Ultimate at home since release day (with VS 2005 & 2008 pinned :p) though I'm running through the account it issued me at install, and I still haven't turned off UAC! I don't have any problems, though I don't remember if I have VS set to run as admin or not.