TGEA/Vista/MCP67M - Unable to compile vertex shader?
by Robert Rose · in Torque Game Engine Advanced · 01/05/2008 (1:18 pm) · 5 replies
Just tried running my TGEA game on a laptop running Vista and I get an error "Unable to compile vertex shader" when loading the game. The laptop has an MCP67M/nForce 7150 graphics card in it which is supposed to be shader 3 compatible. It's got the latest video drivers installed and plays other games fine. Obviously it's vista so it's got DX10.
Anyone seen this before? Is there a solution?
-robert
Anyone seen this before? Is there a solution?
-robert
#2
I've been developing on the August 2007 DX SDK. Do I have to downgrade to April 2007? If so that sounds like a TGEA bug.
Maybe I should mention that I've been developing on Windows XP w/ .NET 2003. I copied my executable to the laptop to test, I have not been building in Vista.
01/06/2008 (10:58 am)
"Go to the Microsoft website and download the latest DirectX 9 SDK." -- No mention of April 2007 on the wiki that I could find.I've been developing on the August 2007 DX SDK. Do I have to downgrade to April 2007? If so that sounds like a TGEA bug.
Maybe I should mention that I've been developing on Windows XP w/ .NET 2003. I copied my executable to the laptop to test, I have not been building in Vista.
#3
But make sure that the DX SDK paths are entered correctly in the VC++ options within the paths for libraries and includes.
Perhaps it just does not find them.
Have no experience with the 2003, I use the 2005 VC++ as most here most likely.
01/06/2008 (1:28 pm)
Nope, the Aug one should be fine as well.But make sure that the DX SDK paths are entered correctly in the VC++ options within the paths for libraries and includes.
Perhaps it just does not find them.
Have no experience with the 2003, I use the 2005 VC++ as most here most likely.
#4
I don't follow what you mean. I'm not having problems compiling or building the application. :-) When the application *runs* I get the error "Unable to compile vertex shader". I only get this error on Vista. The application runs fine on Windows XP.
01/06/2008 (6:06 pm)
> But make sure that the DX SDK paths are entered correctly in the VC++ options within the paths for libraries and includes.I don't follow what you mean. I'm not having problems compiling or building the application. :-) When the application *runs* I get the error "Unable to compile vertex shader". I only get this error on Vista. The application runs fine on Windows XP.
#5
On Vista you might need run it as administrator and if you want to prevent dummy errors of all kind, disable the "SBNEA" (security by not executing anything) also known as UAC.
Especially if you came up with the idea of having it in the program files folder where no dev projects must be.
01/06/2008 (11:20 pm)
Ah ok, my error then.On Vista you might need run it as administrator and if you want to prevent dummy errors of all kind, disable the "SBNEA" (security by not executing anything) also known as UAC.
Especially if you came up with the idea of having it in the program files folder where no dev projects must be.
Torque 3D Owner Marc 'Dreamora' Schaerer
Gayasoft
You need it to be installed to develop DX Games.
See the TDN for the full "setup" instructions for Visual Studio