FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Link Error in Debug Mode

 
Post new topic   Reply to topic     Forum Index -> VSpluginD
View previous topic :: View next topic  
Author Message
softcore



Joined: 11 Jan 2007
Posts: 2

PostPosted: Thu Jan 11, 2007 11:05 am    Post subject: Link Error in Debug Mode Reply with quote

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
View user's profile Send private message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Thu Jan 11, 2007 12:16 pm    Post subject: Reply with quote

Try removing the initial '.' in your files. Maybe that's confusing the linker.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Fri Jan 12, 2007 12:36 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
softcore



Joined: 11 Jan 2007
Posts: 2

PostPosted: Fri Jan 12, 2007 5:42 am    Post subject: Reply with quote

Ok..that fixed it. Thanks!
Source level breakpoints are not yet working right?
Back to top
View user's profile Send private message
rsl



Joined: 04 Jan 2006
Posts: 47

PostPosted: Fri Jan 12, 2007 11:20 pm    Post subject: Reply with quote

no progress yet.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> VSpluginD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group