System.Collections.Generic.KeyNotFoundException
I am using Ubuntu 10.10 and compiling example code in Monodevelop. I have gotten rid of 2 fatal errors one being 'No platform manager' (by moving the Windows.Platform into my program's bin and added slimdx to the GAC to get rid of another, the dubugger also told me 'opentk.dll etc' not found but putting them in the bin cleared that out. But have no idea what to do with this one,
@ root.RenderSystem = root.RenderSystems["OpenGL"]; //or OpenGL or Xna
I get the above title ie "key not found exception". Using Monodevelop's debugger, I see a key count of 0 in root.RenderSystems, however, I cleared (I thought) that error by adding 'Axiom.RenderSystems.OpenGL.OpenTK.dll' to the bin. Monodevelop has no other 'not loaded dll' in it's debug output window only the generic 'hello world' that I use
to make sure it is working.
Sorry so long, but any suggestions. I mean what could go wrong mixing assemblies
p.s. Thought I'd paste my gamelog too. Thanks.
[07:41:44] *********Axiom 3D Engine Log *************
Copyright Copyright (C) 2003-2009 Axiom Rendering Engine Project Team.
Version: 0.8.0.0
Operating System: Unix 2.6.35.23
.Net Framework: 2.0.50727.1433
[07:41:44] *-*-* Axiom Intializing
[07:41:44] Creating resource group General
[07:41:44] Creating resource group Internal
[07:41:44] Creating resource group Bootstrap
[07:41:44] Creating resource group AutoDetect
[07:41:44] SceneManagerFactory for type 'DefaultSceneManager' registered
[07:41:44] Registering ScriptLoader for patterns *.program *.material
[07:41:44] Registering ResourceManager for type Material
[07:41:44] Registering ResourceManager for type Mesh
[07:41:44] Registering ResourceManager for type Skeleton
[07:41:44] Registering ScriptLoader for patterns *.particle
[07:41:44] Win32 Platform Manager Loaded.
[07:41:44] Registering ScriptLoader for patterns *.fontdef
[07:41:44] Registering ResourceManager for type Font
[07:41:44] Registering ScriptLoader for patterns *.overlay
[07:41:44] OverlayElementFactory for type 'BorderPanel' registered.
[07:41:44] OverlayElementFactory for type 'TextArea' registered.
[07:41:44] OverlayElementFactory for type 'Panel' registered.
[07:41:44] ArchiveFactory for archive type ZipFile registered.
[07:41:44] ArchiveFactory for archive type Folder registered.
[07:41:44] Registering ResourceManager for type HighLevelGpuProgram
[07:41:44] Registering ScriptLoader for patterns *.compositor
[07:41:44] Registering ResourceManager for type Compositor
[07:41:44] OpenGL OpenTK Renderer requires OpenTK Platform Manager.
Parameter name: PlatformManager
at Axiom.Utilities.Contract.Requires (Boolean condition, System.String name, System.String message) [0x00000] in <filename unknown>:0
at Axiom.RenderSystems.OpenGL.Plugin.Initialize () [0x00000] in <filename unknown>:0
at Axiom.Core.PluginManager.LoadPlugin (Axiom.Core.ObjectCreator creator) [0x00000] in <filename unknown>:0
[07:41:44] Factory EntityFactory registered for MovableObjectType 'Entity'.
[07:41:44] Factory LightFactory registered for MovableObjectType 'Light'.
[07:41:44] Factory BillboardSetFactory registered for MovableObjectType 'BillboardSet'.
[07:41:44] Factory ManualObjectFactory registered for MovableObjectType 'ManualObject'.
[07:41:44] Factory BillboardChainFactory registered for MovableObjectType 'BillboardChain'.
[07:41:44] Factory RibbonTrailFactory registered for MovableObjectType 'RibbonTrail'.
