Pure-D / workspace-d

CLI deprecated, API + functionality moved into https://github.com/Pure-D/serve-d
MIT License
76 stars 15 forks source link

linker issue with ldc 1.1.0 on windows #46

Closed WebFreak001 closed 7 years ago

WebFreak001 commented 7 years ago
C:\Users\Charlie Quigley\Desktop\workspace-d>install

C:\Users\Charlie Quigley\Desktop\workspace-d>dub run :installer -- .
Building package workspace-d:installer in C:\Users\Charlie Quigley\Desktop\workspace-d\installer\
Performing "debug" build using dmd for x86.
workspace-d:installer 2.7.2+commit.2.g3dc0bef: target for configuration "application" is up to date.
To force a rebuild of up-to-date targets, run again with --force.
Running .\installer\iworkspaced.exe .
Welcome to the workspace-d installation guide.
Make sure, you have dub and git installed.

LDC is required on your platform!

Which optional dependencies do you want to install?
[1] DCD - auto completion
[2] DScanner - code linting
[3] dfmt - code formatting
Enter a comma separated list of numbers
Selected [all]:
Using existing git repository for workspace-d
Compiling...
$ dub upgrade
Upgrading project in C:\Users\Charlie Quigley\Desktop\workspace-d
$ dub build --compiler=ldc2 --combined --build=release
Performing "release" build using ldc2 for x86.
workspace-d 2.7.2+commit.2.g3dc0bef: building configuration "application"...
..\..\AppData\Roaming\dub\packages\dub-1.1.0-beta.1\source\dub\internal\sdlang\lexer.d(16): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
source\app.d(145): Deprecation: workspaced.com.dub.object is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dub.core is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dub.std is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dub.workspaced is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dub.dub is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dub.BuildIssue is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dub.DubPackageInfo is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.object is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.std is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.core is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.painlessjson is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.workspaced is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.DCDServerStatus is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.DCDIdentifier is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dcd.DCDSearchResult is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dfmt.object is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dfmt.std is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dfmt.core is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dfmt.painlessjson is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dfmt.workspaced is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.object is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.std is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.core is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.painlessjson is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.workspaced is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.DScannerIssue is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.OutlineTreeNode is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dscanner.DefinitionElement is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.object is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.std is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.core is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.painlessjson is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.workspaced is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.LocationType is not visible from module app
source\app.d(145): Deprecation: workspaced.com.dlangui.LocationInfo is not visible from module app
source\app.d(145): Deprecation: workspaced.com.fsworkspace.object is not visible from module app
source\app.d(145): Deprecation: workspaced.com.fsworkspace.std is not visible from module app
source\app.d(145): Deprecation: workspaced.com.fsworkspace.workspaced is not visible from module app
..\..\AppData\Roaming\dub\packages\dub-1.1.0-beta.1\source\dub\compilers\utils.d(92): Deprecation: dub.compilers.buildsettings.array is not visible from module utils
Using Visual Studio: C:\Program Files (x86)\Microsoft Visual Studio 14.0\
dub.internal.vibecompat.core.log.obj : error LNK2019: unresolved external symbol _D3std9exception106__T12errnoEnforceTbVAyaa36_433a2f6c6463322f62696e2f2e2e2f696e636c7564652f645c7374645c737464696f2e64Vmi850Z12errnoEnforceFNfbLAyaZb referenced in function _D3dub8internal10vibecompat4core3log12__T3logTAyaZ3logFNbE3dub8internal10vibecompat4core3log8LogLevelAyaLAyaZv
dub.internal.vibecompat.core.file.obj : error LNK2019: unresolved external symbol _D3std9exception107__T12errnoEnforceTbVAyaa36_433a2f6c6463322f62696e2f2e2e2f696e636c7564652f645c7374645c737464696f2e64Vmi1041Z12errnoEnforceFNfbLAyaZb referenced in function _D3dub8internal10vibecompat4core4file9RangeFile7readAllMFZAh
.dub\build\application-release-windows-x86-ldc_0-5DBFD940DC7CF345E2146464AF1E319E\workspace-d.exe : fatal error LNK1120: 2 unresolved externals
Error: `C:\WINDOWS\system32\cmd.exe /s /c "C:\ldc2\bin\amd64.bat link.exe"` failed with status: 1120
ldc2 failed with exit code 1120.
Error while compiling workspace-d.
Program exited with code 1

See https://github.com/Pure-D/workspace-d/issues/42

WebFreak001 commented 7 years ago

aka "dub fix your shit pls" dlang/dub#952 Pure-D/code-d#80