Page 1 of 1
OpenRA not starting
Posted: Sat Oct 16, 2010 5:05 pm
by 5kable
System.MissingFieldException: Field not found: 'Tao.FreeType.FT_Glyph_Metrics.width'.
at OpenRA.Graphics.SpriteFont.CreateGlyph(Pair`2 c)
at OpenRA.FileFormats.Cache`2.get_Item(T key)
at OpenRA.Graphics.SpriteFont.PrecacheColor(Color c)
at OpenRA.Graphics.SpriteFont..ctor(String name, Int32 size)
at OpenRA.Graphics.Renderer..ctor()
at OpenRA.Game.Initialize(Arguments args)
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)
I'm not entirely sure why this has started happening. The problem occurs on the latest build (20101013)as well as an older build (20100928).
I have 3 more older builds that I'll try out again as I know they were working prior to this.
Posted: Sat Oct 16, 2010 5:13 pm
by Iran
Newer builds use a version of Tao.FreeType.dll that works on 64-bit. If you're using Mono you'll need to use 'gacutil -i' on the DLL, it should be under the thirdparty/Tao folder. I'm not sure what the process is under Windows.
Posted: Sat Oct 16, 2010 5:58 pm
by 5kable
I'm using Windows XP SP3, probably should have mentioned that.
If you need more info, I'll post it.
Posted: Sat Oct 16, 2010 8:27 pm
by chrisf
On windows, this is most likely a conflict with the platform Tao, if you installed that. We ship one that actually works.
Posted: Sat Oct 16, 2010 9:39 pm
by 5kable
The one included in the setup is the one I'm using.
Posted: Mon Oct 18, 2010 2:31 am
by 5kable
ok new version is giving me a completely different error.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Tao.Sdl.Sdl.SDL_SetVideoMode(Int32 width, Int32 height, Int32 bpp, Int32 flags)
at OpenRA.GlRenderer.GraphicsDevice..ctor(Int32 width, Int32 height, WindowMode window, Boolean vsync)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpenRA.Graphics.Renderer.CreateDevice(Assembly rendererDll, Int32 width, Int32 height, WindowMode window, Boolean vsync)
at OpenRA.Graphics.Renderer.Initialize(WindowMode windowMode)
at OpenRA.Game.Initialize(Arguments args)
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)
OPEN RA doesnt start at all
Posted: Mon Oct 18, 2010 6:41 pm
by alexmat
same here
Code: Select all
Loading settings file /home/alex/.openra/settings.yaml
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: libCg.so
at (wrapper managed-to-native) Tao.Cg.Cg:cgCreateContext ()
at OpenRA.GlRenderer.GraphicsDevice..ctor (Int32 width, Int32 height, WindowMode window, Boolean vsync) [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000]
at OpenRA.Graphics.Renderer.CreateDevice (System.Reflection.Assembly rendererDll, Int32 width, Int32 height, WindowMode window, Boolean vsync) [0x00000]
at OpenRA.Graphics.Renderer.Initialize (WindowMode windowMode) [0x00000]
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00000]
at OpenRA.Program.Run (System.String[] args) [0x00000]
at OpenRA.Program.Main (System.String[] args) [0x00000]
Posted: Mon Oct 18, 2010 7:13 pm
by 5kable
OK i'm now down to the No valid techniques error (because I upgraded my catalyst to 10.9 temporarily). As soon as I've downgraded, I'll test it again.