Stupid User error with DUB/Derelict runtime issue?

WhatMeWorry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 5 17:13:20 PDT 2016


Dub/Derelict is returning the following error at the D line:


     DerelictFT.load();	// Load the FreeType library


derelict.util.exception.SharedLibLoadException at C:\Users\kheaser\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\exception.d(35): Failed to
  load one or more shared libraries:
         freetype.dll - The specified module could not be found.
         libfreetype.dll - The specified module could not be found.
         libfreetype-6.dll - %1 is not a valid Win32 application.

What's up with the three DLLs?  Shouldn't just one suffice?  And 
what's up with %1 ?


Strangely enough, I've got a working Visual Studio project with 
the same FreeType load command that works fine?  It uses

09/17/2015  08:28 PM           593,920 libfreetype-6.dll


I tried just copying and pasting this .dll into the same folder 
as the failing .exe
but it still returns the above error.

Thanks.



More information about the Digitalmars-d-learn mailing list