in reply to gimp, win32, system(), libgdk.dll not found

From a Full time Windows SysAdmin and a Perl Hacker (Mostly on unix): First, make sure you have libgdk.dll somewhere on your system. Use the windows search functionallity to search for it. If you don't have it, your missing part of GIMP to make it work on windows. If you do, its not in the search path. You can either copy it to c:\winnt (or whatever your windows directory is, or c:\winnt\system32\) or copy it to the same directory as the EXE. Also, you may want to right click on the gimp icon you use to run GIMP, click properties. That way you can see what command it is actually running, and also from which directory it starts from.... -Tripp
  • Comment on Re: gimp, win32, system(), libgdk.dll not found

Replies are listed 'Best First'.
Re: Re: gimp, win32, system(), libgdk.dll not found
by Arbogast (Monk) on Jun 10, 2003 at 05:46 UTC
    Thank you Anonymous Monk!!! What I ended up doing was this... I copied and pasted some .dll files it couldnt find from GTK to GIMP directories. Then I ran this and it behaves like a system call in Linux...

    use Win32::Process;
    use Win32;
    my $ProcessObj;
    Win32::Process::Create($ProcessObj,
    "c:\\Program Files\\GIMP\\bin\\gimp.exe",
    "start gimp.exe E:\\Sams_Data\\brian_judy.ppm",
    0,
    NORMAL_PRIORITY_CLASS, ".")|| die ErrorReport();
    $ProcessObj->Wait(INFINITE);