OpenRA not starting

Field not found: 'Tao.FreeType.FT_Glyph_Metrics.width'

Discussion about the game and its default mods.
Post Reply
5kable
Posts: 12
Joined: Sun Oct 03, 2010 2:57 pm

OpenRA not starting

Post 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.

Iran
Posts: 92
Joined: Wed Sep 08, 2010 3:16 pm

Post 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.

5kable
Posts: 12
Joined: Sun Oct 03, 2010 2:57 pm

Post by 5kable »

I'm using Windows XP SP3, probably should have mentioned that.
If you need more info, I'll post it.

chrisf
Posts: 246
Joined: Mon Sep 06, 2010 4:59 am

Post by chrisf »

On windows, this is most likely a conflict with the platform Tao, if you installed that. We ship one that actually works.

5kable
Posts: 12
Joined: Sun Oct 03, 2010 2:57 pm

Post by 5kable »

The one included in the setup is the one I'm using.

5kable
Posts: 12
Joined: Sun Oct 03, 2010 2:57 pm

Post 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)

alexmat
Posts: 1
Joined: Mon Oct 18, 2010 6:37 pm

OPEN RA doesnt start at all

Post 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] 

5kable
Posts: 12
Joined: Sun Oct 03, 2010 2:57 pm

Post 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.

Post Reply