View previous topic :: View next topic |
Author |
Message |
softcore
Joined: 11 Jan 2007 Posts: 2
|
Posted: Thu Jan 11, 2007 11:05 am Post subject: Link Error in Debug Mode |
|
|
Hi guys,
I'd really love to play with D but this stupid error doesn't go away:
Quote: |
------ Build started: Project: Project1, Configuration: Debug Win32 ------
D Build Task...
Args = -of.\bin\Debug\Project1.exe -debug -g -ID:\DLanguage\dmd\src\phobos; -od.\obj\Debug -w main.d
D:\DLanguage\dmd\bin\..\..\dm\bin\link.exe .\obj\Debug\main,.\bin\Debug\Project1.exe,,user32+kernel32/co/noi;
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
LinkerError(0,0): Error: OPTLINK : Error 118: Filename Expected
LinkerError(0,0): Error: Path=D:\Programme\Alias\Maya6.0\bin;D:\Programme\Parasoft\C++test\bin;D:\Programme\MiKTeX 2.5\miktex\bin;D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;D:\Programme\Gemeinsame Dateien\Ulead Systems\MPEG;d:\Programme\Microsoft SQL Server\90\Tools\binn\;D:\Programme\Perforce;D:\Programme\AMD\CodeAnalyst\bin;D:\Programme\doxygen\bin;D:\WINDOWS\system32\WindowsPowerShell\v1.0;D:\Programme\ATI Technologies\ATI.ACE\
LinkerError(0,0): Error: ^
LinkerError(0,0): Error: --- errorlevel 1
Done building project "Project1.dproj" -- FAILED.
Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
|
It only shows in debug mode. I already googled for it and made sure that ms's link.exe is not in my "path" environment variable as suggested on digital mars.
Any ideas??
Thx,
Alex |
|
Back to top |
|
|
Carlos
Joined: 19 Mar 2004 Posts: 396 Location: Canyon, TX
|
Posted: Thu Jan 11, 2007 12:16 pm Post subject: |
|
|
Try removing the initial '.' in your files. Maybe that's confusing the linker. |
|
Back to top |
|
|
rsl
Joined: 04 Jan 2006 Posts: 47
|
Posted: Fri Jan 12, 2007 12:36 am Post subject: |
|
|
That is linker problem.@digitalmars OPTLINK can't handle '+' charactor.
you need to remove "D:\Programme\Parasoft\C++test\bin;" from "Path".
or edit "sc.ini" in dmd folder to override "PATH" environment variable. |
|
Back to top |
|
|
softcore
Joined: 11 Jan 2007 Posts: 2
|
Posted: Fri Jan 12, 2007 5:42 am Post subject: |
|
|
Ok..that fixed it. Thanks!
Source level breakpoints are not yet working right? |
|
Back to top |
|
|
rsl
Joined: 04 Jan 2006 Posts: 47
|
Posted: Fri Jan 12, 2007 11:20 pm Post subject: |
|
|
no progress yet. |
|
Back to top |
|
|
|