digitalmars.D.bugs - [Issue 2249] New: object.d: module object cannot read file 'object.d'
- d-bugmail puremagic.com (37/37) Jul 26 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2249
- d-bugmail puremagic.com (14/14) Aug 06 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2249
- d-bugmail puremagic.com (4/4) Apr 23 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2249
- d-bugmail puremagic.com (6/7) Apr 23 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2249
- d-bugmail puremagic.com (10/10) May 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2249
- d-bugmail puremagic.com (13/13) Aug 20 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2249
http://d.puremagic.com/issues/show_bug.cgi?id=2249 Summary: object.d: module object cannot read file 'object.d' Product: D Version: 1.033 Platform: PC OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dufresnep gmail.com Symptom: When 'dmd somefile.d' get: object.d: module object cannot read file 'object.d' Probable reason: probably does not handle spaces in path in -I for DFLAGS in sc.ini coming from % P% which I believe to be the path of DMD. I tried to write full path to -IC:\... in sc.ini, but that did not helped. I use an openshell.bat file: ========== echo off PATH=%CD%\bin;%PATH% PROMPT=%USERNAME% %COMPUTERNAME%:$P$G$S COLOR 0F ECHO Shell setup for Digital Mars D Compiling and Debugging ECHO change which drive you're on: [Drive Letter]:\ ECHO eg. C:\ to change to C drive %HOMEDRIVE% CD %HOMEPATH% CMD ============ Does not work on my Desktop (probably because of "Documents and Settings"). So I tried do decompress to "C:\OKTANGO" the whole thing. Was working fine there. Then renamed to "C:\BAD TANGO" and rerun openshell.bat and recompile hello.d, with the "object.d: module object cannot read file 'object.d'" message. I am using tangobos-0.99.7-bin-win32-dmd.1.033. --
Jul 26 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2249 torhu yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|object.d: module object |DMD can't handle include |cannot read file 'object.d' |paths with spaces in them Yup, dmd can't handle include paths with spaces in them, at least not when settings them in sc.ini. It's annoying, but more or less documented here: http://www.digitalmars.com/d/1.0/dmd-windows.html#problems It's likely that the linker (optlink) can't handle paths with spaces either, and that's not likely to be fixed anytime soon. So avoiding spaces is the way to go. --
Aug 06 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2249 This problem will be fixed in future releases? --
Apr 23 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2249This problem will be fixed in future releases?No. Optlink hasn't been changed in a decade, AFAIK; its bugs will probably never get fixed. --
Apr 23 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2249 cristian zerobugs.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cristian zerobugs.org I think that the linker is a separate issue -- importing modules is strictly a front-end issue, and an annoying one, if one is foolish enough to install D in, say, c:\Program Files\Digital Mars\ --
May 07 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2249 Valery <free_on mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |free_on mail.ru Version|1.033 |2.031 Is this problem will be forever? This will impose restrictions on the IDE for D and installers. If the linker can be used other (not Optlink) that the compiler - no. Walter, please, fix it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 20 2009