|
2004-02-26
| ||
| 12:07 | • Closed ticket [885537ffff]: makefile.vc/rules.vc keep asking for cd insertion</i... artifact: f087767a53 user: davygrvy | |
|
2004-01-30
| ||
| 03:39 | • Ticket [885537ffff]: 4 changes artifact: 9fc27566ec user: davygrvy | |
|
2004-01-29
| ||
| 19:32 | • Ticket [885537ffff]: 4 changes artifact: 760f1ba346 user: vincentdarley | |
| 18:10 | • Ticket [885537ffff]: 4 changes artifact: d28ef90a2d user: davygrvy | |
| 17:22 | • Ticket [885537ffff]: 4 changes artifact: c0d1ec6816 user: vincentdarley | |
| 03:57 | • Ticket [885537ffff]: 4 changes artifact: 1dbb9b73cd user: davygrvy | |
|
2004-01-28
| ||
| 17:33 | • Ticket [885537ffff]: 4 changes artifact: 7f8172349c user: davygrvy | |
| 16:56 | • Ticket [885537ffff]: 4 changes artifact: 676856e78a user: nobody | |
| 08:08 | • Ticket [885537ffff]: 4 changes artifact: 9796407342 user: davygrvy | |
| 08:02 | • Ticket [885537ffff]: 4 changes artifact: 0e6754abf1 user: davygrvy | |
| 07:38 | • Ticket [885537ffff]: 4 changes artifact: d72b8b02d6 user: davygrvy | |
| 07:00 | • Ticket [885537ffff]: 4 changes artifact: e9e54c8382 user: nobody | |
| 03:02 | • Ticket [885537ffff]: 4 changes artifact: 1673221a0f user: davygrvy | |
|
2004-01-27
| ||
| 21:39 | • Ticket [885537ffff]: 5 changes artifact: 065222701e user: dgp | |
| 14:22 | • New ticket [885537ffff]. artifact: 12c2531d63 user: vincentdarley | |
makefile.vc/rules.vc keep asking for cd insertion
Closed885537ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-01-27 14:22:00
Various of the 'nmakehlp' commands executed by the msvc++ build, e.g.: nmakehlp -c -QI0f prompt me with a windows dialog box titled "cl.exe - No Disk", and a message "There is no disk in the drive. Please insert a disk into drive D:.", with options Cancel/Try Again/Continue. If this only happened once or twice it would be ok, but it happens about 20 times when I do 'nmake -f makefile.vc'.
dgpplain2004-01-27 21:39:31
Logged In: YES user_id=80530 I know nothing about this. Passing to someone I hope does.
davygrvyplain2004-01-28 03:02:38
Logged In: YES user_id=7549 This is wierd. what version of vc++? Is your local directory at the time you call nmake the win directory of the source?
nobodyplain2004-01-28 07:00:55
Logged In: NO vc++ 5.2, and yes, I'm in the 'win' directory. I believe (but haven't 100% verified yet) that the problem doesn't arise when I first turn my laptop on without using the cd-rom (D: drive). However, once the cd-rom has been used once, then I'm always asked unless of course there is a disk already in it.
davygrvyplain2004-01-28 07:38:42
Logged In: YES
user_id=7549
The problem is probably in nmakehlp.c, I use a source file
name of 'nul'. Maybe '.\nul' would be more correct? Can you
try it.
*** nmakehlp.c23 Dec 2003 03:58:58 -00001.4
--- nmakehlp.c28 Jan 2004 00:36:41 -0000
***************
*** 137,143 ****
/* append our option for testing */
strcat(cmdline, option);
/* filename to compile, which exists, but is nothing and
empty. */
! strcat(cmdline, " nul");
ok = CreateProcess(
NULL, /* Module name. */
--- 137,143 ----
/* append our option for testing */
strcat(cmdline, option);
/* filename to compile, which exists, but is nothing and
empty. */
! strcat(cmdline, " .\\nul");
ok = CreateProcess(
NULL, /* Module name. */
davygrvyplain2004-01-28 08:02:32
Logged In: YES user_id=7549 Oh, that seems to stop the console window from popping up, too. Also added a SetErrorMode() call to shutoff those messages. Just committed -r1.5 of nmakehlp.c Does this fix it?
davygrvyplain2004-01-28 08:08:55
Logged In: YES user_id=7549 PS. delete nmakehlp.exe manualy so it's rebuilt from the changed sourcefile (can't really add that as it wouldn't be graceful). nmake is such a limited tool.
nobodyplain2004-01-28 16:56:04
Logged In: NO Hmm...Forget nmakehlp.exe for the moment (your changes didn't help, unfortunately). Just typing this on the command-line: cl.exe -nologo -c -TC Fdtemp .\nul asks me 6 times to insert a disk!!
davygrvyplain2004-01-28 17:33:59
Logged In: YES user_id=7549 It was wierd before, now it's more wierd. There's a file called tools.ini that might be located in % MSCDir%. I remember this from years ago, it can act as an over-ride and cause cl.exe to do strange stuff. Do you have a %CL% environment variable? That mess up cl.exe, too. Other that, I have no clue why msc is trying to read from the cd-rom drive.
davygrvyplain2004-01-29 03:57:43
Logged In: YES user_id=7549 cl.exe -nologo -c -TC -Zs -X .\nul Does that have the same behavior? I'm truly lost for how to help.
vincentdarleyplain2004-01-29 17:22:01
Logged In: YES user_id=32170 That command just asks me twice to insert a disk...!
davygrvyplain2004-01-29 18:10:03
Logged In: YES user_id=7549 2/3rds of the problem is gone, then. hehe When you use the IDE, does that ever want to go to the cd- rom when you build?
vincentdarleyplain2004-01-29 19:32:39
Logged In: YES user_id=32170 Just tried the IDE for the first time, and no, that never asks for the cd-rom!
davygrvyplain2004-01-30 03:39:37
Logged In: YES user_id=7549 I have no clue how to fix this. It doesn't make any sense. I can't reproduce it on my laptop (which has a cd-rom drive), VC++ 5, and runs w2k. When there's a disk in the drive, is there anyway to spy on what cl.exe is searching for?
davygrvyplain2004-02-26 12:07:10
Logged In: YES user_id=7549 Can't fix. I can't reproduce it here and have no ideas as to why it is happening.
Log in (anonymous is fine) to add a comment.