mono/MonoGame — Issue #181: Compatibility with KryptonXNA
Author: Squizzle
Created: 2012-01-01 22:02:37+00:00
State: open

Tested KryptonXNA http://krypton.codeplex.com/ lighting engine with MonoGame and got some errors. Hope this helps.

Error 21 'Microsoft.Xna.Framework.Graphics.GraphicsDevice' does not contain a definition for 'GetRenderTargets' and no extension method 'GetRenderTargets' accepting a first argument of type 'Microsoft.Xna.Framework.Graphics.GraphicsDevice' could be found (are you missing a using directive or an assembly reference?) KryptonEngine.cs 263 52 Krypton
Error 17 Argument 1: cannot convert from 'ref var.Position' to 'ref Microsoft.Xna.Framework.Vector3' KryptonRenderHelper.cs 261 50 Krypton
Error 18 Argument 2: cannot convert from 'ref Microsoft.Xna.Framework.Matrix' to 'ref Microsoft.Xna.Framework.Quaternion' KryptonRenderHelper.cs 261 64 Krypton
Error 19 Argument 3: cannot convert from 'out var.Position' to 'out Microsoft.Xna.Framework.Vector3' KryptonRenderHelper.cs 261 78 Krypton
Error 16 The best overloaded method match for 'Microsoft.Xna.Framework.Vector3.Transform(ref Microsoft.Xna.Framework.Vector3, ref Microsoft.Xna.Framework.Quaternion, out Microsoft.Xna.Framework.Vector3)' has some invalid arguments KryptonRenderHelper.cs 261 21 Krypton
Error 1 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 154 28 Krypton
Error 2 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 156 21 Krypton
Error 3 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 162 21 Krypton
Error 4 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 168 21 Krypton
Error 5 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 174 21 Krypton
Error 6 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 182 53 Krypton
Error 7 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 206 17 Krypton
Error 8 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 209 32 Krypton
Error 9 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 211 21 Krypton
Error 10 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 217 21 Krypton
Error 11 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 223 21 Krypton
Error 12 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 229 21 Krypton
Error 13 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 235 21 Krypton
Error 14 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 241 21 Krypton
Error 15 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 247 21 Krypton
Error 20 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 301 64 Krypton