Page 1 of 1

freetype6 error

Posted: Tue Oct 25, 2011 10:39 am
by spikie
Hi!
I have a small problem running openRA from source.
the installed version works perfectly but when I run it from within VS2008 I get this error:

The type initializer for 'OpenRA.Graphics.SpriteFont' threw an exception.
Unable to load DLL 'freetype6.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E}

I'm running windows 7 64-bit

any ideas?

thx!

Posted: Tue Oct 25, 2011 1:58 pm
by spikie
I found the solution thanks to the program Dependency walker, turned out that zlib1.dll was missing from the source directory

Posted: Tue Oct 25, 2011 6:36 pm
by chrisf
Let's at least check for these being present earlier in the startup.