Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with ldc2-07b7abef-windows-x64.7z , errors on build #1

Open
truedat101 opened this issue Jan 26, 2018 · 2 comments
Open

Building with ldc2-07b7abef-windows-x64.7z , errors on build #1

truedat101 opened this issue Jan 26, 2018 · 2 comments

Comments

@truedat101
Copy link

On Windows 10: ldc2-07b7abef-windows-x64.7z

Using build instructions provided:

source\dmagick\Color.d(122,41): Error: std.math.rndtol called with argument types (const(ushort)) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\Color.d(122,61): Error: std.math.rndtol called with argument types (const(ushort)) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\Color.d(122,83): Error: std.math.rndtol called with argument types (const(ushort)) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\Color.d(124,45): Error: std.math.rndtol called with argument types (const(ushort)) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\Color.d(124,65): Error: std.math.rndtol called with argument types (const(ushort)) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\Color.d(124,87): Error: std.math.rndtol called with argument types (const(ushort)) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\Color.d(124,108): Error: std.math.rndtol called with argument types (int) matches both:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1610,6):     std.math.rndtol(real x)
and:
E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\std\math.d(1616,6):     std.math.rndtol(float x)
source\dmagick\internal\Windows.d(48,37): Error: function core.sys.windows.winuser.LoadIconA (void*, const(char)*) is not callable using argument types (typeof(null), wchar*)
source\dmagick\internal\Windows.d(49,39): Error: function core.sys.windows.winuser.LoadCursorA (void*, const(char)*) is not callable using argument types (typeof(null), wchar*)
source\dmagick\internal\Windows.d(54,22): Error: function core.sys.windows.winuser.RegisterClassA (const(WNDCLASSA)*) is not callable using argument types (WNDCLASSW*)
FAIL .dub\build\library-release-windows-x86_64-ldc_2077-96419BF5315FFA356DF373493E5016B0\ qrcode staticLibrary
ldc2 failed with exit code 1.
@zoujiaqing
Copy link
Member

I added dmagick depen library.

@truedat101
Copy link
Author

Thank you. Per rebuild, I hit this error:

Performing "release" build using ldc2 for x86_64.
qrcode 1.4.0+commit.1.g1def9da: building configuration "library"...
ldc2 -lib -of.dub\build\library-release-windows-x86_64-ldc_2077-250AED1DE9422B78FF6097845FC94843\qrcode.lib -release -enable-inlining -Hkeep-all-bodies -O3 -w -oq -od=.dub/obj -d-version=Have_qrcode -d-version=Have_dmagick -Isource -I..\..\..\AppData\Roaming\dub\packages\dmagick-0.2.1\dmagick\dmagick source\qrcode\common\bitarray.d source\qrcode\common\bitmatrix.d source\qrcode\common\bitutils.d source\qrcode\common\characterseteci.d source\qrcode\common\ecblocks.d source\qrcode\common\errorcorrectionlevel.d source\qrcode\common\formatinformation.d source\qrcode\common\mode.d source\qrcode\common\qrcodeversion.d source\qrcode\common\reedsolomoncodec.d source\qrcode\datatypesinterface.d source\qrcode\encoder\blockpair.d source\qrcode\encoder\bytematrix.d source\qrcode\encoder\encoder.d source\qrcode\encoder\maskutil.d source\qrcode\encoder\matrixutil.d source\qrcode\encoder\qrcode.d source\qrcode\package.d source\qrcode\qrcodewriter.d source\qrcode\renderer\color\cmyk.d source\qrcode\renderer\color\colorinterface.d source\qrcode\renderer\color\gray.d source\qrcode\renderer\color\rgb.d source\qrcode\renderer\image\abstractrender.d source\qrcode\renderer\image\decorator\decoratorinterface.d source\qrcode\renderer\image\decorator\finderpattern.d source\qrcode\renderer\image\eps.d source\qrcode\renderer\image\png.d source\qrcode\renderer\image\svg.d source\qrcode\renderer\rendererinterface.d source\qrcode\renderer\text\html.d source\qrcode\renderer\text\plain.d source\qrcode\utils.d -vcolumns
source\qrcode\renderer\image\png.d(6,8): Error: module Image is in file 'dmagick\Image.d' which cannot be read
import path[0] = E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import\ldc
import path[1] = E:\dev\tools\ldc2-07b7abef-windows-x64\bin\..\import
import path[2] = source
import path[3] = ..\..\..\AppData\Roaming\dub\packages\dmagick-0.2.1\dmagick\dmagick
FAIL .dub\build\library-release-windows-x86_64-ldc_2077-250AED1DE9422B78FF6097845FC94843\ qrcode staticLibrary
ldc2 failed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants