www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - For Chris - d snapshot

reply Ty Tower <tytower hotmail.com> writes:
Chris I had a look at your easy D snapshot.
downloaded and ran on a windows 2000 Pro install and got errors immediately on
trying to run the console . Looks like some sort of permission problem.
Think its mostly self explanatory except for ease and comfort I use rebuild on
unix rather than dsss build ,it saves having to enter each "D" program in the
config file.

Text console output is attached 
What am I doing wrong?
Jun 19 2008
next sibling parent reply Ty Tower <tytower hotmail.com> writes:
Ty Tower Wrote:

 Chris I had a look at your easy D snapshot.
 downloaded and ran on a windows 2000 Pro install and got errors immediately on
trying to run the console . Looks like some sort of permission problem.
 Think its mostly self explanatory except for ease and comfort I use rebuild on
unix rather than dsss build ,it saves having to enter each "D" program in the
config file.
 
 Text console output is attached 
 What am I doing wrong?
 
 Shell setup for Digital Mars D Compiling and Debugging
 build software: dsss build [-g] main_file.d (-g for debugging)
 debug software: ddbg exe_file.exe
 change which drive you're on: [Drive Letter]:\
 eg. C:\ to change to C drive
 Microsoft Windows 2000 [Version 5.00.2195]
 (C) Copyright 1985-1999 Microsoft Corp.
 
 tytower WINDOWS:C:\> dsss build C:\dmd\mystuff\SliderTest.d
 DSSS config error: unrecognized line '[C:\dmd\mystuff\SliderTest.d]'.
 
 tytower WINDOWS:C:\> rebuild C:\dmd\mystuff\SliderTest.d
 
 tytower WINDOWS:C:\> SliderTest.exe
 
 error box was "not a valid win32 application" 
and in and also it said "access violation" in the console window Also while you are there I looked at your site but it seems you have moved server again and I did not see anything on the cheque entry project there . Is there any progress or is it dead?
Jun 19 2008
parent "Chris R. Miller" <lordSaurontheGreat gmail.com> writes:
Ty Tower wrote:
 Ty Tower Wrote:
=20
 Chris I had a look at your easy D snapshot.
 downloaded and ran on a windows 2000 Pro install and got errors immedi=
ately on trying to run the console . Looks like some sort of permission p= roblem.
 Think its mostly self explanatory except for ease and comfort I use re=
build on unix rather than dsss build ,it saves having to enter each "D" p= rogram in the config file.
 Text console output is attached=20
 What am I doing wrong?

 Shell setup for Digital Mars D Compiling and Debugging
 build software: dsss build [-g] main_file.d (-g for debugging)
 debug software: ddbg exe_file.exe
 change which drive you're on: [Drive Letter]:\
 eg. C:\ to change to C drive
 Microsoft Windows 2000 [Version 5.00.2195]
 (C) Copyright 1985-1999 Microsoft Corp.

 tytower WINDOWS:C:\> dsss build C:\dmd\mystuff\SliderTest.d
 DSSS config error: unrecognized line '[C:\dmd\mystuff\SliderTest.d]'.

 tytower WINDOWS:C:\> rebuild C:\dmd\mystuff\SliderTest.d

 tytower WINDOWS:C:\> SliderTest.exe

 error box was "not a valid win32 application"=20
and in=20 =20 =20 and also it said "access violation" in the console window =20 =20 Also while you are there I looked at your site but it seems you have mo=
ved server again and I did not see anything on the cheque entry project t= here . Is there any progress or is it dead? Yeah, I haven't gotten that migrated yet. No, I haven't made any=20 progress on that yet. All I found were a few input errors that caused=20 some strange stuff to persist in the input boxes, but otherwise it=20 functions fairly well. I hadn't heard anything in a while, and then I=20 became distracted by other things, etc. Thanks for the reminder.
Jun 20 2008
prev sibling next sibling parent Jacob Carlborg <doobnet gmail.com> writes:
Ty Tower wrote:
tytower WINDOWS:C:\> dsss build C:\dmd\mystuff\SliderTest.d
DSSS config error: unrecognized line '[C:\dmd\mystuff\SliderTest.d]'.

I'm not sure but I think you get that error because you also have a 
dsss.conf file in the same directory that doesn't contain 
"[C:\dmd\mystuff\SliderTest.d]". I think I've got similar errors. Either 
use "dsss build file.d" or use a dsss.conf file, there seems to be a 
conflict if you use both in the same directory.
Jun 20 2008
prev sibling parent "Chris R. Miller" <lordSaurontheGreat gmail.com> writes:
Ty Tower wrote:
 Chris I had a look at your easy D snapshot.
 downloaded and ran on a windows 2000 Pro install and got errors immedia=
tely on trying to run the console . Looks like some sort of permission pr= oblem.
 Think its mostly self explanatory except for ease and comfort I use reb=
uild on unix rather than dsss build ,it saves having to enter each "D" pr= ogram in the config file.
=20
 Text console output is attached=20
 What am I doing wrong?
I found that when I try building something and I'm not currently in that = directory that it fails to build. The problem building with rebuild is that all of the libraries (DWT,=20 Arclib, etc.) are with DSSS and are included to rebuild when DSSS runs.=20 It sounds to me like you tried to build a DWT app without DSSS, and=20 for some reason the build with rebuild didn't fail outright (which I=20 think it should have) and then you tried to run it, and it didn't link=20 against DWT as it should, and so it was just a few kilobytes of=20 assembler short of a full program. Or it was malformed by a confused=20 linker, etc. DSSS could perhaps be a little more forgiving on Win32=20 platforms when you don't play with it *just* right, but given the=20 alternatives (building by hand, with makefiles, etc.) I'm more than=20 willing to accept it the way it is. :-)
Jun 20 2008