www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - Executing from the explorer

reply Plumm <sailormoontw gmail.com> writes:
Hi Again:

  The problem runs well from the dos-box(or console box), but in the explorer I
just double-clicked the program, it does nothing, or maybe the problem hangs.
Do you any reason that might cause that, or any configuration should I make?
Aug 03 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Plumm schrieb:
 Hi Again:
 
 The problem runs well from the dos-box(or console box), but in the
 explorer I just double-clicked the program, it does nothing, or maybe
 the problem hangs. Do you any reason that might cause that, or any
 configuration should I make?
copy the file dwt.res from the dwt-samples to your build directory build -full -L/su:windows:5 -L/rc:dwt test.d
Aug 03 2008
parent reply Plumm <sailormoontw gmail.com> writes:
Frank Benoit Wrote:
 copy the file dwt.res from the dwt-samples to your build directory
 build -full -L/su:windows:5 -L/rc:dwt test.d
Thanks for the response, but things are getting worse that even in dos-box(console mode) and from explorer, it cannot be executed. I don't know what the reason is, but I haven't change any source code. And while I try to recover the changes to the configuration file, it's still not working. Note I was using dsss to build, I think maybe there is some trick around it.
Aug 03 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Plumm schrieb:
 Frank Benoit Wrote:
 copy the file dwt.res from the dwt-samples to your build directory
 build -full -L/su:windows:5 -L/rc:dwt test.d
Thanks for the response, but things are getting worse that even in dos-box(console mode) and from explorer, it cannot be executed. I don't know what the reason is, but I haven't change any source code. And while I try to recover the changes to the configuration file, it's still not working. Note I was using dsss to build, I think maybe there is some trick around it.
Can you build other examples? do they have the same problem?
Aug 04 2008
parent reply Plumm <sailormoontw gmail.com> writes:
Hello :

   I tried to build dwt-samples, and failed

WARNING: Section for nonexistant file client.d.
WARNING: Section for nonexistant file server.d.
WARNING: Section for nonexistant file test.d.
simple.d => simple
+ D:\tools\dsss-0.75-dmd-win\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\tool
\dsss-0.75-dmd-win\include\d -SD:\tools\dsss-0.75-dmd-win\lib\  -ID:\tools\dsss
0.75-dmd-win\include\d -SD:\tools\dsss-0.75-dmd-win\lib -g -gc -JD:\tools\dsss-
.75-dmd-win\lib/res -Jres -L/SUBSYSTEM:console:5 -L/rc:dwt  -oqdsss_objs\D -g -
c -JD:\tools\dsss-0.75-dmd-win\lib/res -J../res -I.. -L/SUBSYSTEM:console:5 -L/
c:..\dwt simple.d -ofsimple
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
OPTLINK : Error 9: Unknown Option
+"dsss_objs\D\tango-core-sync-Condition"+"dsss_objs\D\tango-core-sync-Mutex"+"d
ss_objs\D\tango-core-sync-Semaphore",simple,,user32+kernel32/co/noi/EXETYPE:NT/
UBSYSTEM:WINDOWS+DD-dwt.lib+shlwapi.lib+opengl32.lib+msimg32.lib+usp10.lib+user
2.lib+oleacc.lib+olepro32.lib+oleaut32.lib+ole32.lib+shell32.lib+kernel32.lib+g
i32.lib+comdlg32.lib+comctl32.lib+advapi32.lib+DD-dwt.lib+zlib.lib+DD-dwt.lib+.
\+D:\tools\dsss-0.75-dmd-win\lib\\+D:\tools\dsss-0.75-dmd-win\lib\/SUBSYSTEM:co
sole:5/rc:dwt/SUBSYSTEM:console:5/rc:..\dwt+tango-user-dmd.lib+tango-user-dmd.l
b;







    ^
:5.lib
 Warning 2: File Not Found :5.lib
dwt.res
 Warning 2: File Not Found dwt.res
