www.digitalmars.com         C & C++   DMDScript  

D - [Request] Assistance installing DUI

reply Andrew Edwards <remove_ridimz remove_yahoo.com> writes:
OS: Windows XP Pro
DMD: v0.79
DUI: v00.08 -> c:\dmd\src\phobos\code\ant\dui
GTK: v2.2.4 -> c:\Program Files\Common Files\GTK

Fixed problem installing in paths containing spaces ("Program Files" ...).

Modifications made to convLibs.bat
----------------------------------

Changes:

           to   -> set GTK_BASE="C:\Program Files\Common Files\GTK\2.0"

           to   -> set GL_LIBS=%SYSTEMROOT%\system32\

Additions:
   /* return to dui source directory */

   /* call goMake.bat */


Modifications made to MakefileWIN
----------------------------------

Changes:

           to   -> GTK_BASE = "C:\Program Files\Common Files\GTK\2.0"

Directory structure before executing convLibs.bat
-------------------------------------------------

C:\dmd\src\phobos\code\ant\dui>dir
  Volume in drive C has no label.
  Volume Serial Number is 80C7-0E2D

  Directory of C:\dmd\src\phobos\code\ant\dui

02/07/2004  01:56 PM    <DIR>          .
02/07/2004  01:56 PM    <DIR>          ..
02/07/2004  12:57 PM             3,927 convLibs.bat
01/17/2004  11:52 AM               355 goMake.bat
01/17/2004  11:04 AM             2,271 INSTALL_WIN.txt
10/17/2003  07:01 PM            26,925 lgpl.txt
02/07/2004  12:54 PM             9,884 MakefileWIN
01/17/2004  11:13 AM               480 README
02/07/2004  12:19 PM    <DIR>          src
                6 File(s)         43,842 bytes
                3 Dir(s)   6,223,360,000 bytes free

Directory structure after executing convLibs.bat
------------------------------------------------

C:\dmd\src\phobos\code\ant\dui>dir
  Volume in drive C has no label.
  Volume Serial Number is 80C7-0E2D

  Directory of C:\dmd\src\phobos\code\ant\dui

02/07/2004  01:59 PM    <DIR>          .
02/07/2004  01:59 PM    <DIR>          ..
02/07/2004  12:57 PM             3,927 convLibs.bat
02/07/2004  01:59 PM           458,268 DUITest.exe
02/07/2004  01:59 PM             2,390 DUITest.map
01/17/2004  11:52 AM               355 goMake.bat
02/07/2004  01:59 PM           214,044 HelloWorld.exe
02/07/2004  01:59 PM             2,390 HelloWorld.map
01/17/2004  11:04 AM             2,271 INSTALL_WIN.txt
10/17/2003  07:01 PM            26,925 lgpl.txt
02/07/2004  01:58 PM         1,711,616 libdui.lib
02/07/2004  12:54 PM             9,884 MakefileWIN
01/17/2004  11:13 AM               480 README
02/07/2004  12:19 PM    <DIR>          src
               11 File(s)      2,432,550 bytes
                3 Dir(s)   6,220,959,744 bytes free

Result:
No errors reported during compilation.

Problems:
Executing HelloWorld.exe or DUITests.exe results in the following error:

   "This application has failed to start because libgtk-win32-2.0-0.dll 
was not found. Re-installing the application may fix this problem."

I've reinstalled GTK, recompiled DUI and searched for the file to make 
sure it exists.

This does not fix the problem.

Any assistance would be greatly appreciated.

Andrew
Feb 07 2004
parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
Andrew Edwards wrote:
 ...
    "This application has failed to start because
 libgtk-win32-2.0-0.dll was not found. Re-installing the application
 may fix this problem."

 I've reinstalled GTK, recompiled DUI and searched for the file to
 make sure it exists.

 This does not fix the problem.

 Any assistance would be greatly appreciated.

 Andrew
Run your application from where libgtk-win32-2.0-0.dll is, or make sure it's in the path. ----------------------- Carlos Santander Bernal
Feb 07 2004
parent reply Andrew Edwards <remove_ridimz remove_yahoo.com> writes:
Carlos Santander B. wrote:

 
 Run your application from where libgtk-win32-2.0-0.dll is, or make sure it's
 in the path.
 
 -----------------------
 Carlos Santander Bernal
 
 
I've placed "C:\Program Files\Common Files\GTK\lib" in my path and it works! Thanks Exicution of HelloWorld causes a problem: The program cannot be closed. DUITest also crashed while I was clicking through it. After terminating the process, M$ created a bug report of sorts which I have included in hopes that it can shed some light on the subject. It didn't really help me much. Thanks again, Andrew
Feb 07 2004
parent reply Ant <duitoolkit yahoo.ca> writes:
On Sat, 07 Feb 2004 16:21:21 -0500, Andrew Edwards wrote:

 Carlos Santander B. wrote:
 
 
 Run your application from where libgtk-win32-2.0-0.dll is, or make sure it's
 in the path.
 
 -----------------------
 Carlos Santander Bernal
 
 
I've placed "C:\Program Files\Common Files\GTK\lib" in my path and it works! Thanks Exicution of HelloWorld causes a problem: The program cannot be closed.
I fixed that for the next release.
 
 DUITest also crashed while I was clicking through it.
Is that on the scales tests? I'm still looking at that one. Ant
Feb 07 2004
parent reply Andrew Edwards <remove_ridimz remove_yahoo.com> writes:
Ant wrote:
 On Sat, 07 Feb 2004 16:21:21 -0500, Andrew Edwards wrote:
 
DUITest also crashed while I was clicking through it.
Is that on the scales tests? I'm still looking at that one. Ant
No it was the Drawing Test...it is also extremely slow. Anyway to speed it up a bit? Andrew
Feb 07 2004
parent Ant <duitoolkit yahoo.ca> writes:
On Sat, 07 Feb 2004 17:07:08 -0500, Andrew Edwards wrote:

 Ant wrote:
 On Sat, 07 Feb 2004 16:21:21 -0500, Andrew Edwards wrote:
 
DUITest also crashed while I was clicking through it.
Is that on the scales tests? I'm still looking at that one. Ant
No it was the Drawing Test...
That's new! I don't have that error... I have my windows box on. I'll try it now... no, it doesn't crash for me. any more details?
it is also extremely slow. Anyway to speed it up a bit?
it draws one pixel at the time. it's very slow on windows. it's fast on linux. I see you drop the same problem on the sourceforge 'Support Requests'. let's carry this over there. http://sourceforge.net/projects/dui Ant
Feb 07 2004