Build warnings in starter projects ?
by Ty Newton · in Torque X 2D · 07/27/2008 (12:51 am) · 3 replies
Hi,
I was wondering if anyone knows how to update the starter game 2d solution to resolve these warnings:
The file 'Game.txproj' could not be added to the project. A file with the same path already exists in the project. Game
The file 'EngineData\EngineData_x86.Designer.cs' could not be added to the project. A file with the same path already exists in the project. Torque
The file 'EngineData\EngineData_Xbox.Designer.cs' could not be added to the project. A file with the same path already exists in the project. Torque
The file 'EngineData\EngineData_x86.resx' could not be added to the project. A file with the same path already exists in the project. Torque
The file 'EngineData\EngineData_Xbox.resx' could not be added to the project. A file with the same path already exists in the project. Torque
- Windows Vista SP1
- Visual Studio 2005 pro
- Torquex v2, XNA v2
- compiling in x86 debug mode.
When I compile in release mode I get an additional 3 warnings:
Field 'GarageGames.Torque.SceneGraph.SceneRenderState._isStencilPass' is never assigned to, and will always have its default value false F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\SceneGraph\SceneGraph.cs 260 23 Torque
Warning compiling F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx 168 1 Torque
Warning compiling F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx 187 1 Torque
I get many hundred warnings and a few errors when I try to build for GGBinaryRelease so I assume I shouldn't be trying to.
Starter project 3d seems to have the same kind of problems. In debug mode I get a few additional warnings to the starter project 2d debug mode compile:
Project item 'terrains\terrain.ter' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it. Game
Project item 'levels\levelData.txscene' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it. Game
Warning compiling F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx 168 1 Torque
Warning compiling F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx 187 1 Torque
Release mode is a combination of warnings from the ones above.
The projects all complete the compilation successfully; I'm just a bit nervous about all the warnings. Any suggestions are appreciated.
Thanks
I was wondering if anyone knows how to update the starter game 2d solution to resolve these warnings:
The file 'Game.txproj' could not be added to the project. A file with the same path already exists in the project. Game
The file 'EngineData\EngineData_x86.Designer.cs' could not be added to the project. A file with the same path already exists in the project. Torque
The file 'EngineData\EngineData_Xbox.Designer.cs' could not be added to the project. A file with the same path already exists in the project. Torque
The file 'EngineData\EngineData_x86.resx' could not be added to the project. A file with the same path already exists in the project. Torque
The file 'EngineData\EngineData_Xbox.resx' could not be added to the project. A file with the same path already exists in the project. Torque
- Windows Vista SP1
- Visual Studio 2005 pro
- Torquex v2, XNA v2
- compiling in x86 debug mode.
When I compile in release mode I get an additional 3 warnings:
Field 'GarageGames.Torque.SceneGraph.SceneRenderState._isStencilPass' is never assigned to, and will always have its default value false F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\SceneGraph\SceneGraph.cs 260 23 Torque
Warning compiling F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx 168 1 Torque
Warning compiling F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 2D (2.0) Pro1\Starter Game 2D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx 187 1 Torque
I get many hundred warnings and a few errors when I try to build for GGBinaryRelease so I assume I shouldn't be trying to.
Starter project 3d seems to have the same kind of problems. In debug mode I get a few additional warnings to the starter project 2d debug mode compile:
Project item 'terrains\terrain.ter' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it. Game
Project item 'levels\levelData.txscene' was not built with the XNA Framework Content Pipeline. Set its Build Action property to Compile to build it. Game
Warning compiling F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect2D.fx 168 1 Torque
Warning compiling F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx: warning X4707: texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps_1_1 are always clamped from 0 to 1 F:\My Projects\TorqueX\Starter Game 3D (2.0) Pro1\Starter Game 3D (2.0) Pro1\Torque\EngineData\effects\LightingEffect3D.fx 187 1 Torque
Release mode is a combination of warnings from the ones above.
The projects all complete the compilation successfully; I'm just a bit nervous about all the warnings. Any suggestions are appreciated.
Thanks
Torque Owner Matthew Hoesterey
Lately though with my new projects these errors are stoping TXB and GameStudio From Communicating. Or at least new components that I create are not showing up in TXB
I've had a topic on this posted in the getting started forum for about a week but no one has responded.