--- errorlevel 1
Command D:\tools\dsss-0.75-dmd-win\bin\rebuild.exe returned with code -1, abort
ng.
Error: Command failed, aborting.
Aug 04 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Plumm schrieb:
 Hello :
 
    I tried to build dwt-samples, and failed
 
 WARNING: Section for nonexistant file client.d.
 WARNING: Section for nonexistant file server.d.
 WARNING: Section for nonexistant file test.d.
 simple.d => simple
 + D:\tools\dsss-0.75-dmd-win\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\tool
 \dsss-0.75-dmd-win\include\d -SD:\tools\dsss-0.75-dmd-win\lib\  -ID:\tools\dsss
 0.75-dmd-win\include\d -SD:\tools\dsss-0.75-dmd-win\lib -g -gc -JD:\tools\dsss-
 ..75-dmd-win\lib/res -Jres -L/SUBSYSTEM:console:5 -L/rc:dwt  -oqdsss_objs\D -g
-
 c -JD:\tools\dsss-0.75-dmd-win\lib/res -J../res -I.. -L/SUBSYSTEM:console:5 -L/
 c:..\dwt simple.d -ofsimple
 OPTLINK (R) for Win32  Release 8.00.1
 Copyright (C) Digital Mars 1989-2004  All rights reserved.
 OPTLINK : Error 9: Unknown Option
 +"dsss_objs\D\tango-core-sync-Condition"+"dsss_objs\D\tango-core-sync-Mutex"+"d
 ss_objs\D\tango-core-sync-Semaphore",simple,,user32+kernel32/co/noi/EXETYPE:NT/
 UBSYSTEM:WINDOWS+DD-dwt.lib+shlwapi.lib+opengl32.lib+msimg32.lib+usp10.lib+user
 2.lib+oleacc.lib+olepro32.lib+oleaut32.lib+ole32.lib+shell32.lib+kernel32.lib+g
 i32.lib+comdlg32.lib+comctl32.lib+advapi32.lib+DD-dwt.lib+zlib.lib+DD-dwt.lib+.
 \+D:\tools\dsss-0.75-dmd-win\lib\\+D:\tools\dsss-0.75-dmd-win\lib\/SUBSYSTEM:co
 sole:5/rc:dwt/SUBSYSTEM:console:5/rc:..\dwt+tango-user-dmd.lib+tango-user-dmd.l
 b;
 
 
 
 
 
 
 
     ^
 :5.lib
  Warning 2: File Not Found :5.lib
 dwt.res
  Warning 2: File Not Found dwt.res
 --- errorlevel 1
 Command D:\tools\dsss-0.75-dmd-win\bin\rebuild.exe returned with code -1, abort
 ng.
 Error: Command failed, aborting.
run dsss in one of the subfolders like "examples", "snippets", "jface"
Aug 05 2008
parent Plumm <sailormoontw gmail.com> writes:
Hi :

  Same result, I think maybe be my LINK.exe isnt' latest one.

simple.d => simple
+ D:\tools\dsss-0.75-dmd-win\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\tools
\dsss-0.75-dmd-win\include\d -SD:\tools\dsss-0.75-dmd-win\lib\  -ID:\tools\dsss-
0.75-dmd-win\include\d -SD:\tools\dsss-0.75-dmd-win\lib  -oqdsss_objs\D -g -gc -
JD:\tools\dsss-0.75-dmd-win\lib/res -J../res -I.. -L/SUBSYSTEM:console:5 -L/rc:.
.\dwt simple.d -ofsimple
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
OPTLINK : Error 9: Unknown Option
+"dsss_objs\D\tango-core-sync-Condition"+"dsss_objs\D\tango-core-sync-Mutex"+"ds
ss_objs\D\tango-core-sync-Semaphore",simple,,user32+kernel32/co/noi/EXETYPE:NT/S
UBSYSTEM:WINDOWS+DD-dwt.lib+shlwapi.lib+opengl32.lib+msimg32.lib+usp10.lib+user3
2.lib+oleacc.lib+olepro32.lib+oleaut32.lib+ole32.lib+shell32.lib+kernel32.lib+gd
i32.lib+comdlg32.lib+comctl32.lib+advapi32.lib+DD-dwt.lib+zlib.lib+DD-dwt.lib+.\
\+D:\tools\dsss-0.75-dmd-win\lib\\+D:\tools\dsss-0.75-dmd-win\lib\/SUBSYSTEM:con
sole:5/rc:..\dwt+tango-user-dmd.lib+tango-user-dmd.lib;







    ^
:5.lib
 Warning 2: File Not Found :5.lib
--- errorlevel 1
Command D:\tools\dsss-0.75-dmd-win\bin\rebuild.exe returned with code -1, aborti
ng.
Error: Command failed, aborting.
Aug 05 2008