digitalmars.D.ide - VisualD 64bit linker error
- Charles (175/175) Nov 13 2014 Hi everyone,
- Charles (1/1) Nov 13 2014 I went ahead and made a forum account, I'm Charles from above.
- Rainer Schuetze (5/11) Nov 14 2014 There are obviously quotes missing for the .lnkarg file that contains
- Charles (4/6) Nov 14 2014 I thought that's what the issue was; however, I'm not sure where
- Rainer Schuetze (3/9) Nov 14 2014 Go to the configuration manager, select the project configuration and
- sdvcn (25/39) Nov 20 2014 日志名称: Application
- Rainer Schuetze (5/44) Nov 22 2014 I can't really decipher this but I guess it's some kind of crash report.
- sdvcn (4/60) Nov 22 2014 (Visual D v0.3.40 beta 2) This package filemonitor.dll file is
- Rainer Schuetze (4/61) Nov 23 2014 I'm not sure what's wrong with it. It is known to be reported by some
- sdvcn (11/11) Nov 30 2014 Compile filemonitor.dll No problem
- sdvcn (3/14) Nov 30 2014 Proposal:
- Rainer Schuetze (10/27) Dec 04 2014 I cannot build the release version of Visual D with debug info anymore,
Hi everyone, I'm experiencing a bit of trouble getting Visual D to work for me. Here's where I'm at: OS: Windows 8.1 DMD: 2.066.1 Visual Studio 2013 Professional Visual D: 0.3.40 Beta 2 (tried 0.3.39 as well) --------- Attempt 1 --------- When I build with Visual D using the defaults (override sc.ini checked): ------ Build started: Project: test64, Configuration: Debug DMD x64 ------ Building Debug DMD x64\test64.exe... LINK : fatal error LNK1181: cannot open input file 'DMD.obj' Building Debug DMD x64\test64.exe failed! Details saved as "file://S:\D\Dev\test64\test64\Debug DMD x64\test64.buildlog.html" Build time: 1 s ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Build Log Building Debug DMD x64\test64.exe Command Line set PATH=S:\D\Tools\dmd2\windows\bin;C:\Program Files (x86)\Windows Kits\8.1\\bin\x64;%PATH% set DMD_LIB=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64;C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\ set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ dmd -m64 -g -debug -X -Xf"Debug DMD x64\test64.json" -deps="Debug DMD x64\test64.dep" -c -of"Debug DMD x64\test64.obj" main.d if errorlevel 1 goto reportError set LIB="S:\D\Tools\dmd2\windows\bin\..\lib64";"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\winv6.3\um\x64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\win8\um\x64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\x64" echo. > S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg echo "Debug DMD x64\test64.obj" /OUT:"Debug DMD x64\test64.exe" /MAP:"Debug DMD x64\test64.map" user32.lib kernel32.lib /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64" /DEBUG /INCREMENTAL:NO /NOLOGO >> S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg "C:\Program Files (x86)\VisualD\pipedmd.exe" -deps "Debug DMD x64\test64.lnkdep" "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\bin\link.exe" S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg if errorlevel 1 goto reportError if not exist "Debug DMD x64\test64.exe" (echo "Debug DMD x64\test64.exe" not created! && goto reportError) goto noError :reportError echo Building Debug DMD x64\test64.exe failed! :noError Output LINK : fatal error LNK1181: cannot open input file 'DMD.obj' Building Debug DMD x64\test64.exe failed! --------- Attempt 2 --------- When I build with Visual D with the override sc.ini unchecked, and sc.ini on install defaults: ------ Build started: Project: test64, Configuration: Debug DMD x64 ------ Building Debug DMD x64\test64.exe... LINK : fatal error LNK1171: unable to load mspdb120.dll (error code: 126) Building Debug DMD x64\test64.exe failed! Details saved as "file://S:\D\Dev\test64\test64\Debug DMD x64\test64.buildlog.html" Build time: 1 s ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Build Log Building Debug DMD x64\test64.exe Command Line set PATH=S:\D\Tools\dmd2\windows\bin;C:\Program Files (x86)\Windows Kits\8.1\\bin\x64;%PATH% set DMD_LIB=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64;C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\ set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ dmd -m64 -g -debug -X -Xf"Debug DMD x64\test64.json" -deps="Debug DMD x64\test64.dep" -c -of"Debug DMD x64\test64.obj" main.d if errorlevel 1 goto reportError set LIB="S:\D\Tools\dmd2\windows\bin\..\lib64";"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\winv6.3\um\x64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\win8\um\x64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\x64" echo. > S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg echo "Debug DMD x64\test64.obj" /OUT:"Debug DMD x64\test64.exe" /MAP:"Debug DMD x64\test64.map" user32.lib kernel32.lib /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64" /DEBUG /INCREMENTAL:NO /NOLOGO /OPT:NOICF >> S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg "C:\Program Files (x86)\VisualD\pipedmd.exe" -deps "Debug DMD x64\test64.lnkdep" "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\bin\x86_amd64\link.exe" S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg if errorlevel 1 goto reportError if not exist "Debug DMD x64\test64.exe" (echo "Debug DMD x64\test64.exe" not created! && goto reportError) goto noError :reportError echo Building Debug DMD x64\test64.exe failed! :noError Output LINK : fatal error LNK1171: unable to load mspdb120.dll (error code: 126) Building Debug DMD x64\test64.exe failed! --------- Attempt 3 --------- When I build with Visual D with the override sc.ini unchecked, and sc.ini using the VC2010 path: ------ Build started: Project: test64, Configuration: Debug DMD x64 ------ Building Debug DMD x64\test64.exe... LINK : fatal error LNK1181: cannot open input file 'DMD.obj' Building Debug DMD x64\test64.exe failed! Details saved as "file://S:\D\Dev\test64\test64\Debug DMD x64\test64.buildlog.html" Build time: 2 s ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Build Log Building Debug DMD x64\test64.exe Command Line set PATH=S:\D\Tools\dmd2\windows\bin;C:\Program Files (x86)\Windows Kits\8.1\\bin\x64;%PATH% set DMD_LIB=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64;C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\ set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ dmd -m64 -g -debug -X -Xf"Debug DMD x64\test64.json" -deps="Debug DMD x64\test64.dep" -c -of"Debug DMD x64\test64.obj" main.d if errorlevel 1 goto reportError set LIB="S:\D\Tools\dmd2\windows\bin\..\lib64";"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\winv6.3\um\x64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\win8\um\x64";"C:\Program Files (x86)\Windows Kits\8.1\\Lib\x64" echo. > S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg echo "Debug DMD x64\test64.obj" /OUT:"Debug DMD x64\test64.exe" /MAP:"Debug DMD x64\test64.map" user32.lib kernel32.lib /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64" /DEBUG /INCREMENTAL:NO /NOLOGO /OPT:NOICF >> S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg "C:\Program Files (x86)\VisualD\pipedmd.exe" -deps "Debug DMD x64\test64.lnkdep" "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\bin\amd64\link.exe" S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkarg if errorlevel 1 goto reportError if not exist "Debug DMD x64\test64.exe" (echo "Debug DMD x64\test64.exe" not created! && goto reportError) goto noError :reportError echo Building Debug DMD x64\test64.exe failed! :noError Output LINK : fatal error LNK1181: cannot open input file 'DMD.obj' Building Debug DMD x64\test64.exe failed! I reinstalled both DMD and Visual D to make sure it wasn't something silly I changed. Still no luck. Any ideas? Thanks, Charles
Nov 13 2014
I went ahead and made a forum account, I'm Charles from above.
Nov 13 2014
On 14.11.2014 05:54, Charles wrote:echo "Debug DMD x64\test64.obj" /OUT:"Debug DMD x64\test64.exe" /MAP:"Debug DMD x64\test64.map" user32.lib kernel32.lib /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\\lib\amd64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64" /DEBUG /INCREMENTAL:NO /NOLOGO >> S:\D\Dev\test64\test64\Debug DMD x64\test64.build.lnkargThere are obviously quotes missing for the .lnkarg file that contains "Debug DMD x64". I'll look into this. As a workaround, please rename the configuration to something that doesn't contain spaces.
Nov 14 2014
On Friday, 14 November 2014 at 11:13:32 UTC, Rainer Schuetze wrote:As a workaround, please rename the configuration to something that doesn't contain spaces.I thought that's what the issue was; however, I'm not sure where to update the config at.
Nov 14 2014
On 14.11.2014 16:33, Charles wrote:On Friday, 14 November 2014 at 11:13:32 UTC, Rainer Schuetze wrote:Go to the configuration manager, select the project configuration and click "Edit" in the drop-down list. The following dialog allows renaming...As a workaround, please rename the configuration to something that doesn't contain spaces.I thought that's what the issue was; however, I'm not sure where to update the config at.
Nov 14 2014
On Friday, 14 November 2014 at 17:14:25 UTC, Rainer Schuetze wrote:On 14.11.2014 16:33, Charles wrote:日志名称: Application 来源: Application Error 日期: 2014/11/20 15:44:13 事件 ID: 1000 任务类别: (100) 级别: 错误 关键字: 经典 用户: 暂缺 计算机: WIN-6RRLID41QMM 描述: 错误应用程序名称: link.exe,版本: 12.0.30324.0,时间戳: 0x532f655e 错误模块名称: filemonitor.dll,版本: 0.0.0.0,时间戳: 0x00000000 异常代码: 0xc0000005 错误偏移量: 0x0000309b 错误进程 ID: 0xd70 错误应用程序启动时间: 0x01d00495ab86ed5a 错误应用程序路径: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe 错误模块路径: C:\Program Files (x86)\VisualD\filemonitor.dll 报告 ID: 04e0d41e-7089-11e4-ae24-00e066349802 filemonitor.dll error https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d Compile replacementOn Friday, 14 November 2014 at 11:13:32 UTC, Rainer Schuetze wrote:Go to the configuration manager, select the project configuration and click "Edit" in the drop-down list. The following dialog allows renaming...As a workaround, please rename the configuration to something that doesn't contain spaces.I thought that's what the issue was; however, I'm not sure where to update the config at.
Nov 20 2014
On 20.11.2014 09:27, sdvcn wrote:On Friday, 14 November 2014 at 17:14:25 UTC, Rainer Schuetze wrote:I can't really decipher this but I guess it's some kind of crash report. There have been some recent fixes to the file monitor. Have you tried one of the latest betas: https://github.com/D-Programming-Language/visuald/releases ?On 14.11.2014 16:33, Charles wrote:日志名称: Application 来源: Application Error 日期: 2014/11/20 15:44:13 事件 ID: 1000 任务类别: (100) 级别: 错误 关键字: 经典 用户: 暂缺 计算机: WIN-6RRLID41QMM 描述: 错误应用程序名称: link.exe,版本: 12.0.30324.0,时间戳: 0x532f655e 错误模块名称: filemonitor.dll,版本: 0.0.0.0,时间戳: 0x00000000 异常代码: 0xc0000005 错误偏移量: 0x0000309b 错误进程 ID: 0xd70 错误应用程序启动时间: 0x01d00495ab86ed5a 错误应用程序路径: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe 错误模块路径: C:\Program Files (x86)\VisualD\filemonitor.dll 报告 ID: 04e0d41e-7089-11e4-ae24-00e066349802 filemonitor.dll error https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d Compile replacementOn Friday, 14 November 2014 at 11:13:32 UTC, Rainer Schuetze wrote:Go to the configuration manager, select the project configuration and click "Edit" in the drop-down list. The following dialog allows renaming...As a workaround, please rename the configuration to something that doesn't contain spaces.I thought that's what the issue was; however, I'm not sure where to update the config at.
Nov 22 2014
On Saturday, 22 November 2014 at 10:17:59 UTC, Rainer Schuetze wrote:On 20.11.2014 09:27, sdvcn wrote:(Visual D v0.3.40 beta 2) This package filemonitor.dll file is wrong.On Friday, 14 November 2014 at 17:14:25 UTC, Rainer Schuetze wrote:I can't really decipher this but I guess it's some kind of crash report. There have been some recent fixes to the file monitor. Have you tried one of the latest betas: https://github.com/D-Programming-Language/visuald/releases ?On 14.11.2014 16:33, Charles wrote:日志名称: Application 来源: Application Error 日期: 2014/11/20 15:44:13 事件 ID: 1000 任务类别: (100) 级别: 错误 关键字: 经典 用户: 暂缺 计算机: WIN-6RRLID41QMM 描述: 错误应用程序名称: link.exe,版本: 12.0.30324.0,时间戳: 0x532f655e 错误模块名称: filemonitor.dll,版本: 0.0.0.0,时间戳: 0x00000000 异常代码: 0xc0000005 错误偏移量: 0x0000309b 错误进程 ID: 0xd70 错误应用程序启动时间: 0x01d00495ab86ed5a 错误应用程序路径: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe 错误模块路径: C:\Program Files (x86)\VisualD\filemonitor.dll 报告 ID: 04e0d41e-7089-11e4-ae24-00e066349802 filemonitor.dll error https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d Compile replacementOn Friday, 14 November 2014 at 11:13:32 UTC, Rainer Schuetze wrote:Go to the configuration manager, select the project configuration and click "Edit" in the drop-down list. The following dialog allows renaming...As a workaround, please rename the configuration to something that doesn't contain spaces.I thought that's what the issue was; however, I'm not sure where to update the config at.
Nov 22 2014
On 23.11.2014 00:02, sdvcn wrote:On Saturday, 22 November 2014 at 10:17:59 UTC, Rainer Schuetze wrote:I'm not sure what's wrong with it. It is known to be reported by some Anti-Virus programs because it is injected into the linker process, though. Is this the issue here?On 20.11.2014 09:27, sdvcn wrote:(Visual D v0.3.40 beta 2) This package filemonitor.dll file is wrong.On Friday, 14 November 2014 at 17:14:25 UTC, Rainer Schuetze wrote:I can't really decipher this but I guess it's some kind of crash report. There have been some recent fixes to the file monitor. Have you tried one of the latest betas: https://github.com/D-Programming-Language/visuald/releases ?On 14.11.2014 16:33, Charles wrote:日志名称: Application 来源: Application Error 日期: 2014/11/20 15:44:13 事件 ID: 1000 任务类别: (100) 级别: 错误 关键字: 经典 用户: 暂缺 计算机: WIN-6RRLID41QMM 描述: 错误应用程序名称: link.exe,版本: 12.0.30324.0,时间戳: 0x532f655e 错误模块名称: filemonitor.dll,版本: 0.0.0.0,时间戳: 0x00000000 异常代码: 0xc0000005 错误偏移量: 0x0000309b 错误进程 ID: 0xd70 错误应用程序启动时间: 0x01d00495ab86ed5a 错误应用程序路径: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe 错误模块路径: C:\Program Files (x86)\VisualD\filemonitor.dll 报告 ID: 04e0d41e-7089-11e4-ae24-00e066349802 filemonitor.dll error https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d Compile replacementOn Friday, 14 November 2014 at 11:13:32 UTC, Rainer Schuetze wrote:Go to the configuration manager, select the project configuration and click "Edit" in the drop-down list. The following dialog allows renaming...As a workaround, please rename the configuration to something that doesn't contain spaces.I thought that's what the issue was; however, I'm not sure where to update the config at.
Nov 23 2014
Compile filemonitor.dll No problem (https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d) Visual C++ 2013 06181-004-0451047-02659 DMD32 D Compiler v2.066.1 Microsoft Windows [ver 6.1.7601] windows 2008r2 no Anti-Virus programs . (Compare file PE) | (0.3.40b3) | my filemonitor | AddressOfEntryPoint | 00003000 | 00000000 |
Nov 30 2014
On Monday, 1 December 2014 at 06:15:43 UTC, sdvcn wrote:Compile filemonitor.dll No problem (https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d) Visual C++ 2013 06181-004-0451047-02659 DMD32 D Compiler v2.066.1 Microsoft Windows [ver 6.1.7601] windows 2008r2 no Anti-Virus programs . (Compare file PE) | (0.3.40b3) | my filemonitor | AddressOfEntryPoint | 00003000 | 00000000 |Proposal: Pdb file should be included with the release package.
Nov 30 2014
On 01.12.2014 07:25, sdvcn wrote:On Monday, 1 December 2014 at 06:15:43 UTC, sdvcn wrote:I cannot build the release version of Visual D with debug info anymore, optlink fails to build with "too much debug info". That's why I have given up on supplying pdb files. The filemonitor.dll could be built with debug info, but I don't think it reveal anything. I guess your system somehow disables DLL injection (a technique which might also be abused by viruses). You can disable the use of this DLL by unchecking "Monitor optlink dependencies" on the Tools->Options->Projects and Solutions->Visual D Settings page.Compile filemonitor.dll No problem (https://github.com/D-Programming-Language/visuald/raw/master/tools/filemonitor.d) Visual C++ 2013 06181-004-0451047-02659 DMD32 D Compiler v2.066.1 Microsoft Windows [ver 6.1.7601] windows 2008r2 no Anti-Virus programs . (Compare file PE) | (0.3.40b3) | my filemonitor | AddressOfEntryPoint | 00003000 | 00000000 |Proposal: Pdb file should be included with the release package.
Dec 04 2014