Re: [Lazarus] Freetype-6.dll not found
On 13-08-07 03:03 PM, waldo kitty wrote: possibly that but the different name probably was more of the culprit... you didn't say that you had renamed it in the dll path, though... but then, what else would break if it was renamed? as i suggested before, i think you need, in code, to determine what OS you are running on and then attempt to load the dll with the proper name for that OS... apparently it has one name on *nix and another on winwhatever ;) But I did not have to rename zlib1, though I did have to copy it into thew same directory as my executable. Aside from which, I don't need to load a DLL in Linux at all, but an .so file, and the compiler handles that for me. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Freetype-6.dll not found
On 8/8/2013 07:11, Timothy Groves wrote: On 13-08-07 03:03 PM, waldo kitty wrote: possibly that but the different name probably was more of the culprit... you didn't say that you had renamed it in the dll path, though... but then, what else would break if it was renamed? as i suggested before, i think you need, in code, to determine what OS you are running on and then attempt to load the dll with the proper name for that OS... apparently it has one name on *nix and another on winwhatever ;) But I did not have to rename zlib1, though I did have to copy it into thew same directory as my executable. but that wasn't your problem file, was it... Aside from which, I don't need to load a DLL in Linux at all, but an .so file, and the compiler handles that for me. .so == .dll for the most part... but i was pointing to the fact that one is apparently named freetype-6 and the other is named freetype6 that's the specific part i was speaking of... unless the package you downloaded for winwhatever is broken by not using the proper name with the '-' in it... you did rename freetype6.dll to freetype-6.dll and it worked... you should test that it works with the properly named dll (with that zlib dll too) in the dll search path... if it works there, they you problem is/was specifically the missing '-' in the freetype dll name... -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Freetype-6.dll not found
On 8/6/2013 17:42, Timothy Groves wrote: On 13-08-05 12:47 PM, Edilson Vieira wrote: Check if freetype-6.dll is in same dir as the executable or in windows dir. Fixed it. I had to copy freetype6.dll to the executable's directory, and then rename it to freetype-6.dll. Then copy zlib1.dll into the executable directory as well. Apparently, having them in the Windows DLL search path wasn't good enough. possibly that but the different name probably was more of the culprit... you didn't say that you had renamed it in the dll path, though... but then, what else would break if it was renamed? as i suggested before, i think you need, in code, to determine what OS you are running on and then attempt to load the dll with the proper name for that OS... apparently it has one name on *nix and another on winwhatever ;) -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Freetype-6.dll not found
On 13-08-05 12:47 PM, Edilson Vieira wrote: Check if freetype-6.dll is in same dir as the executable or in windows dir. Fixed it. I had to copy freetype6.dll to the executable's directory, and then rename it to freetype-6.dll. Then copy zlib1.dll into the executable directory as well. Apparently, having them in the Windows DLL search path wasn't good enough. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Freetype-6.dll not found
I have written a program that uses ftfont, and it works fantastically on Linux, but fails to start under Windoze with the above error message. I have installed the FreeType package, and restarted the computer, and still nothing. Any suggestions? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Freetype-6.dll not found
On 8/5/2013 11:17, Timothy Groves wrote: I have written a program that uses ftfont, and it works fantastically on Linux, but fails to start under Windoze with the above error message. I have installed the FreeType package, and restarted the computer, and still nothing. Any suggestions? what is the name of the freetype dll file on winwhatever? that's probably what you have to use there... -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Freetype-6.dll not found
Check if freetype-6.dll is in same dir as the executable or in windows dir. Have you set the search path for font manager? Something like this: FontMgr.SearchPath := 'c:\windows;c:\windows\fonts'; Hope it helps. Regards, Ed. 2013/8/5 Timothy Groves the.tail.kin...@gmail.com I have written a program that uses ftfont, and it works fantastically on Linux, but fails to start under Windoze with the above error message. I have installed the FreeType package, and restarted the computer, and still nothing. Any suggestions? -- __**_ Lazarus mailing list Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus